Re: Site masking from GoDaddy.com

2007-08-07 Thread Marlon Moyer
The site masking is no more than a frameset from the original site
with a src attribute of the new site.

On 8/7/07, Dave  Hatz [EMAIL PROTECTED] wrote:
 I am not even sure site masking is the correct term, but let me see if I 
 can explain what is happening.  I have a client with a URL like this 
 http://www.mywebsite.com/clientname but he doesn't like that name, so he goes 
 out to GoDaddy.com and gets a new site, http://www.clientswebsite.com/  which 
 points to http://www.mywebsite.com.

 We are using CF7.02 for this site.  We set some session variables on the home 
 page and the client navigates through the site.  All works fine if he hits 
 our site 1st, but if  he hits the site using the masked named, the session 
 variables are getting dropped and the site is fubar.

 Hopefully I have explained the problem well enough.  Can someone clue me in 
 on what is happening when the site is coming from GoDaddy's domain name?

 Thanks,
 Dave Hatz

 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285660
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Licensing on frameworks for Re-sale?

2007-05-11 Thread Marlon Moyer
That's going to open up a whole can of worms when the client tries to
use a version of the framework you haven't tested on.  Best to somehow
package the framework with your product.


On 5/11/07, Damien McKenna [EMAIL PROTECTED] wrote:
 How about either a) writing an installer that pulls down the latest code
 and installs it (most of them will work from the application root
 directory), or b) writing installation instructions that explains that
 the client first needs to install the separate components?


 Damien McKenna
 Web Developer

 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277850
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: QofQ to get a limited set of rows

2007-05-11 Thread Marlon Moyer
simple?  not really, but here's one way

cfquery .etc
Select * from my normal database
/cfquery

cfset offset=20 #get results 20 ~ 29
cfset limit=10

cfquery dbtype=query maxrows = #((offset-1)+limit)# name=q1 
select * from dbtable order by some_field
/cfquery

cfquery dbtype=query maxrows = #limit# name=q2
select * from q1 order by some_field desc
/cfquery

cfquery dbtype=query name=q3
select * from q2 order by some_field
/cfquery

On 5/11/07, Michael Dinowitz [EMAIL PROTECTED] wrote:
 Lets say I have a query that returned 100 items. I'd like to do a query of 
 queries to create a query that is only items 11-20. Does anyone know a simple 
 way of doing this or  do I have to create a new query and populate it using a 
 loop?

 Thanks

 

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277863
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Adobe CS3 Web Edition leaves me wanting, moving to Eclipse! W AS (RE: Frameworks)

2007-05-10 Thread Marlon Moyer
You could always use SVK to check out the project from your subversion
repo.  SVK doesn't use the .svn directory approach and in essence
looks like an exported version of the project.


On 5/9/07, Andrew Scott [EMAIL PROTECTED] wrote:
 Thats why tools like Beyond Compare is good, you only migrate the files or
 merge what has changed.

 But I still wouldn't modify code on production, or even SVN production code.
 the reason being is that you also end up with all the svn directories there
 as well.

 But hey if it works for you... I just frown upon the idea that you are doing
 it this way, and DO NOT consider what you do, to be best practice at all.



 On 5/10/07, Russ [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: Andrew Scott [mailto:[EMAIL PROTECTED]
   Cool,
  
   Still curious why Russ trunks a production server...
  
  
 
  We have a fairly large codebase, and it takes a while to check it all out.
  If I'm doing a small change (lets say a spelling change, etc).  I can just
  go into that folder and do an update and it will take only a second or
  two.
  Or I can even do an update of the whole source tree, and it will still not
  take very long.
 
  I really don't see the point of exporting a whole fresh copy of the code
  just for a simple change.  Even for larger changes svn update would be
  much
  more efficient then exporting a new copy of the code.
  We also use FRS to replicate the files between cluster members, and if I
  were to export the whole code tree, it would have to sync every file to
  the
  other cluster members.
 
  Obviously developing straight on production is a no-no... but if there's
  an
  emergency, I can either roll back to an older revision, or fix the code in
  place and then commit it straight from production.
 
  With all these benefits, I don't see why you wouldn't trunk to production.
 
  If you're talking about why we use trunk instead of a branch, that's just
  a
  decision we've made that works for us.  Trunk is always the latest stable
  code that's on production, and it makes making small changes easy.  As I
  mentioned, for larger changes we use branches which get merged into trunk
  once they've passed QA.
 
  Russ
 
 
 
 
 

 

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277659
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Parsing an XML object from Flex

2007-03-29 Thread Marlon Moyer
how are you passing it into cf?  Are you using xml parse first to
convert it to an xml doc?

On 3/29/07, Rick Root [EMAIL PROTECTED] wrote:
 I'm having a problem parsing some XML that is being passed in from a Flex
 application.

 It looks like this:

 advanceReport type=bio
 recordTypes match=any
 recordType type=AL
 qualifications
 schoolsschoolT/schoolschoolWC/school/schools
 /qualifications
 /recordType
 /recordTypes
 /advanceReport

 Now, I've got some code that converts such an XML object to a struct... it
 works fine when I use cfxml to create the XML object, but I seem to get
 errors when taking the XML object passed in from Flex.

 For example,

   cfdump var=#xmldoc#
   cfdump var=#xmldoc.advanceReport#

 The dump of the document itself looks exactly the same..  you can see it
 here...

 http://www.it.dev.duke.edu/public/xmlprob.htm

 But the attempted dump of #xmldoc.advanceReport# (which works fine in the
 above page), causes an error coming from Flex that says ADVANCEREPORT is not
 defined in XMLDOC.

 What's going on here?

 Rick
 --
 CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
 http://www.cfmbb.org


 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274098
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Virus protection

2007-03-16 Thread Marlon Moyer
I've been moving all my home pc's over to this one.

http://www.activevirusshield.com/antivirus/freeav/index.adp?

It's the free version of Kaspersky backed by AOL.

On 3/16/07, Peterson, Chris [EMAIL PROTECTED] wrote:
 Hard core coders use Coldfusion and event gateways for virus protection.
 =)


 -Original Message-
 From: Will Tomlinson [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 16, 2007 9:43 AM
 To: CF-Talk
 Subject: OT: Virus protection

 Since AVG isn't free anymore, what do you guys use for virus protection?

 And don't say Vista! lol!!  :)

 Will



 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272814
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Big SQL security hole at Crystaltech?

2006-05-09 Thread Marlon Moyer
What I have seen happen a lot is people switch to Linux because they hate
windows.  Everything is up and running fine for them but they do not invest
the proper time to learn how to maintain the box to keep aware of security
patches.  Now you have an OS with multiple services from multiple open
source projects and anyone of those can end up having a security exploit
that some 12 year old will use to own the box and the admin may never even
know the kid is in there.  Windows certainly gets more than its fair share

this seems like it's going to boil down to a my os is better than your os 
debate!  But really, how is this any different that a 12 year old exploiting 
windows security exploits.  Just because the packages come from different 
places and different authors doesn't mean that they're any more or less secure. 
 


of exploits but it just seems like with the typical weekend sysadmin that
the process to alert people of exploits and fixes for them is much better in
the windows world.


Just wait for a couple more zero-day exploits to occur and then it really won't 
matter how good their notification is.  I think it all comes down to the 
security base of the system and Win32 wasn't designed from the ground up as a 
secure multi-user system.

On 5/9/06, Snake [EMAIL PROTECTED] wrote:


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239940
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CF Server stops without a whisper

2005-12-09 Thread Marlon Moyer
I'm trying to run an application that generates several thousand
reports.  It's been running flawlessly for around a year now, but
suddenly CF just seems to be shutting down.  After about 50 reports,
CF just stops responding and will only serve this up for any cf
template:

 P B P B P B P B P B P B P B P B P
B P B P B P B P B P ./B

Even the CF administrator will come up like this.  There are now
entries in the log files indicating a problem, and after a minute or
so, CF will start responding again, but all application vars will be
reset and I have to start from the first page of the application.


--
Marlon

A spaceman came travelling on his ship from afar,
'twas light years of time since his mission did start,
And over a village he halted his craft,
And it hung in the sky like a star, just like a star...
--Chris De Burgh, A Spaceman Came Travelling

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226669
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Server stops without a whisper

2005-12-09 Thread Marlon Moyer
Thanks,  I was able to find the error in the jrun logs.  Now I just
have to translate just what the h3ll it means.


On 12/9/05, Damien McKenna [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Marlon Moyer [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 09, 2005 11:51 AM
  To: CF-Talk
  Subject: CF Server stops without a whisper
 
  I'm trying to run an application that generates several thousand
  reports.  It's been running flawlessly for around a year now, but
  suddenly CF just seems to be shutting down.

 Check your logs:

 http://mkruger.cfwebtools.com/index.cfm?mode=entryentry=A98FC11A-D423-2
 C94-321969FEDED489F4

 --
 Damien McKenna - Web Developer - [EMAIL PROTECTED]
 The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
 #include stdjoke.h


 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226673
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Server stops without a whisper

2005-12-09 Thread Marlon Moyer
I gave up on decoding it when I realized that if I put a 1 second
pause between pages they error went away.


On 12/9/05, Howard Fore [EMAIL PROTECTED] wrote:
 On 12/9/05, Marlon Moyer [EMAIL PROTECTED] wrote:
 
  Thanks,  I was able to find the error in the jrun logs.  Now I just
  have to translate just what the h3ll it means.
 

 What does it say?

 --
 Howard Fore, [EMAIL PROTECTED]


 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226680
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Virtual Directories under CF7 Developer

2005-12-08 Thread Marlon Moyer
Wally,

You need to go to Start-Run-Type services.msc.

Scroll down and find the Coldfusion MX 7 Application Server.

Dbl Click it and select the Logon tab.

Yours should have Local System Account checked.

What you want to do from here is use an account that has access to
network resources.  It might be your own login, it might be something
that your company will specify.  It will have to be a login that has
enough privileges that CF will run under it.  So if your login on that
machine is a 'standard user' and not a 'power user' or 'administrator'
I wouldn't try using your own login.


On 12/8/05, Wally Randall [EMAIL PROTECTED] wrote:
 I am running on Windows XP Pro.  How do I set CF up running as a user as you 
 suggest?  Where is some documentation on that?

 If you have CF running as local system, it will not see your network drives.
 You will need to set up cf running as a user, and make sure that that user
 has the drive mapping and appropriate access.  You can have it run as you,
 but you will see the command prompt window when jrunsvc starts.
 
 
 
 -Original Message-
 From: Wally Randall [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 07, 2005 12:56 PM
 To: CF-Talk
 Subject: Re: Virtual Directories under CF7 Developer
 
 Marlon,
 
 The virtual mapping seems to work OK for mapping to my local C:\ drive but
 not to a network mapped drive (ie: P:\PMNS\devwebsite\ ).  Is the CF
 Website restricted to the local machine or do I need to provide a different
 mapping for network drives?
 
 
  virtual-mapping
 
  resource-path/*/resource-path
 
  system-pathC:/inetpub/wwwroot//system-path
 
  /virtual-mapping
 
 
  virtual-mapping
 
  resource-path/CFIDE/*/resource-path
 
  system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path
 
  /virtual-mapping
 
 
  virtual-mapping
 
  resource-path/cfdocs/*/resource-path
 
  system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path
 
 Travelling

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226550
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Virtual Directories under CF7 Developer

2005-12-07 Thread Marlon Moyer
On 12/7/05, Wally Randall [EMAIL PROTECTED] wrote:
 1.  Can I set-up virtual directories to development websites on a server from 
 the CF built-in webserver?  I want to map to sites on a server with CM 
 management but cannot figure out how to do this from the built-in server.


Yes you can.  You'll need to edit your jrun-web.xml file.  It should
be located in #MXInstall#\wwwroot\web-inf\ directory.

These are the entries I have set up so that I can use a different
web-root than the standard #MXInstall#\wwwroot directory.

 virtual-mapping
resource-path/*/resource-path
system-pathC:/inetpub/wwwroot//system-path
  /virtual-mapping

  virtual-mapping
resource-path/CFIDE/*/resource-path
system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path
  /virtual-mapping

  virtual-mapping
resource-path/cfdocs/*/resource-path
system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path
  /virtual-mapping


Just set up other directories in the same fashion.  BTW, the CFMX
server is case-sensitive on Win32 regarding virtual directories.



--
Marlon

A spaceman came travelling on his ship from afar,
'twas light years of time since his mission did start,
And over a village he halted his craft,
And it hung in the sky like a star, just like a star...
--Chris De Burgh, A Spaceman Came Travelling

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226414
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: JSON

2005-12-06 Thread Marlon Moyer
I ended up changing the JSONEncode function from CFLIB to create this form:

errors:{}

still, js doesn't really like this much either, but it will still
parse it.  I won't give you a length property as in
alert(rtn.errors.length); so I ended up just sending a total error
count property also.


On 12/5/05, Jim Davis [EMAIL PROTECTED] wrote:
  -Original Message-
  From: Marlon Moyer [mailto:[EMAIL PROTECTED]
  Sent: Monday, December 05, 2005 7:27 PM
  To: CF-Talk
  Subject: OT: JSON
 
  I'm trying to return a structure of errors to my Ajax call.  If there
  are no errors, it will return an empty structure called errors.  The
  eval'ing this string {errors:{null}} causes javascript to barf.
  Is this the right format for JSON to represent an empty structure?

 I wouldn't think so.

 Remember that JSON doesn't actually define anything really: all JSON is
 normal, everyday, plain-jane JavaScript literal notation.  Nothing more,
 nothing less.

 The braces represent an object and that's your problem.  What your string is
 saying is that you have an object and that object has a property called
 errors which is also an object and THAT object has a property called
 null which is illegal.

 You can't define the outer name of an object in JSON (or really in
 anything) since it has to be assigned to a variable in the caller but to get
 close to what you want you would need something like this (this is from
 memory so don't take it at face value):

 {errors:null}

 or

 {errors:{}}

 I think the latter is closest to what you're looking for.

 Jim Davis



 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226190
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


The be-all-end-all of email regex's

2005-12-06 Thread Marlon Moyer
Anyone have a regex that will validate email addresses that look like such:

[EMAIL PROTECTED]
Me Here [EMAIL PROTECTED]

and also be able to validate multiple email addy's at once like:

[EMAIL PROTECTED], Me Here [EMAIL PROTECTED], [EMAIL PROTECTED]

Thanks



--
Marlon

A spaceman came travelling on his ship from afar,
'twas light years of time since his mission did start,
And over a village he halted his craft,
And it hung in the sky like a star, just like a star...
--Chris De Burgh, A Spaceman Came Travelling

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226346
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: JSON

2005-12-05 Thread Marlon Moyer
I'm trying to return a structure of errors to my Ajax call.  If there
are no errors, it will return an empty structure called errors.  The
eval'ing this string {errors:{null}} causes javascript to barf. 
Is this the right format for JSON to represent an empty structure?

Thanks


--
Marlon

A spaceman came travelling on his ship from afar,
'twas light years of time since his mission did start,
And over a village he halted his craft,
And it hung in the sky like a star, just like a star...
--Chris De Burgh, A Spaceman Came Travelling

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226133
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image Saving

2005-11-21 Thread Marlon Moyer
On 11/21/05, Mark Leder [EMAIL PROTECTED] wrote:
 Great points.

  You might consider some zip/unzip routines...

 I completely overlooked using zip. :o/

zipping images, particularily jpgs, won't net you any kind of space savings.




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224829
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image Saving

2005-11-21 Thread Marlon Moyer
On 11/21/05, Claude Schneegans [EMAIL PROTECTED] wrote:
  I've read about saving images as BLOBs inside MS-SQL.  Are there any
 advantages or pitfalls to doing it this way?

 It is generally not considerd as a good idea to use a database to store
 images.
 The file management system in the operation is also a kind of database,
 especially made to store
 and retreive files.
 The reason database systems have been designed is that they allow for
 information searching and sorting.
 But there is nothing to search and sort in an image, so the file
 management system is much better suited for this
 kind of task.
 Using the database engine will just have a bad impact on the overall
 performance, for no advantage.


I wouldn't say that there's no advantage.  Having one database with
all the image data could easily be used by two or more servers.  The
best solution imho, albeit the largest disk space, would be to have
images stored in the database with caching provided by the file
system.  Especially if you have a lot of images being uploaded or
modified.  This way, you have your source code backup and you have
your database backup.  Should your server fry, you don't also have to
have an image folder backup also.



 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.


 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224844
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image Saving

2005-11-21 Thread Marlon Moyer
On 11/21/05, Claude Schneegans [EMAIL PROTECTED] wrote:
  I wouldn't say that there's no advantage.  Having one database with
 all the image data could easily be used by two or more servers.

 You can do exactly the same with just files in the servers directory system.

So set up another server with a shared directory for files?  That's
just one more piece of hardware.

   The best solution imho, albeit the largest disk space, would be to have
 images stored in the database with caching provided by the file
 system.

 Then you would have the images read from the database and cached in the
 file system?
 So why not simply put them in the file system from the begining?


portability.  Keep the original in the database.  Need a thumbnail
120x120, generate on the fly and cache on the file system.  After
umpteen people request different thumbnail sizes, you could flush the
cache by deleting a directory.  You'll still have the originals in the
db.

  This way, you have your source code backup and you have
 your database backup.

 The file system also has back up.

Yes, one more backup to maintain

  you don't also have to have an image folder backup also.

 Folders and files back up can much more efficient than database backup.
 Intelligent system will back up only
 files that have been modified. Database back up are most of the time not
 that selective.


We backup transactions all of the time here.

 Many people beleive that database are some sort of panacea that can
 handle everything.
 Don't forget that a file system is a much more efficient database system
 than any other,
 when only files and not their content is involved.

Then why is microsoft moving towards a database file system?  I think
the reasoning is that it's much more 'efficient' to keep your metadata
and file data together and not in separate storage mechanisms.  I'm
not saying that you're not correct in your reasoning.  I'm just saying
that there are advantages to storing blobs in a database.  One of the
biggest for me happens to be security.  I can easily restrict access
to image data since I don't have to also mess with the file
systems/web servers security settings also.  I can look at a column
that's maybe labeled 'restricted' and abort the transfer if it's
marked true.  How easy would that be with a file system?





 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.


 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224897
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image Saving

2005-11-21 Thread Marlon Moyer
ok, I'm going to fall back to the age old argument... If you're so
concerned about effieciency, why are you using coldfusion? 
Seriously, it seems like you're saying the file system is the
'panacea' for everything.  What I'm trying to say is use the right
tool for the job, be it file system or database.  They both have
pluses and minuses.

On 11/21/05, Claude Schneegans [EMAIL PROTECTED] wrote:
  So set up another server with a shared directory for files?  That's
 just one more piece of hardware.

 I did'nt say I was in favor, just that if this is what you want to do,
 it does not justify using a database server.

  you could flush the cache by deleting a directory.  You'll still have
 the originals in the db.

 You don't need a db to do that. You can do exactly the same with the
 system file manager.

Yes, you could, it's more work, but you could.


   The file system also has back up.

 Yes, one more backup to maintain

 Are you saying that you are runing your application on a server that
 does nor back up its files anyway ?

The way I have my backups set up is that I have the code base backed
up one way and the data (in a database) backed up another.  I don't
mix code base and dynamic data in a backup.


  Then why is microsoft moving towards a database file system?

 Simply because the SELL a database system ;-)

It's going into their operating system

   I think the reasoning is that it's much more 'efficient' to keep
 your metadata
 and file data together and not in separate storage mechanisms.

 You must be forgeting that tha database system itself is using the same
 file manager system anyway.

Not necessarily.  I remember setting Oracle up in it's own raw hard
drive space where it created it's own native file system.  Definitely
faster than going through fat and more extensible.

 The database system is just an extra layer that provides many advantages
 compared to the standard
 file system manager. The point is that if you need none of these
 advantages, you just don't need the layer.

The same could be said of CF.  You could definitely do everything in C
that you can do in CF, so why do you need that extra layer.




  How easy would that be with a file system?

 Well, if the files are in some directory only viewable by CF, where is
 the problem?


Of course then your stuck with typing up CF threads to serve the
file...not very efficient either.



 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.


 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224907
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image Saving

2005-11-21 Thread Marlon Moyer
If that were the only feature that didn't make it, I might consider
that a reason.  As it stands, I think they bit off more than they
could chew and probably had compatibility problems so they dropped
features to make the release date.



On 11/21/05, Munson, Jacob [EMAIL PROTECTED] wrote:
  Then why is microsoft moving towards a database file system?  I think
  the reasoning is that it's much more 'efficient' to keep your metadata
  and file data together and not in separate storage mechanisms.

 And why has it taken them years to develop this, it's still not done, it
 was supposed to be in Longhorn (Windows Vista) but won't be because it
 won't be done in time?  I don't know, but I suspect it's because they
 haven't been able to make it efficient yet.



 


 [INFO] -- Access Manager:
 This transmission may contain information that is privileged, confidential 
 and/or exempt from disclosure under applicable law.  If you are not the 
 intended recipient, you are hereby notified that any disclosure, copying, 
 distribution, or use of the information contained herein (including any 
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
 in error, please immediately contact the sender and destroy the material in 
 its entirety, whether in electronic or hard copy format.  Thank you.   A2



 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224914
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image Saving

2005-11-21 Thread Marlon Moyer
no exceptions huh?

On 11/21/05, Claude Schneegans [EMAIL PROTECTED] wrote:
  What I'm trying to say is use the right
 tool for the job, be it file system or database.

 This is exactly my point: use a database for data, the file system for
 files.
 And an image is a file, not data.

 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.


 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224934
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: rss feed

2005-11-15 Thread Marlon Moyer
Daniel,

On 11/15/05, daniel kessler [EMAIL PROTECTED] wrote:
 cfsetting enablecfoutputonly=true/
 cfsetting showdebugoutput=false/

Insert your processing code here.  You don't have to use cfscript
syntax.  Just put a cfsavecontent variable=feed tagset around
anything you're outputting.

 cfcontent type=text/xml
 cfscript
 writeoutput(feed); /cfscript


If the cfscript syntax is confusing, you can always do:

cfcontent type=-content/type
cfoutput#feed#/cfoutput

The trick is to make sure that CF doesn't generate whitespace at the
top of your rss feed.  That will usually kill a service that consumes
your rss feed.  That's what the cfsetting enablecfoutputonly=true at
the top does.  Only things within a cfoutput tag will be displayed.




 ok I'm having trouble with this.  I don't know how to use the database 
 information within cfscript.  I can't use cfoutput query=retrieve_xml.  I 
 tried a FOR loop, using ECMA but that didn't seem to work.  Just not sure 
 where to go from here.
 Also, it doesn't seem to ask for a file name anywhere so how does it know 
 where it goes?  I'd usually put that in the cfcontent tag.  Should I add that 
 to the above code?

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224198
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: rss feed

2005-11-15 Thread Marlon Moyer
Daniel,

To debug it, change text/xml to text/plain.  In the
cfoutput#header#/cfoutput change it to
cfoutput#retrieve_xml#/cfoutput


The errors you're receiving right now are because the browser is
expecting a nicely formatted xml packet.  I'm not sure what you've got
#header# set to right now, but it's probably not valid xml.  Once you
change the doctype in the cfcontent command, you should be able to
view, directly in the browser, what's being generated.




On 11/15/05, daniel kessler [EMAIL PROTECTED] wrote:
 I did find a way to get myself another error (that sounds more promising):
 error on line 1 at column 10: Comment must not contain '--' (double-hyphen)

 I used this:

 cfquery name=retrieve_xml datasource=dpch
 SELECT header FROM whats_new
 /cfquery

 cfsetting enablecfoutputonly=true/
 cfsetting showdebugoutput=false/

 cfsavecontent variable=retrieve_xml
 cfoutput
 #header#
 /cfoutput
 /cfsavecontent
 cfcontent type=text/xmlcfoutput query=retrieve_xml#header#/cfoutput

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224237
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: CSS width in NS 7

2005-11-15 Thread Marlon Moyer
by default labels are inline elements which shouldn't follow the width
declaration.  In your css you can set up the following:

style
label {display:block;float:left;}
/style

Then all the labels will follow the width declaration.  Of course, you
open a whole new can of worms with the float :)


On 11/15/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Hey All,

 Sorry for the OT...but yer a smart bunch ;-)

 THE CODE:
 fieldset

 legendstrongGrouped things/strong/legend

 div style=display: block; margin: 5px; padding: 5px; width: 100%;
   label for=input1 class=NormalTextGrey style=width: 100px;Prompt 
 1/label
   input type=text name=input1 id=input1 /
   label for=input2 class=NormalTextGrey style=width: 100px;Prompt 
 text 2/label
   input type=text name=input2 id=input2 /
   br
   label for=input3 class=NormalTextGrey style=width: 100px;Prompt 
 text 3/label
   input type=text name=input3 id=input3 /
   !--- span style=width: 100px;Prompt 4/span ---
   label for=input4 class=NormalTextGrey style=width: 100px;Prompt 
 4/label
   input type=text name=input4 id=input4 /
   br
   label for=input5 class=NormalTextGrey style=width: 100px;Prompt 
 text 5/label
   input type=text name=input5 id=input5 /
   label for=input6 class=NormalTextGrey style=width: 100px;Prompt 
 text 6/label
   input type=text name=input6 id=input6 /
 /div

 /fieldset

 THE PROBLEM:

 The  style=width: 100px; is totally ignored in NS 7 but fine in IE 6 and 
 Opera 7+.  So instead of inputs all left justified, I get them staggered 
 depending upon the length of the prompt text (basically like collapsing cells 
 in a  table)...looks awful.

 Any tips?

 TIA

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224241
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: CSS width in NS 7

2005-11-15 Thread Marlon Moyer
here's a link to accompany my answer:

http://www.quirksmode.org/css/forms.html


On 11/15/05, Marlon Moyer [EMAIL PROTECTED] wrote:
 by default labels are inline elements which shouldn't follow the width
 declaration.  In your css you can set up the following:

 style
 label {display:block;float:left;}
 /style

 Then all the labels will follow the width declaration.  Of course, you
 open a whole new can of worms with the float :)


 On 11/15/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
  Hey All,
 
  Sorry for the OT...but yer a smart bunch ;-)
 
  THE CODE:
  fieldset
 
  legendstrongGrouped things/strong/legend
 
  div style=display: block; margin: 5px; padding: 5px; width: 100%;
label for=input1 class=NormalTextGrey style=width: 100px;Prompt 
  1/label
input type=text name=input1 id=input1 /
label for=input2 class=NormalTextGrey style=width: 100px;Prompt 
  text 2/label
input type=text name=input2 id=input2 /
br
label for=input3 class=NormalTextGrey style=width: 100px;Prompt 
  text 3/label
input type=text name=input3 id=input3 /
!--- span style=width: 100px;Prompt 4/span ---
label for=input4 class=NormalTextGrey style=width: 100px;Prompt 
  4/label
input type=text name=input4 id=input4 /
br
label for=input5 class=NormalTextGrey style=width: 100px;Prompt 
  text 5/label
input type=text name=input5 id=input5 /
label for=input6 class=NormalTextGrey style=width: 100px;Prompt 
  text 6/label
input type=text name=input6 id=input6 /
  /div
 
  /fieldset
 
  THE PROBLEM:
 
  The  style=width: 100px; is totally ignored in NS 7 but fine in IE 6 and 
  Opera 7+.  So instead of inputs all left justified, I get them staggered 
  depending upon the length of the prompt text (basically like collapsing 
  cells in a  table)...looks awful.
 
  Any tips?
 
  TIA
 
  Cheers
 
  Bryan Stevenson B.Comm.
  VP  Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  phone: 250.480.0642
  fax: 250.480.1264
  cell: 250.920.8830
  e-mail: [EMAIL PROTECTED]
  web: www.electricedgesystems.com
 
  

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224243
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: interesting cfqueryparam activity

2005-11-14 Thread Marlon Moyer
I think it has to do with the fact that using queryparam makes CF
generate a prepared statement.  If you do a profile of what statements
actually get sent to the database when using queryparam you'll notice
a lot more than just sql in it.  On sqlserver what gets passed is
actually t-sql where parameter values are declared by type and then
the sql statement is passed and then the parameter values.


On 11/14/05, Ryan Guill [EMAIL PROTECTED] wrote:
 Hey guys,

 This isn't so much a question as a discussion.  We are using cfmx 7
 with an iseries (v.5r2) as/400 box, through a client access odbc
 driver.  Now, this isn't your run of the mill iseries, its a very
 beefy box with quad processors and a ton of memory (5gigs I think).
 We have used cfqueryparam everywhere throughout our applications with
 no problems, its always very fast.

 But today we were working on just going through some of the sql
 statements, especially ones that are going to be run more frequently
 and seeing if we can clean them up any.  There is a tool that comes
 with client access that is a query analyzer that gives us times and
 other information about each query.  so we were copying the queries
 into the analyzer and replacing the queryparams with hardcoded values
 and just tweaking on things.  We started to find some queries that
 were running considerably faster in the analyzer than they were
 actually running the cfquery in coldfusion.  Now granted, were talking
 about tens of milliseconds here, but it was a noticable difference in
 averages of those times.

 What we found was that some of our simpler statements, for instance
 where we were pulling from a single file, we're sometimes 20
 milliseconds faster on average without the queryparam than with it.
 Now if we ran the same thing comparing some more complex statements
 the difference switched, the cfqueryparam was considerably faster than
 without.  But for simple statements, it seems like not using
 cfqueryparam is much faster.

 This isn't a big deal, but just wondered if anyone had any ideas why
 we are seeing those differences.  I have always heard and understood
 that anytime you can use cfqueryparam that you should.  And I do
 realize that the queryparam also does type checking on the variables
 being passed through it and protects against sql injection and all
 that, but thats not really worry for this application.

 Any thoughts anyone?
 --
 Ryan Guill
 BlueEyesDevelopment
 [EMAIL PROTECTED]
 www.ryanguill.com
 (270) 217.2399
 got google talk?  Chat me at [EMAIL PROTECTED]

 The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com

 www.ryanguill.com/
 The Roman Empire: www.ryanguill.com/blog/

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224086
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: rss feed

2005-11-14 Thread Marlon Moyer
I've used this in the past for exporting only the information wanted
and no whitespace:

cfsetting enablecfoutputonly=true/
cfsetting showdebugoutput=false/
cfcontent type=text/xml
cfscript
writeoutput(stuff you want to output);
/cfscript


On 11/14/05, daniel kessler [EMAIL PROTECTED] wrote:
 I'm creating an RSS feed from our What's New database table.

 I've had problems using CFContent because there must not be any other content 
 on the page.  What I really want to do is after a SQL UPDATE or INSERT is 
 create the RSS xml file.

 Should I use CFContent or CFFile in this case?  Any tips are welcome.

 thanks and good afternoon (in my case).

 daniel

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224093
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: rss feed

2005-11-14 Thread Marlon Moyer
Nope, just insert your processing code as shown below and you should be fine.

On 11/14/05, daniel kessler [EMAIL PROTECTED] wrote:
 Since this is CFContent, I can only have the xml to export on the page, right?
 Currently I do other things on that page too and wasn't sure how to handle 
 it, so that's why I looked at CFFile at all.  CFContent has worked for me in 
 the past otherwise.

 I've used this in the past for exporting only the information wanted
 and no whitespace:
 
 cfsetting enablecfoutputonly=true/
 cfsetting showdebugoutput=false/

Do your processing here.

 cfcontent type=text/xml
 cfscript
 writeoutput(stuff you want to output);
 /cfscript
 
 
 On 11/14/05, daniel kessler [EMAIL PROTECTED] wrote:
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224105
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Truncated error

2005-11-14 Thread Marlon Moyer
my guess would be that it's trying to pass true or false as a
string and not a 0 or 1.  You might try to something like

cfset var updates = iif(arguments.updates,1,0)

Then use #updates# in your query.


On 11/14/05, Mike | NZSolutions Ltd [EMAIL PROTECTED] wrote:
 (I made this question a bit shorter !!)

 Hi guys,

 I am getting a strange error, below is a function that adds a cutomers
 details to a table

 cffunction name=add output=false access=public
 returntype=numeric
 ...
 cfargument name=updates type=boolean required=true

 !--- insert customer ---
 cfquery name=insertInfo datasource=#Request.App.dsn#
 password=#Request.App.DBpassword# username=#Request.App.DBusername#
 INSERT INTO address_book
 (...
 customer_updates)
 VALUES (
 ...,
 cfqueryparam cfsqltype=cf_sql_bit
 value=#arguments.updates#
 ) SELECT @@IDENTITY AS 'customer_id'
 /cfquery

 cfreturn insertInfo.customer_id/

   /cffunction

 The error I am getting is...

 [Macromedia][SQLServer JDBC Driver][SQLServer]String or binary data
 would be truncated. It is highlighting

 cfqueryparam cfsqltype=cf_sql_bit value=#arguments.updates# ??

 Now if the cfargument passes the variable ok, then why would the db
 throw an error?

 The column customer_updates is set to datatype = bit.

 Any help would be appreciated.

 mike





 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224137
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: More RAD than Ruby On Rails

2005-11-13 Thread Marlon Moyer
On 11/13/05, Sean Corfield [EMAIL PROTECTED] wrote:
 On 11/11/05, Mark Fuqua [EMAIL PROTECTED] wrote:
  I really can't believe Ruby would be/could be quicker than PLUM.

 Nor can I. RoR requires you manually generate controllers, models and
 scaffolding. If you want a nicely formatted page / form, you need to
 write it yourself since the defaults are ugly ass tables that don't
 really let you tweak them easily with CSS. PLUM does a lot more
 auto-generation so it's bound to be faster and I suspect the generated
 code is easier to modify visually.


ruby script\generate model User is all that is required to generate
a user model.  ruby script\generate scaffold User will generate the
model, controller, and all of the add/edit/delete/list templates.   
PLUM's autogeneration is a lot more automated, but the problem
starts when you've modified templates.  PLUM's autogeneration becomes
useless then unless you want to overwrite your changes.  Truthfully,
RoR's scaffolding isn't meant to be production code.  You're expected
to completely modify it.

 I'm glad to see someone who isn't foaming at the mouth about RoR! :)

 However, my voiced concerns about scalability (of applications) in
 regard to RoR also apply to PLUM. The automation in both of these
 'products' targets a specific type of data-entry application - a very
 common one, granted, but still a specific problem space. Once you get
 beyond that core problem space, you are back to writing code.

I would say it's probably the most common type of web app deployed today.

 Barney's already mentioned the cross-platform issues here so I won't
 belabor that.


RoR doesn't need any special editor other than notepad and a command line.

 My other complaint about PLUM (that is, technically,
 applicable to RoR) is that it doesn't play nice with your
 framework-of-choice.


Isn't that like saying Mach-II won't let you reuse your FBX circuit
files?  What framework does play nice with other frameworks?  PLUM and
RoR are frameworks.


 I think this just highlights the point about using the right tool for
 the job. I personally think RoR is totally over-hyped (and I feel
 David and Adam are a little too fervent about PLUM but, hey, they
 created it). I don't want to get into a(another) flame war about PLUM.
 If ever they port it to Java (or create a workable Mono version) and
 make it work with MySQL, I'll certainly try it - I try pretty much
 anything that will run on my platform so that I have plenty of tools
 at my disposal.

This isn't directed at you Sean since you seem to try everything at
least once, this thread seems to be the epitomy of not using the right
tool for the job.  Mark should try RoR instead of asking others about
how it compares to his choice, afterall, how will you know you're
using the correct tool if all you know is CF?

 --
 Sean A Corfield -- http://corfield.org/
 Got frameworks?

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224039
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Scope for XMLHttpRequest transmited data

2005-11-13 Thread Marlon Moyer
it should show up in the form scope.  Are you setting the request
header like such:

xmlhttp.setRequestHeader(Content-Type, application/x-www-form-urlencoded);


What's the calling function look like?  Are you using any of the
xmlHttp Ajax libraries?



On 11/13/05, Claude Schneegans [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to implement XMLHttpRequest in an application which send data
 to a CF template using the post method.
 The send function is:
 xmlhttp.send(messageSent= + messageToSend)
 The CF template is called, but in which scope will it receive the
 messageSent variable?
 I've tryied form, url, none, but can't find the content of this variable.

 Thanks

 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED])
 Thanks.


 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224045
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Ruby on Rails

2005-11-11 Thread Marlon Moyer
Correct, I don't plan on abandoning CF anytime soon.  I just figure
RoR is one more tool in my toolset.  It's also opened my eyes to
different ways of doing things.  I'd become so comfortable with CF, I
just always did things pretty much the same way.  At least now I
consider different ways :)




On 11/11/05, Barney Boisvert [EMAIL PROTECTED] wrote:
 I was considering using CF to serve the thumbnail a feature - they're
 access controlled. ; )  I suppose the automated writing of the
 DB-stored image to disk is a useful feature, but c'mon, it's one line
 of code in CF (a CFFILE tag).

 But it really doesn't matter.  Both are good, both are bad, and unless
 you're discussing a specific application, neither is better than the
 other.

 cheers,
 barneyb

 On 11/10/05, Marlon Moyer [EMAIL PROTECTED] wrote:
  That's the thing, RoR made it so easy to be able to store the image in
  a database, but still have the speed of a cached copy on the file
  server.  In essence, the first time /image/show/1.jpg is called, RoR
  will notice there is no file called 1.jpg and will automatically
  create the 1.jpg file on the filesystem.  So from them on, I get the
  benefit of a quick file serve with the portability to different
  servers.  I'm sure you could do the same with CF, but with RoR it's
  built in.  That's where the main difference is for me between the 2.
  RoR has a ton of stuff built in that most developers do everyday.  It
  may not be the most efficient, but it can get a lot of stuff done
  quick.
 
 --
 Barney Boisvert
 [EMAIL PROTECTED]
 360.319.6145
 http://www.barneyb.com/

 Got Gmail? I have 100 invites.

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223985
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Ruby on Rails

2005-11-10 Thread Marlon Moyer
Welcome to the service, please grab a cup of kool-aid from the table
there and have a seat.

:)

Actually, ever since messing around with ruby, I sometimes get
frustrated with CF because there's just not as elegant solutions
possible to some problems.  Take for instance thumbnailing.  In one of
my apps, I let the user upload whatever size image the user wants to. 
On the fly, my program resizes it to constraints and stuffs it in a db
blob field.  The image never has to go to the file system.  In all, it
takes about 6~8 lines of code.  The code to pull the image out of the
db and serve it to the browser is 2 lines and the code to cache the
image on the file system for the next request is 1 line.

That said, the learning curve and ease of doing some things in CF
still keeps it near the king of RAD status



On 11/10/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Not looking for a huge thread herebut I just watched a demo on Ruby on 
 Rails and am left with these impressions/questions:

 1) On the surface...DAMN!  Sure could be better than CF for RAD

 2) Demo was WAY too simple (basic blog).  I'd bet that if you had conditional 
 form validation (i.e. start date must be before end date), then Ruby starts 
 to fall down (as it seems to derive form validation from data types and 
 constraints).

 Sofor those that have used or looked further into RoRhow does it 
 stack up when you have to build something other than a basic web app like a 
 blog/cart/webmail/etc.??  Does development take longer as you need to tweak 
 things from the basic functionality?

 TIA

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223899
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Ruby on Rails

2005-11-10 Thread Marlon Moyer
That's the thing, RoR made it so easy to be able to store the image in
a database, but still have the speed of a cached copy on the file
server.  In essence, the first time /image/show/1.jpg is called, RoR
will notice there is no file called 1.jpg and will automatically
create the 1.jpg file on the filesystem.  So from them on, I get the
benefit of a quick file serve with the portability to different
servers.  I'm sure you could do the same with CF, but with RoR it's
built in.  That's where the main difference is for me between the 2. 
RoR has a ton of stuff built in that most developers do everyday.  It
may not be the most efficient, but it can get a lot of stuff done
quick.



On 11/10/05, Barney Boisvert [EMAIL PROTECTED] wrote:
 Why can't you do thumbnailing like that with CF?  I've done almost
 exactly that, they only difference is that I store the thumbnail on
 the filesystem (though it's still served through CF), rather than the
 DB.

 cheers,
 barneyb


--
Marlon

I am the eagle, I live in high country,
In rocky cathedrals that reach to the sky

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223915
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Tracking Text Only emails

2005-10-20 Thread Marlon Moyer
or outlook, or gmail, or most web based email systems now either.


On 10/20/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 It also won't work on XP SP2 machines that block images in e-mails by
 defaultto stop exactly what you're doing ;-)

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com


 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221724
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Rounding...

2005-10-11 Thread Marlon Moyer
or

round(x/10)*10


On 10/11/05, Munson, Jacob [EMAIL PROTECTED] wrote:
 Here's a somewhat clunky method:

 cfoutput
 roundToTens(31) = #roundToTens(31)#br
 roundToTens(27) = #roundToTens(27)#br
 roundToTens(155) = #roundToTens(155)#
 /cfoutput

 cffunction name=roundToTens
 cfargument name=num type=numeric required=true
 cfset lastDigit = right(num,1)
 cfif lastDigit lt 5
 cfset result = num-lastDigit
 cfelse
 cfset result = num+(10-lastDigit)
 /cfif
 cfreturn result
 /cffunction

  -Original Message-
  From: J W [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, October 11, 2005 8:24 AM
  To: CF-Talk
  Subject: Rounding...
 
  I have a whole number rounding problem that I am not sure how
  solve most
  efficiently.
 
  I'd like to take any number and round to the nearest whole 10.
 
  For example:
  31 would equal 40
  27 would equal 30
  155 would equal 160
 
  Any help would be appreciated...
 
  Thanks!
  Jeff



 This transmission may contain information that is privileged, confidential 
 and/or exempt from disclosure under applicable law. If you are not the 
 intended recipient, you are hereby notified that any disclosure, copying, 
 distribution, or use of the information contained herein (including any 
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
 in error, please immediately contact the sender and destroy the material in 
 its entirety, whether in electronic or hard copy format. Thank you. A1.



 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220698
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Rounding...

2005-10-11 Thread Marlon Moyer
sorry, didn't read the question all the way through.

On 10/11/05, Marlon Moyer [EMAIL PROTECTED] wrote:
 or

 round(x/10)*10


 On 10/11/05, Munson, Jacob [EMAIL PROTECTED] wrote:
  Here's a somewhat clunky method:
 
  cfoutput
  roundToTens(31) = #roundToTens(31)#br
  roundToTens(27) = #roundToTens(27)#br
  roundToTens(155) = #roundToTens(155)#
  /cfoutput
 
  cffunction name=roundToTens
  cfargument name=num type=numeric required=true
  cfset lastDigit = right(num,1)
  cfif lastDigit lt 5
  cfset result = num-lastDigit
  cfelse
  cfset result = num+(10-lastDigit)
  /cfif
  cfreturn result
  /cffunction
 
   -Original Message-
   From: J W [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, October 11, 2005 8:24 AM
   To: CF-Talk
   Subject: Rounding...
  
   I have a whole number rounding problem that I am not sure how
   solve most
   efficiently.
  
   I'd like to take any number and round to the nearest whole 10.
  
   For example:
   31 would equal 40
   27 would equal 30
   155 would equal 160
  
   Any help would be appreciated...
  
   Thanks!
   Jeff
 
 
 
  This transmission may contain information that is privileged, confidential 
  and/or exempt from disclosure under applicable law. If you are not the 
  intended recipient, you are hereby notified that any disclosure, copying, 
  distribution, or use of the information contained herein (including any 
  reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
  in error, please immediately contact the sender and destroy the material in 
  its entirety, whether in electronic or hard copy format. Thank you. A1.
 
 
 
  

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220700
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: View source

2005-09-25 Thread Marlon Moyer
yep, if ms designed cars, in order to check under the hood, you'd need
to recline the passenger seat.



On 9/25/05, Tony [EMAIL PROTECTED] wrote:
 i was bit by that same bug quite some time ago, and yeah, that's
 what i ended up doing as well... kinda made sense, i mean, not
 that it makes sense that it should EVER happen, but it makes sense
 when you think about how pitiful it is.

 :) tw

 On 9/25/05, Mike | NZSolutions Ltd [EMAIL PROTECTED] wrote:
  Hi guys,
 
  Just a heads up. I have been having trouble viewing the source of my
  pages in explorer eg. right-click and it opens notepad.
 
  Turns out that my internet cache was too big and needed to be cleaned
  up. Once deleted it now works as it should.
 
  Thought this might be of interest.
 
  mike
 
 
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219206
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT: Migrating MySQL to SQL Server

2005-09-24 Thread Marlon Moyer
On 9/24/05, Rick Root [EMAIL PROTECTED] wrote:
 My problem is with the auto_increment columns.  I edit my CREATE
 statement to set the identity property, and the create works fine but
 the data load fails.
My guess is that you're having problems getting the identities set
from the existing data?  If so, you'll need to do this:

SET IDENTITY_INSERT myTable ON
'Do your insert
SET IDENTITY_INSERT myTable OFF



 Has anyone had any experience migrating this kind of data from MySQL to
 SQL Server, and maybe offer up some tips?

 Thanks.

 Rick


 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219180
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT - js - determine which submit button was submitted?

2005-09-22 Thread Marlon Moyer
as long as the submit buttons don't already have an onclick event, you
could always include this script at the bottom of the page:

script

tags = document.getElementsByTagName('input')
for (var i=0;itags.length;i++) {
if (tags[i].type == 'submit') {
tags[i].onclick = function () { me(this.name)}
}
}
/script


On 9/22/05, DRE [EMAIL PROTECTED] wrote:
 Hi
 Anybody know how to determine which submit button was pushed in a form with
 multiple submit buttons in the onsubmit function in javascript?

 ie

 script
 function me(){
 what to write here to determine if its value 1 or 2?
 }
 /script
 form onsubmt=return me()
 input type=text name = me1
 input type=submit name = me1 value=1
 input type=submit name = me2 value=2
 form

 If you tell me to look in the form structure, then you didnt read the
 question.

 Thanks.
 --
 DRE
 www.webmachineinc.com http://www.webmachineinc.com
 www.theanticool.com http://www.theanticool.com


 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219024
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ListQualify problem

2005-09-19 Thread Marlon Moyer
You could simplify it by doing this:

cfquery name=MovementClasses datasource=#dsn#
SELECT MIN(CalendarDate) as MinDate, MAX(CalendarDate) as
MaxDate, EventName, GroupID
FROM Calendar
WHERE GroupID IN (

cfqueryparam cfsqltype=cf_sql_varchar
value=#ValueList(GroupOne.GroupID,',')# list=true/

)
GROUP BY EventName, GroupID
/cfquery

On 9/19/05, sp @ who. net sp @ who. net [EMAIL PROTECTED] wrote:
 I am having difficulties outputting a ListQualify in a query.
 
 Here is the query
 
 cfset TodayDate = DateFormat(Now(), mm/dd/)
 
 !--- get the groupid of  movement classes ---
 cfquery name=GroupOne datasource=#dsn#
 SELECT Distinct(GroupID), EventName
 FROM Calendar
 WHERE EventType = 'Movement Class'
   and CalendarDate  '#TodayDate#'
 GROUP BY GroupID, Eventname
 ORDER BY EventName ASC
 /cfquery
 
 !--- set GroupID to comma delimited list ---
 cfset MovementList = ValueList(GroupOne.GroupID,',')
 
 !--- qualify the list with single quotes ---
 cfset MovementList = ListQualify(MovementList, ' , ,,ALL)
 
 
 The output
 cfoutput#MovementList#/cfoutput gives the following
 
  '6FA07A77-3048-2A59-E85C85CF523051C6','6FA24EAB-3048-2A59-E83D53893307A2BB'
 
 
 BUT when i put the MovementList in the following query
 
 cfquery name=MovementClasses datasource=#dsn#
 SELECT MIN(CalendarDate) as MinDate, MAX(CalendarDate) as
 MaxDate, EventName, GroupID
 FROM Calendar
 WHERE GroupID IN (#MovementList#)
 GROUP BY EventName, GroupID
 /cfquery
 
 I get the following error. For some reason the list becomes qualified with 
 double quotes. Here is the error
 
  Error Executing Database Query.
 [Macromedia][SQLServer JDBC Driver][SQLServer]Line 4: Incorrect syntax near 
 '6'.
 
 25 : MaxDate, EventName, GroupID
 26 : FROM Calendar
 27 : WHERE GroupID IN (#MovementList#)
 28 : GROUP BY EventName, GroupID
 29 : /cfquery
 
 SQLSELECT MIN(CalendarDate) as MinDate, MAX(CalendarDate) as MaxDate, 
 EventName, GroupID FROM Calendar WHERE GroupID IN 
 (''6FA07A77-3048-2A59-E85C85CF523051C6'',''6FA24EAB-3048-2A59-E83D53893307A2BB'')
  GROUP BY EventName, GroupID
 
 How do I correct this?
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218669
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: funky strings in CFCs?

2005-09-08 Thread Marlon Moyer
make sure all of your cffunction tags have output=false.  That has
bit me more than I can recall.

On 9/8/05, Paul [EMAIL PROTECTED] wrote:
 I'm getting results from my DAO that don't exactly match the same value when
 retrieved using good old-fashioned cfquery.  I suspect I'm doing something
 goofy.
 
 
 
 When I grab the data directly using cfquery, I can see that the value stored
 in my database is simply 81150-100.  When I retrieve the same value
 through my DAO, the value is essentially the same but the string is
 prepended by a line break and extra spaces.  So 81150-100 is returned as 
 
  81150-100
 
 
 
 Am I making, by chance, a common mistake?  If the symptoms sound familiar to
 you I'd sure appreciate the help.  Here's what I think is the relevant code.
 
 
 
 In the calling page:
 
 entry=createObject(component,com.portal.amex.entryDAO).init().read(url.e
 ntryID);
 
 dump(entry.getAccount());
 
 
 
 The read function of my DAO:
 
 cffunction name=read access=public returntype=com.portal.amex.entry
 
   cfargument name=entryID required=true type=numeric
 
   cfset var q=
 
   cfset var o=createObject(component,entry).init()
 
   cfquery name=q datasource=#getDSN()#
 
 select * from entries
 
 where entryID = cfqueryparam value=#arguments.entryID#
 cfsqltype=CF_SQL_INTEGER
 
   /cfquery
 
   cfscript
 
 o.setEntryID(q.entryID);
 
 o.setTransactionID(q.transactionID);
 
 o.setAccount(q.account);
 
 o.setAmount(q.amount);
 
 o.setEnteredBy(q.enteredBy);
 
 o.setEnteredDate(q.enteredDate);
 
 o.setNotes(q.notes);
 
   /cfscript
 
   cfreturn o
 
 /cffunction
 
 
 
 And the init and getAccount methods from the entry object:
 
 cffunction name=init access=public displayname=init() output=no
 returntype=entry
 
   cfargument name=transactionID default=0 type=numeric
 
   cfargument name=account default= type=string
 
   cfargument name=amount default=0 type=numeric
 
   cfargument name=enteredBy default= type=string
 
   cfargument name=enteredDate default=#now()# type=date
 
   cfargument name=notes default= type=string
 
   cfargument name=entryID default=0 type=numeric
 
   cfscript
 
 variables.instance=structNew();
 
 setTransactionID(arguments.transactionID);
 
 setAccount(arguments.account);
 
 setAmount(arguments.amount);
 
 setEnteredBy(arguments.enteredBy);
 
 setEnteredDate(arguments.enteredDate);
 
 setNotes(arguments.notes);
 
 setEntryID(arguments.entryID);
 
   /cfscript
 
   cfreturn this /
 
 /cffunction
 
 
 
 cffunction name=getAccount returntype=string
 
   cfreturn variables.instance.account
 
 /cffunction
 
 cffunction name=setAccount returntype=void
 
   cfargument name=newValue required=Yes
 
   cfset variables.instance.account=trim(arguments.newValue)
 
 /cffunction
 
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217685
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Devnet subscription ending

2005-08-29 Thread Marlon Moyer
My DevNet subscription is due to end in about a month.  I use my
DevNet versions of DW, FW,  Flash.  When my DevNet subscription ends,
does that mean I can no longer use those?


-- 
Marlon

Now watch what you say or they'll be calling you a radical,
liberal, fanatical, criminal. 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216675
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Devnet subscription ending

2005-08-29 Thread Marlon Moyer
Thanks Dave, that answers it all.

On 8/29/05, Dave Carabetta [EMAIL PROTECTED] wrote:
 
 On 8/29/05, Marlon Moyer [EMAIL PROTECTED] wrote:
 
  My DevNet subscription is due to end in about a month. I use my
  DevNet versions of DW, FW,  Flash. When my DevNet subscription ends,
  does that mean I can no longer use those?
 
 
 
 http://www.macromedia.com/devnet/subscriptions/licensing.html#item-1-5
 
 Regards,
 Dave.
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216686
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: IIS 6 VS Apache

2005-08-26 Thread Marlon Moyer
By default IIS 6 won't serve an svn mime type as far as I know.  I
know I've had to explicity tell it to serve different mime types on
setup.


On 8/25/05, Dave Watts [EMAIL PROTECTED] wrote:
  Well acl's won't work well here, because .svn folders are
  created in every folder of your application by the subversion
  client.
 
 I don't know enough about Subversion to comment, but if that's the case
 you're probably better off with a general rule somewhere rather than using
 ACLs, yes.
 
  You can expect me to go through hundreds of folders and set
  the acl on every .svn subfolder.
 
 No, that would probably be an impractical approach. However, you could
 easily do exactly that with a batch file and cacls.exe. The problem with
 that approach would be that you may add new .svn folders in the future, and
 you'd have to rerun the batch file.
 
  The reason I suspect it's easier with Apache is because apache
  has a lot of different options for the config file, and I bet
  one of those directives will do just what I want... disallow
  access to .svn folders.
 
 To the best of my knowledge, there's no Apache directive that specifically
 allows you to block access to directories whose names match part of a URL
 pattern. However, you could rewrite URLs to get the result you desire, with
 Apache or IIS.
 
 Again, I don't know much about Subversion, but I think that it has a lot of
 Apache-specific functionality that you can enable, so you might want to use
 Apache just to get at that functionality anyway.
 
  IIS just has the GUI, which isn't very rich, and I don't remember
  any options anywhere for disallowing access to specifically named
  folders.
 
 I'm not sure what you mean by very rich - it provides all the
 functionality to manage IIS, and IIS has quite a few switches. However, you
 can manage IIS without the GUI, using either the Metabase Editor (IIS 5) or
 any text editor (IIS 6). All of the IIS configuration information is stored
 in the Metabase, which is just a big, ugly XML document with IIS 6.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216489
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: .NET suggestions

2005-08-23 Thread Marlon Moyer
Maybe you need to forward this Dilbert cartoon to the CTO

http://www.dilbert.com/comics/dilbert/archive/dilbert-20050823.html

Marlon

On 8/20/05, Rey Bango [EMAIL PROTECTED] wrote:
 Tom,
 
 If your CTO is dead set on not using CFML and you need to get knee deep
 in ASP.Net, then I suggest picking up the following book:
 
 Build Your Own ASP.NET Website Using C#  VB.NET
 http://www.sitepoint.com/books/aspnet1/
 
 Its, IMO, the best book around. Its straight to the point without being
 as big as War  Peace. You'll still need a good C# reference but this
 book will give you the fundamentals you'll need to start working.
 
 Rey...
 
 Tom McNeer wrote:
  To Kevin and Matthew --
 
  Thanks for the references.
 
  To others, particularly Matt, since he's the one who raised the real issue 
  --
 
  I'm well aware of BD .NET and its advantages. I've had lunch with
  Charlie Arehart and Brian O'Reilly. (And for that matter, Brian called
  me a few minutes ago because of this post).
 
  But while I wouldn't characterize the situation exactly as Matt did,
  it does seem (at the moment) as if the determination is that the CF
  code base will be replaced. I intend to discuss Blue Dragon as an
  option with this client. But my current guess is that he will choose
  to rewrite the applications to eliminate the CFML.
 
  If that's the final decision, then we will need to be writing C#, I guess.
 
  And if we get to that point -- does anyone else have any other
  suggestions for the best books/courses/online resources?
 
 
 
 --
 http://www.ReyBango.com
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216056
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XSLT question

2005-08-22 Thread Marlon Moyer
 xsl:template match=//track
 lt;a href=/jukebox/audio/player.cfm?filename=xsl:value-of
select=listen/ target=_blankgt;listenlt;/agt;
 /xsl:template


On 8/22/05, Rick Root [EMAIL PROTECTED] wrote:
 How do I do this with XSLT?
 
 xsl:template match=//track
 a href=/jukebox/audio/player.cfm?filename=xsl:value-of
 select=listen/ target=_blanklisten/a
 /xsl:template
 
 It doesn't seem to like the  in the HREF attribute.
 
 I'm trying to output the value of the listen node within that HREF so
 obviously I don't want to use lt;
 
 Rick
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215960
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XSLT question

2005-08-22 Thread Marlon Moyer
You're right, this was how I was using xslt to create cfm templates
which aren't valid xml.  See now, I've learned something new today

On 8/22/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
   xsl:template match=//track
   lt;a href=/jukebox/audio/player.cfm?filename=x
   sl:value-of
  select=listen/ target=_blankgt;listenlt;/agt;
   /xsl:template
 
 Seems odd... seems like that would be problematic if you needed to add
 additional attributes, etc. since at that point, I don't believe the
 XSL parser would be seeing a tag, but rather a string... Whatever
 works I guess... this just seems really scary to me...
 
 
 s. isaac dealey   954.522.6080
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215967
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Parsing iTunes xml file

2005-08-19 Thread Marlon Moyer
First I know this is the wrong tool for the job, but I wanted to try
it anyway.

I have a 10mb iTunes xml file that I want to parse so I can figure out
what songs are missing and what songs are duplicates.

First snagusing blue dragon, cffile craps out on read with a null
pointer exception.  Is there a size limit to cffile?  Or is there a
setting that I can change to allow it to read bigger files?

Thanks


-- 
Marlon

A mulatto, an albino, a mosquito, my libido

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215779
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Parsing iTunes xml file

2005-08-19 Thread Marlon Moyer
iTunes will tell you the duplicates, it won't tell you files that are
missing until you try to play them.  I also want to compare files that
may be in the iTunes directory, but may not be in the iTunes xml file.

Ephpod?  EPHPOD!  Where's the fun in using that :)



On 8/19/05, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 Doesn't iTunes do this for you? Or EpPhod?
 
 
 


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215785
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Parsing iTunes xml file

2005-08-19 Thread Marlon Moyer
Well, to answer my own question.  It looks like java.io.filereader
will do the trick:

Example code below stolen from someones blog entry:

cfscript
fileAsString = ;
fileReader = createObject(java, java.io.FileReader);
fileReader.init(myFile);
bufferedReader = createObject(java, java.io.BufferedReader);
bufferedReader.init(fileReader);
try {
   do {
  fileAsString = bufferedReader.readLine();
  processLine(fileAsString);
   } while (true);
} catch (coldfusion.runtime.UndefinedVariableException e) {
// this indicates end of file, ok to ignore error
}
/cfscript


On 8/19/05, Marlon Moyer [EMAIL PROTECTED] wrote:
 iTunes will tell you the duplicates, it won't tell you files that are
 missing until you try to play them.  I also want to compare files that
 may be in the iTunes directory, but may not be in the iTunes xml file.
 
 Ephpod?  EPHPOD!  Where's the fun in using that :)
 
 
 
 On 8/19/05, Robertson-Ravo, Neil (RX)
 [EMAIL PROTECTED] wrote:
  Doesn't iTunes do this for you? Or EpPhod?
 
 
 
 
 


-- 
Marlon

A mulatto, an albino, a mosquito, my libido

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215818
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Variable or CFFILE issue

2005-08-19 Thread Marlon Moyer
Might I direct you to the post about parsing the iTunes xml file as
that could be a solution to your problem.

On 8/19/05, David Critchley [EMAIL PROTECTED] wrote:
 We tried running CFFILE on a 72mb file and it died.  Our server currently has 
 4gb of RAM and 2 processors, all of this is dedicated to my work only, so 
 this was the only large process running on the server at the time.  Tried 
 several times without success to get it to work.
 
 Dave C
 
  Have you found a limit?  I would think it would depend mostly upon how
  much RAM you have on you server.  The more RAM you have, the larger
  the file you could read in with CFFILE.
 
  Maybe someone else can expound more on this? Now you've got me curious.
 
 
  Dave
 
  -Original Message-
  From: David Critchley [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 19, 2005 2:37 PM
  To: CF-Talk
  Subject: Variable or CFFILE issue
 
 
  I've tried to do a little digging, but with little success.  Im
  looking for the Max Size of a file that the CFFILE tag (Or could be
  the variable) can handle.  We regularily parse large files (larger
  than 10mb some upwards around 100mb).  Currently we have been
  splitting the file into sections using UNIX, however this is tedious,
  and is a poor fix for the problem.  Any info you could provide would
  probably help, or just point me towards the documentation.
 
  Thanks,
  Dave
 * 
 *
  The information contained in this message, including attachments, may
  contain
  privileged or confidential information that is intended to be
  delivered only to the
  person identified above. If you are not the intended recipient, or the
  person
  responsible for delivering this message to the intended recipient,
  ALLTEL requests
  that you immediately notify the sender and asks that you do not read
  the message or its
  attachments, and that you delete them without copying or sending them
  to anyone else.
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215828
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Copy record from query into structure

2005-08-16 Thread Marlon Moyer
Try this function from cflib.org

http://www.cflib.org/udf.cfm?ID=358


On 8/16/05, Robert Everland III [EMAIL PROTECTED] wrote:
 Is there a way to copy an entire record from a query into a structure. I can 
 reference the query like query[rowname][rownumber] but when you try to 
 reference it as query[rownumber] it errors out.
 
 
 
 Bob
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:215229
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfform file upload

2005-08-09 Thread Marlon Moyer
That might be the biggest news for me concerning Flash 8.

On 8/9/05, Will Tomlinson [EMAIL PROTECTED] wrote:
 It has a progress bar. Bout damn time no?  :)
 
 Will
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214163
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: sharing query objects between coldfusion to .net

2005-08-09 Thread Marlon Moyer
use bluedragon.net :)


On 8/9/05, Protoculture [EMAIL PROTECTED] wrote:
 is there any way this can be done? putting the query object into a server or 
 session varible perhaps?
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214191
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Architecture thoughts

2005-08-08 Thread Marlon Moyer
I'm tossing around ideas for the architecture for a new project.  I'd
like to keep the interface flexible, meaning I'd like to have the
ability to use flash, html, ajax,etc.  I was thinking about creating
all of the business logic as a set of web services.  Any thoughts,
pitfalls that I should avoid.

I really like the idea of separating out the interface from the
business logic completely.  I like the model-glue framework from a
high level but I get an icky feeling when I have to start initializing
the model with a config-bean from what should be the UI.

Just thinking out loud I guess.


-- 
Marlon

A mulatto, an albino, a mosquito, my libido

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214111
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Concatenating PDFs

2005-08-02 Thread Marlon Moyer
I use this software.  It's command line based but works with CF
perfectly.  I've got a program that runs 16 crystal reports and
creates individual pdfs.  I use this program to concatenate all 16
into 1 complete with an index on the left hand side.  I've used it
with CF4.5 through CFMX6.1

http://www.pdf-tools.com/asp/products.asp?type=shell


On 8/2/05, Simon Smith [EMAIL PROTECTED] wrote:
 Does anyone know if its possible to concatenate 2 or more PDFs in MX?
 I dont have the original data the PDF was created from, just the PDF.
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213457
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Concatenating PDFs

2005-08-02 Thread Marlon Moyer
Bryan, do you have any examples of calling this jar?

On 8/2/05, Bryan Stevenson  wrote:
  It's worth noting that MX 7 uses iText under the hood for its PDF-ing,
  so perhaps you can just use the existing jars. I have no idea if you
  can develop directly against them (i.e., the database drivers will
  throw a license exception if you try to use them from a non-CF app),
  but you do technically have the drivers already. If you can't use
  them, then I would at least be careful about messing up your classpath
  with differing iText jars should you .
 
  Regards,
  Dave.
 
 Good heads up there Dave.
 
 I'm pretty sure that if it's built-in to CF, then it's not in there as
 iText.jar (as I didn't see it when I dropped mine on my dev machine a few
 weeks back).  After dropping in the jar file, all worked fine (this is an MX
 7 install as a J2EE instance).
 
 BTW...if MX 7 is using iText under the hood, it's only using the HTML to PDF
 abilities.  iText can do a hell of  alot more than just making HTML in to a
 PDF.far finer controllots of bells andf whistles (once you decipher
 them).  The one thing it's missing is decent CF examples (all are of course
 in Java)
 
 Cheers
 
 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213476
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Concatenating PDFs

2005-08-02 Thread Marlon Moyer
Tiffs to PDFs or concatenating PDFs would be great.  Thanks!


On 8/2/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Yes ;-)  anything specific?
 
 The main usage (PDFs on the fly) is fairly involved (creates a 20 or so page
 PDF on the fly with lots of layout elements) and may not be a good starter
 example as it may require some coaching ;-)
 
 I can fire you a simpler example on converting TIFFs to PDFs??
 
 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213484
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Rails like Framework

2005-07-23 Thread Marlon Moyer
On 7/23/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 I finally did have a look at the flash movie presentation for Ruby on
 Rails, you know, the build a blog in 15 minutes presentation. I have
 to admit, there seemed to be a number of similarities between that
 presentation and the Power onTap presentation -- the guy recording it
 keeps repeating look at all the things I'm not doing. Which I
 haven't said in my own presentation (that I recall), but I've thought
 it... maybe I should say it. :P For a lot of the same features tho,
 like fetching information for input elements from the database meta
 data on the fly (as opposed to from a code-gen app).
 

 Rails seems to take that concept a little further -- input types are
 determined by the data type of the column (textarea for long-text
 fields) and the order of input elements in the form is determined by
 the order of columns in the database (IDE)... These are a little
 further than I'd _want_ to take the automation myself. It wouldn't be
 a big stretch (a few minutes work), but I don't think it would be very
 useful actually, since for example with an i18n app you still have to
 manually assign the localized labels for all your input elements in
 each language.
 
The thing about rails is that it generates a bare bones scaffold form
that includes all of the editable portions of that table which can
easily be modified at a later time.  In CF, you still need to create a
form with all of the fields before you can do anything else.


 I have to say, I could build the same blog in the same 15 minutes in
 ColdFusion ... though it's not a very good blog... I'm about 3 days
 into building a blog actually as a sample application for the onTap
 framework. It may or may not be the best sample because I'm actually
 adding some advanced features, but I expect all-told it will have only
 taken me about a week to build, and should cover most of the features
 provided by the existing free blogs for CF, and I think with some
 extras.
 
I was initially wowed by the rapid development aspect of RoR, as I get
deeper into the framework, I'm wowed by more interesting things.  Say
you have two tables that are related, say an order table and then a
line item table.  The line item table with have a column called
order_id.  The models that RoR creates will be aware of the
relationships.  Then you can use simple methods to add new line items
to the order object.  You'll not have to worry about primary keys and
foreign keys at all.

One of the best things about RoR is that subversion is used by most of
the developers it seems.  Recently there was a 24 hour programming
competition for RoR.  All of the entries had to use a common
subversion repository so the judges could track the development.  The
repository was open to the public also.  So now, I have over 100
projects that I could easily download and examine coding practices. 
Joe Rinehart has recently done this with MG and I think it's a great
step.  I hope the days of zip packages only is limited.  I think it's
great that I can view what changes Joe has made to his framework. 
This makes me feel like I have the ability to be more of a part of it.

That said, I still haven't tried out your framework.  I might suggest
that you make a video similar to the 15 minute blog video you saw. 
That would go leaps and bounds towards generating even more interest
in your framework.

Marlon

 s. isaac dealey 954.522.6080
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212686
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Rails like Framework

2005-07-23 Thread Marlon Moyer
On 7/23/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
  The thing about rails is that it generates a
  bare bones scaffold form that includes all of
  the editable portions of that table which can
  easily be modified at a later time.  In CF,
  you still need to create a form with all of
  the fields before you can do anything else.
 
 Yeah, that's the portion I wasn't sure about when I watched their 15
 minute presentation. I'm not sure I like it generating that much of
 the form on the fly... Not that there's anything wrong with it per-se,
 but I don't think I'd prefer it. I could build the same thing as a
 tool for the onTap framework in a few minutes -- all the groundwork
 for it is already in place, fetching and caching the database
 meta-data for tables and columns and foreign key constraints, etc. All
 it would take is to sit down and write up a custom tag or a display
 template that fetches the column info, loops over that query and
 generates the form fields with similar assumptions about the data type
 and positioning. Something like this:
 
 cfset rscol = request.tapi.db.columns(variables.table)
 cfmodule template=#request.tapi.xhtml()#
 cfoutput
   tap:form
 cfloop query=rscol
   cfswitch expression=#rscol.datatype#
 cfcase value=text,ntext,clob,nclob
   cfset type=textarea
 /cfcase
 cfdefaultcase
   cfset type=text
 /cfdefaultcase
   /cfswitch
   input type=#type# name=#rscol.name# label=#rscol.name# /
 /cfloop
   /tap:form
 /cfoutput
 /cfmodule
 
 That's just a 2 minute writeup, so it doesn't account for the primary
 key (which should be a hidden field) or include converting
 foreign-keys to select boxes, but that's not much code either.
 
Yes, this is true, but still, the user has to create this form, or
does your frame work generate a cfm file with this logic in it?

  I was initially wowed by the rapid
  development aspect of RoR, as I get
  deeper into the framework, I'm wowed
  by more interesting things.  Say you
  have two tables that are related, say
  an order table and then a line item
  table.  The line item table with have
  a column called order_id.  The models
  that RoR creates will be aware of the
  relationships.  Then you can use
  simple methods to add new line items
  to the order object.  You'll not have
  to worry about primary keys and
  foreign keys at all.
 
 Yep, these features are available in onTap too... They may not be as
 complete, but they're definately there.
 
  Joe Rinehart has recently done this
  with MG and I think it's a great step.
  I hope the days of zip packages only
  is limited.  I think it's great that
  I can view what changes Joe has made
  to his framework. This makes me feel
  like I have the ability to be more of
  a part of it.
 
 I'll have to see about setting up subversion on my server at home.
 
It's pretty simple, if your interested, I've got a couple of links
that spell out exactly how to set one up on Win32 machines.

  That said, I still haven't tried out
  your framework.  I might suggest that
  you make a video similar to the 15
  minute blog video you saw. That would
  go leaps and bounds towards generating
  even more interest in your framework.
 
 Ask and ye shall receive. :)
 
 http://www.fusiontap.com/docs/index.cfm?netaction=articlesarticle=200
 
 It's been up on the framework site since April. For a while it was set
 up as the default home page, but that turned out to be somewhat
 annoying... It's in the Articles and Tutorials section.
 
 Several folks have also said that it seems long, so although I'm not
 real sure why 18 minutes is long, I have been considering recording
 some shorter demo's more like the quickstart guide I wrote recently.
 
I'd split it into two.  I'm not really a powerpoint type of guy and
initially I watched it, but thought it was all going to be slides, so
I closed it.  I watched it all the way through only after you said it
had a demo.  Truthfully, this is about the third time I've watched it.
 All previous times I cut it off about halfway because of the slides. 
The second part has more wow factor than the first.


Just out of curiosity, how would the onTap framework handle multiple
record forms, say you have a list of 10 products and you want to be
able to let people edit all of the prices at one time.


 
 s. isaac dealey 954.522.6080
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: 

Re: OT: CSS and Firefox

2005-07-21 Thread Marlon Moyer
What's interesting is when I use the webdeveloper toolbar 'edit css'
option, the screen will redraw quickly and have the correct spacing on
the top.   It looks like FF is having trouble parsing that second
stylesheet.  You might want to try to get rid of everything but the
definition for that div narrow it down from there.



On 7/21/05, Cutter (CF-Talk) [EMAIL PROTECTED] wrote:
 I can't get my head around this. Small but significant problem with
 external stylesheets. I've got this page (http://s05.seacrets.com) where
 the flash item in the middle of the page is supposed to be flush on the
 top of the div containing it (#primaryContent). This (oddly) is working
 great in IE 6.x, but isn't working within Firefox 1.0.5.
 
 I have a global.css file loading first, setting initial style properties
 of all base elements of the site (header graphic, nav menu, etc.). I use
 another stylesheet to define styles for elements specific to the page
 being viewed. This file may also be used to override style settings set
 previously by the global stylesheet. In this case I'm overriding the
 padding property of the primaryContent Div (well, I am in IE anyway).
 
 I just can't seem to get this secondary style sheet to take. I've run
 the W3C Validators on the page. CSS validates fine, the XHTML only bombs
 on the embed tag used for the flash element (anyone know how to get
 around that?). Anybody with any ideas I am open to suggestions.
 
 Any and all help greatly appreciated,
 Cutter
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212409
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Crystal Reports

2005-07-19 Thread Marlon Moyer
Niklas,

I've been dealing with the scourge of crystal for a long time.  This
is the solution I've had the most luck with.  I know that this
solution works with CR 8.5, but I'm not sure about newer versions. 
This solution also requires Crystal and .Net framework to be installed
on the server.

Essentially, I've got 1 asp.net page that I call using CFHTTP.  I have
the asp.net page write out a pdf file onto the harddrive and then I
serve up the pdf via CF.  HTH

Marlon


reportServer.aspx
*
%@ Page Language=VB AspCompat=true %
% Server.ScriptTimeout = 360 %
%

dim App,Rpt,Export as object

dim 
DllName,ServerName,DatabaseName,Login,Password,Report,SelectionFormula,DiskFileName
as string
dim FormatType as integer

DllName = cstr(request.form(DllName))
ServerName = cstr(request.form(ServerName))
DatabaseName = cstr(request.form(DatabaseName))
Login = cstr(request.form(login))
Password = cstr(request.form(password))
Report = cstr(request.Form(report))
SelectionFormula = cstr(request.Form(SelectionFormula))
FormatType = cInt(request.Form(FormatType))
DiskFileName = cstr(request.Form(DiskFileName))

try
App = Server.CreateObject(CrystalRuntime.Application)
App.LogOnServer(DllName,ServerName,DatabaseName,login,Password)
Rpt = App.OpenReport(Report,1)

Rpt.MorePrintEngineErrorMessages = false
Rpt.EnableParameterPrompting = false
Rpt.DiscardSavedData
Rpt.RecordSelectionFormula = SelectionFormula
Export = Rpt.ExportOptions
Export.DiskFileName = DiskFileName
Export.FormatType = FormatType
'Always write to disk
Export.DestinationType = CInt(1)
Rpt.Export(False)
response.Write(STATUS: OK)
Catch ex As Exception
response.Write(STATUS: ERRORbr/)
response.Write(MESSAGE:  + ex.toString() + br/)
response.Write(SOURCE:  + ex.source + br/)
response.Write(STACK:  +  ex.StackTrace + br/ )
Finally 
Export = nothing
Rpt = nothing
App = nothing
'Force a garbage collection to release the object
GC.Collect()
End try
%
**

On 7/19/05, Niklas Richardson [EMAIL PROTECTED] wrote:
 Hi all,
 
 A current project we're working on requires integration with A LOT of
 Crystal Reports with ColdFusion MX 7.
 
 I haven't used Crystal Reports since version 3 of ColdFusion, and thus
 have forgotten how to do the integration, and how the Crystal Reports
 should be structured.
 
 This has just been dumped on my and we need an urgent solution (i.e.
 in next couple of days).
 
 If anyone can help with Crystal Reports and CF, please can you let me
 know.  Drop me an email off list.  Thanks.
 
 Regards
 
 Niklas
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212189
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Crystal Reports

2005-07-19 Thread Marlon Moyer
Yes, you can use the CFReport tag, but I've never had good luck with
it concerning formatting.  Also, it produces an HTML version of the
report vs. something easily printed.


On 7/19/05, Niklas Richardson [EMAIL PROTECTED] wrote:
 Hi Marlon,
 
 Thanks for the info.  But isn't there a way to use CFREPORT with Crystal?
 
 Thanks
 
 Niklas
 
 
 On 19/07/05, Marlon Moyer [EMAIL PROTECTED] wrote:
  Niklas,
 
  I've been dealing with the scourge of crystal for a long time.  This
  is the solution I've had the most luck with.  I know that this
  solution works with CR 8.5, but I'm not sure about newer versions.
  This solution also requires Crystal and .Net framework to be installed
  on the server.
 
  Essentially, I've got 1 asp.net page that I call using CFHTTP.  I have
  the asp.net page write out a pdf file onto the harddrive and then I
  serve up the pdf via CF.  HTH
 
  Marlon
 
 
  reportServer.aspx
  *
  %@ Page Language=VB AspCompat=true %
  % Server.ScriptTimeout = 360 %
  %
 
  dim App,Rpt,Export as object
 
  dim 
  DllName,ServerName,DatabaseName,Login,Password,Report,SelectionFormula,DiskFileName
  as string
  dim FormatType as integer
 
  DllName = cstr(request.form(DllName))
  ServerName = cstr(request.form(ServerName))
  DatabaseName = cstr(request.form(DatabaseName))
  Login = cstr(request.form(login))
  Password = cstr(request.form(password))
  Report = cstr(request.Form(report))
  SelectionFormula = cstr(request.Form(SelectionFormula))
  FormatType = cInt(request.Form(FormatType))
  DiskFileName = cstr(request.Form(DiskFileName))
 
  try
  App = Server.CreateObject(CrystalRuntime.Application)
  App.LogOnServer(DllName,ServerName,DatabaseName,login,Password)
  Rpt = App.OpenReport(Report,1)
 
  Rpt.MorePrintEngineErrorMessages = false
  Rpt.EnableParameterPrompting = false
  Rpt.DiscardSavedData
  Rpt.RecordSelectionFormula = SelectionFormula
  Export = Rpt.ExportOptions
  Export.DiskFileName = DiskFileName
  Export.FormatType = FormatType
  'Always write to disk
  Export.DestinationType = CInt(1)
  Rpt.Export(False)
  response.Write(STATUS: OK)
  Catch ex As Exception
  response.Write(STATUS: ERRORbr/)
  response.Write(MESSAGE:  + ex.toString() + br/)
  response.Write(SOURCE:  + ex.source + br/)
  response.Write(STACK:  +  ex.StackTrace + br/ )
  Finally
  Export = nothing
  Rpt = nothing
  App = nothing
  'Force a garbage collection to release the object
  GC.Collect()
  End try
  %
  **
 
  On 7/19/05, Niklas Richardson [EMAIL PROTECTED] wrote:
   Hi all,
  
   A current project we're working on requires integration with A LOT of
   Crystal Reports with ColdFusion MX 7.
  
   I haven't used Crystal Reports since version 3 of ColdFusion, and thus
   have forgotten how to do the integration, and how the Crystal Reports
   should be structured.
  
   This has just been dumped on my and we need an urgent solution (i.e.
   in next couple of days).
  
   If anyone can help with Crystal Reports and CF, please can you let me
   know.  Drop me an email off list.  Thanks.
  
   Regards
  
   Niklas
  
  
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212204
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Purpose of HTML tags at beginning of cfoutput in classic.cfm debug page

2005-07-19 Thread Marlon Moyer
to close off any unclosed tags that might render the debugging content
invisible.

On 7/19/05, sonicDivx [EMAIL PROTECTED] wrote:
 What is the purpose of all the HTML tags?
 
 Thanks
 Kevin
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212243
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Show the code not the conversion.

2005-07-12 Thread Marlon Moyer
obscureCommand.cfm

cfif comparenocase(thistag.executionmode,end) eq 0
cfset thistag.GeneratedContent =
replacenocase(thistag.GeneratedContent,([^;[:space:]]+);,amp;\1;,ALL)
/cfif


usage:

cf_obscureCommand
 lt;table border=0 cellpadding=0 width=500gt;
   lt;trgt;
   lt;td colspan=quot;3quot;
   align=quot;centerquot;gt;
/cf_obscureCommand


On 7/12/05, Ian Skinner [EMAIL PROTECTED] wrote:
 No, I want the htmleditformat, but I would like it to display the escaped 
 code, not convert it back.  This is for a tool to take html, escape all the 
 code so that it can be put into an XML node.  The tool works for geeks like 
 me, since I can get the code by looking at the source.  But I was hoping 
 there was an obscure CFML or HTML tag that would not convert the code when 
 displaying; thus eliminating the need to view the source.
 
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 -Original Message-
 From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 12, 2005 1:19 PM
 To: CF-Talk
 Subject: RE: Show the code not the conversion.
 
 Oh... you want to double-up the htmledit formatting?
 
  i think you have to write your own equivalent of htmleditformat --
 since I don't think the native function will double itself up like
 that.
 
 function doubleUp(text) {
 return
 rereplacenocase(htmleditformat(text),([^;[:space:]]+);,am
 p;\1;,ALL);
 
 }
 
  You'd have to convert the  into amp; before you display
  it
 
  Example:
  amp;lt;table border=0 cellpadding=0 width=500amp;gt;
 
  -Original Message-
  From: Ian Skinner [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 12, 2005 3:00 PM
  To: CF-Talk
  Subject: Show the code not the conversion.
 
  Is there anyway to get an html page to display this:
 
  lt;table border=0 cellpadding=0 width=500gt;
   lt;trgt;
   lt;td colspan=quot;3quot;
  align=quot;centerquot;gt;
 
  Versus this:
  table border=0 cellpadding=0 width=500
   tr
   td colspan=3 align=center
 
 
 s. isaac dealey   954.522.6080
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211677
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Show the code not the conversion.

2005-07-12 Thread Marlon Moyer
My fault.  I half copied your regex.  I started to type my own in and
thought, Hey, Isaac already did this, of course by then, I had
already forgot to put the re in front of replace. :)


On 7/12/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
  Cool solution, except the regex does not seem to be
  working, in that none of the 's are being changed to
  amp;'s.  But I can't see what it is not working?
 
 He (or I) typo'd the function call... in the code that was posted the
 function called was ReplaceNoCase... the function should be
 REReplaceNoCase (we dropped the re) -- or REReplace() would work
 actually, since the expression doesn't include anything but
 punctuation characters.
 
 
 s. isaac dealey 954.522.6080
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211705
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Brain Freeze

2005-07-03 Thread Marlon Moyer
SELECT ID, Product_ID, Category_ID
FROM Product_Category
WHERE Category_ID in (cfqueryparam cfsqltype=cf_sql_integer value =
#valuelist(CATS.Category_ID)# list=true/)

SELECT NAME
FROM Products
WHERE Product_ID in (cfqueryparam cfsqltype=cf_sql_integer
value=#valuelist(PRODCAT.Product_ID)# list=true/)


On 7/3/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 All,
 
 I've got three queries all passing variables from previous queries. The 
 issues?
 The second query returns 4 records.  I want to use IDs for these records in 
 query #3.
 However what I have only returns only 1 record. I want all 4 ID values in 
 query #3
 
 !-- GET EVERYTHING FROM CATEGORIES --
 !-- QUERY ONE --
 cfquery name=cats datasource=cfweb maxrows=5
 SELECT Categories.Name, Categories.Category_ID
 FROM Categories
 /cfquery
 !-- GET INFO FROM PRODCAT WHERE CATID = CATS.CATID THIS SHOULD RETURN A LIST 
 OF PROD IDS --
 !-- QUERY TWO --
 cfquery name=PRODCAT datasource=cfweb
 SELECT ID, Product_ID, Category_ID
 FROM Product_Category
 WHERE Category_ID = #CATS.Category_ID#
 /cfquery
 cfquery name=PROD datasource=cfweb
 SELECT NAME
 FROM Products
 WHERE Product_ID = #PRODCAT.Product_ID#
 
 Thanks
 
 D
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211093
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF7 - 16 character limit on SQL passwords

2005-06-29 Thread Marlon Moyer
I can verify that the same behavior exists on CFMX6.1 also with MSSql.
 I did the hard route and changed to shorter passwords.


On 6/29/05, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 Dude, if it is a bug it, is a bug and no messingtry and log it or add
 your weight into the official MM forums.
 
 
 
 
 
 
 -Original Message-
 From: Chase Seibert [mailto:[EMAIL PROTECTED]
 Sent: 29 June 2005 15:35
 To: CF-Talk
 Subject: RE: CF7 - 16 character limit on SQL passwords
 
 Thanks for the good suggestion. I did indeed install the Microsoft JDBC
 driver, using the instructions at:
 
 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?event=viewid=KC.t
 n_18652extid=tn_18652dialogID=48544472iterationID=1sessionID=48303fb989f
 57d426352stateID=0+0+11018907mode=advanced
 
 However, this did not solve my issue. ColdFusion appears to be truncating
 the password at 16 characters before it passes is to JDBC, regardless of the
 driver used. When I configure this new driver to use the sa
 username/password (which is under 16 chars), it works great. When I change
 just the username and password to our regular login (bullhorn1), I get a
 Login failed error. It's not saying the password is too long, or that JDBC
 is rejecting the password due to length, it's saying login failed. This
 leads to the assumption on my part that CF is truncating or otherwise
 altering the password before it hands it off to the driver.
 
 Here is the exact error:
 
 Connection verification failed for data source: BULLHORN_MASTER
 java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
 JDBC][SQLServer]Login failed for user 'bullhorn1'.
 The root cause was that: java.sql.SQLException: [Microsoft][SQLServer 2000
 Driver for JDBC][SQLServer]Login failed for user 'bullhorn1'.
 
 FYI - I also tried jDTS. Exact same result; my sa login worked, but the
 regular login did not. Also interesting to note is that even when using
 custom JDBC drivers and specifying the other driver type, it warns you on
 that definition screen that there is a 16 character limit.
 
 I'm ready to call bullshit on the CF development team. True, it's documented
 right there in the app, but this could very well throw a huge monkey wrench
 into our CF7 plans, for a very stupid issue. Please, anyone else have an
 ideas?
 
 
 
  -Chase
 
 Chase Seibert |  Network and Systems Engineer |  Bullhorn Inc.  |
 617.464.2440 x119  |  www.bullhorn.com
 
 
 
 -Original Message-
 From:Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
 To: CF-Talk ;
 Sent: Jun 29, 2005 09:19:05 AM
 Subject: RE: CF7 - 16 character limit on SQL passwords
 Isn't the 16 char limit for Oracle databases and not SQL Server? I am sure
 the JDBC driver limit would match the Database limit. If it is the
 DataDirect driver which CF uses consider using the Microsoft JDBC driver - I
 
 would doubt it has this limit. If it is CF itself which had the error then
 it's a bug which would need to be logged.
 
 2. not sure, but you would no doubt get performance problems.
 
 3. Not in SQL Server no, and if it does restrict, it's a bug.
 
 
 
 -Original Message-
 From: Chase Seibert [mailto:[EMAIL PROTECTED]
 Sent: 29 June 2005 14:00
 To: CF-Talk
 Subject: RE: CF7 - 16 character limit on SQL passwords
 
 lastMessage.Bump()  #newContent#
 
 Ok, no love on this question. If this is a look in the archives, you idiot
 
 question, please let me know. I DID google the crap out of this to no avail.
 
 So here we are in round two...
 
 1. I assume this is part of the JDBC implementation, correct? Anyone know if
 
 I can get around this by editing some XML files directly? Where would I look
 
 for said files?
 2. Would ODBC get around this limitation? What kind of benefits would I be
 negating if I use ODBC rather than JDBC?
 3. Is there som legitimate reason for this 16 character limit?
 
 
 
 -Chase
 
 Chase Seibert | Network and Systems Engineer | Bullhorn Inc. |
 617.464.2440 x119 | www.bullhorn.com
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 To: CF-Talk ;
 Sent: Jun 28, 2005 02:26:23 PM
 Subject: CF7 - 16 character limit on SQL passwords
 Hey guys,
 
 Our main site runs CF5.5, but we will be upgrading to CF7 at some point this
 
 summer. I have been writing some integration code with CF7 on my dev machine
 
 for about a month, and had everything working great. Now I'm trying to push
 that code to the production system. I love the fact that you can create a
 WAR file and just copy it down. The only things I needed to change were the
 passwords on the datasources...
 
 Ouch. Looks like CF7 has a 16 character limit on SQL Server 2000 passwords.
 Not sure if this effects all datasources or not. In any case, while our
 development SQL Server is bellow that threshhold, our production server
 password is 18 characters. What are my options here. Does anyone have a
 work-around, either in CF or in SQL?
 
 Before you say just change the password. That is not an option. We are
 talking 

Re: Fw: Your recent email to us

2005-06-28 Thread Marlon Moyer
Yep.

On 6/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Anybody else getting this?  I seem to get one everytime I post to CF-TALK.
 
 Goldman Sachs JBWere's electronic mail policy prohibits the receipt or 
 distribution of  material which may be regarded as offensive or spam mail. If 
 the message is urgent please review the content for any language or material 
 which may be offensive and resend the message or contact the intended 
 recipient by telephone.
 
 
 Message Name: B42c1723a.0001.0005.mml
 
 
 
 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210768
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFUnited Presentations

2005-06-28 Thread Marlon Moyer
I saw that Joe Rinehart is breezing his presentation on Model-Glue
from CFUnited, are there any other presenters doing the same?

-- 
Marlon

Oh man, I need TV when I got T. Rex.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210818
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFUnited Presentations

2005-06-28 Thread Marlon Moyer
Tis a shame.  I've been watching some Microsoft sponsered .Net
presentations and I was commenting to my coworkers how inconvenient
the system was since you loaded up Live Meeting to view the video and
then you needed to call in to get the audio or you could open an audio
stream with Real Player or Media Player.  Of course, the audio stream
was a few seconds off of the video.  Breeze really shines when it
comes to live meetings and I thought CFUnited would be a great way to
show off the tech.



On 6/28/05, Sean Corfield [EMAIL PROTECTED] wrote:
 On 6/28/05, Marlon Moyer [EMAIL PROTECTED] wrote:
  I saw that Joe Rinehart is breezing his presentation on Model-Glue
  from CFUnited, are there any other presenters doing the same?
 
 That's a special case because it was arranged with the AZCFUG prior to
 CFUNITED. I don't expect other sessions will be Breezed.
 --
 Sean A Corfield -- http://corfield.org/
 Team Fusebox -- http://fusebox.org/
 Got Gmail? -- I have 50, yes 50, invites to give away!
 
 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210842
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Podcasting..

2005-06-27 Thread Marlon Moyer
http://www.castblaster.com/


On 6/27/05, Mark A Kruger [EMAIL PROTECTED] wrote:
 I'd like to try doing a podcast (audio) - maybe once a week. I have no
 problem configuring the RSS feed (seems straightforward) - but I have
 another question. What software and hardware does anyone recommend for
 creating the audio file? Can someone give me a couple of recomendations?
 
 -Mark
 
 
 
 Mark A. Kruger, CFG, MCSE
 www.cfwebtools.com
 www.necfug.com
 http://mkruger.cfwebtools.com
 
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210669
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Viewing Hidden Frames Source Code in Firefox...

2005-06-25 Thread Marlon Moyer
Install this extension which is an HTML validator.

https://addons.mozilla.org/extensions/moreinfo.php?application=firefoxcategory=Developer%20Toolsnumpg=10id=249

This will create an icon in the lower right hand side of the browser
that has a view source option.  When you choose that, it will list all
frames, including hidden frames.  I've found it to be invaluable.

Marlon



On 6/23/05, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
 I've really been using Firefox for my main browser for about 18 months now.
 However, the one thing that really bugs me is I haven't been able to find
 anything that will allow me to easily browser the source code of hidden
 frames.
 
 In IE, you just load up the Microsoft Script Debugger and can view the
 source code for any document loaded in memory. Firefox offers the Venkman
 JavaScript Debugger, but unfortunately it tries to reload the URL to get the
 source code--it doesn't load directly from memory. This is programmatic for
 a number of reasons.
 
 Has anyone seen an extension that will allow you to view the source code in
 memory for each frame for a current tab?
 
 Slightly off topic, but does anyone know how to overwrite the default
 Reload command in the Context Menu to reload the active document object
 and not the top.window object? I'd prefer the reload to do a self.reload()
 instead of a top.window.reload(). Having to go to the This Frame sub
 context menu was something I always hated about the old Netscape browser.
 
 -Dan
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210518
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: mach II or fusebox?

2005-06-17 Thread Marlon Moyer
I feel the same way, but even more so.  I've looked at the examples on
the ontap site and feel like the learning curve is about like | while
I've been able to pickup fusebox  mach-ii  mg fairly easy with a
learning curve more like /

I think it might be that I need a video tutorial so that the different
directory structures and such might make more sense to me.  Ontap is
the only time when I've looked at the hello world example and
said,hmmm, I think I need to review this again.


On 6/17/05, Brian Kotek [EMAIL PROTECTED] wrote:
 Maybe you could do a Breeze presentation on onTap some time in Sean's Breeze
 room? I'm a Fusebox guy at heart, but am always interested in learning about
 other frameworks (I like both Mach-II and Model-Glue). However, the example
 you provided there just confused me...if anything it made it look like onTap
 is quite complicated and difficult to understand. Since it's probably just
 the fact that it was a short attempt at explaining it, I'm thinking maybe an
 hour or so in the Breeze room would make things more clear?
 
 Anyway just an idea.
 
 Regards,
 
 Brian
 
 
 On 6/17/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 
   I'm wondering which framework is the best for a large ASP
   application (basically an app where a lot of the code will
   be shared between sites, but certain things will need to
   be overridden for certain sites, and certain things will
   need to be custom written for certain sites). It would be
   nice if the framework was cross platform both OS and DB.
 
   Which framework would you recommend and why?
 
  onTap...
 
  It's cross platform for both OS and DB (supports MS SQL Server, Oracle
  8+, MySQL 4+ and MS Access, in spite of my feelings about the last)...
 
 
  Asside from having easy access to branded images and built in i18n
  functionality, it's hideously easy to change just about anything of
  the features / display on any given page... This being with regard to
  your comments about the need to brand an ASP application for
  individual clients -- this is precisely the situation which has
  inspired many (if not most) of the framework's features, because I've
  worked for a number of ASP's and without fail, branding for individual
  clients has been both one of the most important aspects of the
  application, and one of the least well implemented. (This includes the
  company I work for now -- at this particular company there appears to
  be simply no moving forward with a wholesale rewrite of the
  application on any framework, onTap or otherwise.)
 
  Example Scenarios:
 
  You have this page (output in the browser)
 
  div id=titleHome/div
  div id=main
  div id=mainmenu.../div
  div id=content
  img src=content.gif /
  ...
  /div
  /div
 
  Client requests:
 
  1. Change the content image
  place the desired graphic in the appropriate client-branding directory
  -- the framework replaces the image automatically. Images are also
  branded by language if multiple-language versions of the graphic are
  present.
 
  2. Change the title at the top of the page:
  in a separate template in the client-branding directory add:
  cfset request.tapi.ls(%title,New Title)
 
  (this is a complete template for this modification btw)
 
  or (there's always more than 1 way)
 
  cfset htlib.childSet(htlib.ref(title),1,New Title)
 
  3. Make the menu left/right aligned instead of across the top
  add a style sheet in the client-branding directory -- won't affect
  anyone else
 
  4. Add a form to the page content
  in a separate template in the client branding directory add:
 
  cfmodule template=#request.tapi.xhtml()#
  tap:variable name=content xmlns:tap=http://www.fusiontap.com;
  tap:form ...
  ... form input here -- similar to CF7 cfform, but more powerful ...
 
  /tap:form
  /tap:variable
  /cfmodule
 
  (again, this is a complete template for the modification -- note that
  in none of these situations is even a single line or character of the
  application's core code or configuration modified in any way)
 
  These are crude examples, and I would normally use more descriptive
  names for things, but it should give you an idea what's available...
  There's basically no client request for minor changes (barring major
  additions to functionality) like layout, verbiage changes, graphic
  changes, add/remove/modify forms, etc. that I can't accomodate in a
  few minutes without modifying any of my core code, because I've
  eliminated the need to parameterize the core code to accomodate client
  requests for branded functionality.
 
  hth
 
  s. isaac dealey 954.522.6080
  new epoch : isn't it time for a change?
 
  add features without fixtures with
  the onTap open source framework
 
  http://www.fusiontap.com
  http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application


Re: Rails like Framework

2005-06-16 Thread Marlon Moyer
Model-glue is great, but it's not even close to what RoR provides. 
I'm not sure of anything done in CF that's close to RoR.  I've not
used Cake so I can't comment about it.

Marlon

On 6/16/05, Greg Luce [EMAIL PROTECTED] wrote:
 Sounds like Model-Glue might interest you. http://www.model-glue.com
 
 On 6/16/05, Dustin Tinney [EMAIL PROTECTED] wrote:
 
  I've been using Ruby on Rails, http://www.rubyonrails.org/, and
  started using Cake, http://sputnik.pl/cake/, when I do php work.
 
  However most of my work is done with in Coldfusion and I'm looking for
  an MVC that works like Rails/Cake. Taking advantage of things like
  mod_rewrite, objects and heavy MVC functionality.
 
  Can any one suggest a Framework like Rails/Cake for Coldfusion, and if
  so what elements are similar?
 
  Thanks
  - Dustin
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209688
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Rails like Framework

2005-06-16 Thread Marlon Moyer
I take that back there is one kinda close thing.  PLUM is very close
to RoR in the code generation aspect, it doesn't have the ORM ability
of RoR.

Check out PLUM at www.productivityenchancement.com


On 6/16/05, Marlon Moyer [EMAIL PROTECTED] wrote:
 Model-glue is great, but it's not even close to what RoR provides.
 I'm not sure of anything done in CF that's close to RoR.  I've not
 used Cake so I can't comment about it.
 
 Marlon
 
 On 6/16/05, Greg Luce [EMAIL PROTECTED] wrote:
  Sounds like Model-Glue might interest you. http://www.model-glue.com
 
  On 6/16/05, Dustin Tinney [EMAIL PROTECTED] wrote:
  
   I've been using Ruby on Rails, http://www.rubyonrails.org/, and
   started using Cake, http://sputnik.pl/cake/, when I do php work.
  
   However most of my work is done with in Coldfusion and I'm looking for
   an MVC that works like Rails/Cake. Taking advantage of things like
   mod_rewrite, objects and heavy MVC functionality.
  
   Can any one suggest a Framework like Rails/Cake for Coldfusion, and if
   so what elements are similar?
  
   Thanks
   - Dustin
  
  
 
  

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209693
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Rails like Framework

2005-06-16 Thread Marlon Moyer
Thanks Joe, now I'm gonna wonder for 2 weeks what you're talking
about, cause I've been really impressed with what RoR can do and
trying to think about how I can replicate some of that functionality
in CF.

On 6/16/05, Joe Rinehart [EMAIL PROTECTED] wrote:
 Wait two weeks :)
 
 (that's all I'll say for now)
 
 -Joe
 
 On 6/16/05, Marlon Moyer [EMAIL PROTECTED] wrote:
  Model-glue is great, but it's not even close to what RoR provides.
  I'm not sure of anything done in CF that's close to RoR.  I've not
  used Cake so I can't comment about it.
 
  Marlon
 
  On 6/16/05, Greg Luce [EMAIL PROTECTED] wrote:
   Sounds like Model-Glue might interest you. http://www.model-glue.com
  
   On 6/16/05, Dustin Tinney [EMAIL PROTECTED] wrote:
   
I've been using Ruby on Rails, http://www.rubyonrails.org/, and
started using Cake, http://sputnik.pl/cake/, when I do php work.
   
However most of my work is done with in Coldfusion and I'm looking for
an MVC that works like Rails/Cake. Taking advantage of things like
mod_rewrite, objects and heavy MVC functionality.
   
Can any one suggest a Framework like Rails/Cake for Coldfusion, and if
so what elements are similar?
   
Thanks
- Dustin
   
   
  
  
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209695
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: DB schema diagram, now what?

2005-05-27 Thread Marlon Moyer
If you have the enterprise version of visio, you can use it to create
the database, although I would recommend against it as it creates old
style 'trigger' relationships.  I've had much better results using
Diagrams on Enterprise manager.


On 5/27/05, Damien McKenna [EMAIL PROTECTED] wrote:
 In our efforts to rewrite our systems I've developed a diagram of one of
 our databases using Visio and added the key relationships.  Is there
 anything else I can do with Visio to further this, I'm kind-of a n00b at
 this?  Thanks.
 
 --
 Damien McKenna - Web Developer - [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 The Limu Company - http://www.thelimucompany.com/
 http://www.thelimucompany.com/  - 407-804-1014
 #include stdjoke.h
 
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207852
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Enterprise Edition vs. CF Standard Edition

2005-05-19 Thread Marlon Moyer
In Texas that's three words.

On 5/19/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
 two words: asynchronous gateway
 
  We are looking at moving up to MX7 from MX6.1 Standard.
  How  would you sell the idea of moving from Standard to
  Enterprise? What are the compelling reasons for spending
  the extra cash on Enterprise?  Purse strings are fairly
  tight here, but with a well defined argument it is not
  impossible to convince them to spend the money.
 
  Have you moved from Standard to Enterprise? What are the
  biggest advantages you have experienced?
 
  Are you considering the move up? What are your
  justifications?
 
 
 
 s. isaac dealey   954.522.6080
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207193
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Creating Windows GUIDs with Cold Fusion

2005-05-09 Thread Marlon Moyer
Like this? 

http://www.cflib.org/udf.cfm?ID=54

or do you mean something else...


On 5/9/05, SStewart [EMAIL PROTECTED] wrote:
 All,
 
 Has anyone tried creating a Windows GUID (Globally Unique Indentifier) with 
 Cold Fusion?
 
 sas
 
 Scott A. Stewart,
 Web Application Developer
 
 Engineering Consulting Services, Ltd. (ECS)
 14026 Thunderbolt Place, Suite 300
 Chantilly, VA 20151
 Phone: (703) 995-1737
 Fax: (703) 834-5527
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 05/09/2005
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206112
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Creating Windows GUIDs with Cold Fusion

2005-05-09 Thread Marlon Moyer
Like this? 

http://www.cflib.org/udf.cfm?ID=54

or do you mean something else...


On 5/9/05, SStewart [EMAIL PROTECTED] wrote:
 All,
 
 Has anyone tried creating a Windows GUID (Globally Unique Indentifier) with 
 Cold Fusion?
 
 sas
 
 Scott A. Stewart,
 Web Application Developer
 
 Engineering Consulting Services, Ltd. (ECS)
 14026 Thunderbolt Place, Suite 300
 Chantilly, VA 20151
 Phone: (703) 995-1737
 Fax: (703) 834-5527
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 05/09/2005
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206116
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Creating Windows GUIDs with Cold Fusion

2005-05-09 Thread Marlon Moyer
Sorry, gmail hiccup.

On 5/9/05, Marlon Moyer [EMAIL PROTECTED] wrote:
 Like this?
 
 http://www.cflib.org/udf.cfm?ID=54
 
 or do you mean something else...
 
 On 5/9/05, SStewart [EMAIL PROTECTED] wrote:
  All,
 
  Has anyone tried creating a Windows GUID (Globally Unique Indentifier) with 
  Cold Fusion?
 
  sas
 
  Scott A. Stewart,
  Web Application Developer
 
  Engineering Consulting Services, Ltd. (ECS)
  14026 Thunderbolt Place, Suite 300
  Chantilly, VA 20151
  Phone: (703) 995-1737
  Fax: (703) 834-5527
 
  --
  No virus found in this outgoing message.
  Checked by AVG Anti-Virus.
  Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 05/09/2005
 
  

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206117
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Sessions and File/New/Window in IE

2005-05-09 Thread Marlon Moyer
This is the way it's supposed to work.  If you choose File-- New
Window, the new window will be an extension of the current session. 
If you choose Start--Program Files--Internet explorer, you will get
a new session with new session variables.  I'm not sure of a work
around because it's dependent upon how IE acts.


On 5/9/05, Andy Ousterhout [EMAIL PROTECTED] wrote:
 When I create new window in IE,   MX 7 does not appear to be creating a new
 session;  one window can change the other window's session variables.  Is
 this the way it is supposed to work?  If so, any suggestions on how I can
 make it act like two different sessions?
 
 Andy
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206156
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Scheduled task creates a session

2005-05-02 Thread Marlon Moyer
I was just experimenting around with the unsupported sessiontracker
object and was surprised to see that my scheduled task was creating a
session every 3 minutes when it ran.  Considering my session timeouts
timeouts are set at 4 hours, that's a lot of extraneous sessions held
in memory.  What can I do to keep this from happening?  I'd put
another application.cfm file in the task subdir, but I need objects
from the root application.cfm to be instantiated.  Is there a way to
specify to kill the current session?

Thanks

Marlon
-- 
Invite 50 Friends to Gmail!  Who has friggin' 50 friends!?

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205296
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Scheduled task creates a session

2005-05-02 Thread Marlon Moyer
Thanks, from your email and Ian's, I figured out how to do it.  At the
top of my application.cfm ,I've got the line cfset set_session =
cgi.http_user_agent neq CFSCHEDULE  works perfectly.  I had no idea
you could set the session management on the fly.  I figured as soon as
you turned off session management, it would turn off all active
sessions.

thanks again.

On 5/2/05, S. Isaac Dealey [EMAIL PROTECTED] wrote:
  I was just experimenting around with the unsupported
  sessiontracker
  object and was surprised to see that my scheduled task was
  creating a
  session every 3 minutes when it ran.  Considering my
  session timeouts
  timeouts are set at 4 hours, that's a lot of extraneous
  sessions held
  in memory.  What can I do to keep this from happening?
  I'd put
  another application.cfm file in the task subdir, but I
  need objects
  from the root application.cfm to be instantiated.  Is
  there a way to
  specify to kill the current session?
 
  Thanks
 
  Marlon
 
 Add this to all your scheduled tasks:
 
 scheduled=true
 
 then this in your application.cfm
 
 cfparam name=url.scheduled type=boolean default=false
 cfapplication sessionmanagement=#not url.scheduled#
 
 Just make sure your scheduled task pages don't reference any session
 variables.
 
 Or... optionally, you could explicitly declare a cftoken  cfid pair
 in the scheduled task url's, which would cause them all to share a
 single session.
 
 Neither of which I've tested, just throwing out ideas.
 
 s. isaac dealey   954.522.6080
 new epoch : isn't it time for a change?
 
 add features without fixtures with
 the onTap open source framework
 
 http://www.fusiontap.com
 http://coldfusion.sys-con.com/author/4806Dealey.htm
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205302
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOLVED: Re: SOT: CVS getting started help

2005-04-22 Thread Marlon Moyer
I had the same experience with Hatton.  He really goes out of his way
to help people.  The downside is when he calls you, nobody else
realizes how much he helps.

On 4/22/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Thanks Marlonand a BIG thanks to Hatton who actually picked up the phone
 and called me!!


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204003
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Setting up Subversion

2005-04-14 Thread Marlon Moyer
For anyone interested in setting up Subversion on a Win32 server, this
is a great hand holding tutorial for it.  It's geared towards Unreal
Tournament development, but you can easily translate it to web
development.

http://wiki.beyondunreal.com/wiki/Setting_Up_A_Subversion_Server


-- 
Invite 50 Friends to Gmail!  Who has friggin' 50 friends!?

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202764
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: What's your setup for multiple developers

2005-04-13 Thread Marlon Moyer
I would like to use CFEclipse, but I got really used to using
CTRL-SHIFT-U to send a file to the production server for small
updates.  What I'd really like to to have all updates go to source
control and then have a quick way to update the production server from
source control.  Then I really wouldn't miss the CTRL-SHIFT-U much.



On 4/13/05, Ken Ferguson [EMAIL PROTECTED] wrote:
 I like the last line of that email...
 
 For all of you DWMX people out there, I tried to give it a shot. I
 really did try my hardest to like it. In the end though, I just couldn't
 do it. It's the most frustrating application I've ever used, apart from
 Lotus Notes that is. I'm now using CFEclipse and I can't scream loudly
 enough about how much I like it. I've been using it exclusively for
 about a month now and I don't see myself using anything else for a hell
 of a long time. I use it for CF, PHP/Smarty and Laszlo development and
 it's just pure greatness.
 
 --Ferg
 
 
 -Original Message-
 From: Robertson-Ravo, Neil (RX)
 [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 13, 2005 8:15 AM
 To: CF-Talk
 Subject: RE: What's your setup for multiple developers
 
 VSS works AOK for us, never had issues - indeed the next version of VSS
 should improve things no end.
 
 I would avoid Dreamweaver MX like the plague.
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202549
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


What's your setup for multiple developers

2005-04-12 Thread Marlon Moyer
I'm trying to figure out best to configure my development server. 
I've got 2 developers and 1 more on the way soon.  We currently work
with CF6, but we are thinking of going to CF7 very soon.  I've always
used the devnet version of CF on my local machine, currently CF6, to
develop and the other developer used the development server.  We
really need to start working on some shared code, but it seems that
without buying another license to use on the development server, were
kinda screwed.

How are other shops doing it?  


-- 
Invite 50 Friends to Gmail!  Who has friggin' 50 friends!?

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202402
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: What's your setup for multiple developers

2005-04-12 Thread Marlon Moyer
do you have any suggestions for a windows only environment concerning
version control?  I know the vb guy uses MS VSS.  How easy is that to
integrate into DWMX?


On Apr 12, 2005 12:42 PM, Sean Corfield [EMAIL PROTECTED] wrote:
 On Apr 12, 2005 6:13 AM, Marlon Moyer [EMAIL PROTECTED] wrote:
  How are other shops doing it?
 
 Central source code repository using CVS (free, good free tools as well).
 
 Every developer has Developer Edition locally and a full version of the site.
 
 We also have several shared dev servers for developers to test
 integration of their work (and multiple QA servers for testing).
 
 We often have multiple code branches active at any one time, to cater
 for multiple project releases.
 
 Every server and workstation is configured as close to identically as
 possible (CFMX J2EE, separate document root, Apache etc - our
 deployment environment is multiple clustered Solaris servers).
 
 We mostly shared one dev database but we have a crash'n'burn
 database for schema development and an additional dev database for
 code branches that require incompatible schema changes (rare, but it
 happens sometimes).
 
 We also have a bugbase - Bugzilla - which is a great way to track all
 issues, not just bugs.
 
 And we have an automated build system that we can run from the CVS
 server out to any shared dev / QA or production server. It's
 home-grown, a mixture of Ant, Perl and Unix shell scripts. We tag all
 release candidate builds so we can automatically reproduce a known,
 tested code base directly from CVS to a target server.
 --
 Sean A Corfield -- http://corfield.org/
 Team Fusebox -- http://fusebox.org/
 Got Gmail? -- I have 50, yes 50, invites to give away!
 
 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202456
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Devnet vs. Developer Edition

2005-04-11 Thread Marlon Moyer
If I have the Devnet version of CFMX 6.1, what is the benefit of it
over the Developer's version of CFMX 6.1?

I'm asking, because I'm building a new development server and I'm
about to install a CF server.  Also, if I'm planning on installing
CFMX 7, would this influence what version I should choose?

Thanks.

-- 
Invite 50 Friends to Gmail!  Who has friggin' 50 friends!?

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202280
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Devnet vs. Developer Edition

2005-04-11 Thread Marlon Moyer
I have noticed how irritating that META tag can be.  I know that the
old Developers version used to let one external ip and localhost
connect.  Has that changed?  I've got 2 developers hitting this server
with the possibility of one more in the near future.



On Apr 11, 2005 3:36 PM, Barney Boisvert [EMAIL PROTECTED] wrote:
 DevNet edition allows as many users as you want to connect, but all
 developers must have a DevNet subscription.  On CF7, it also appends a
 META tag to the top of your document (not in the HEAD) that cannot be
 removed, so you can't use it for XML documents, DOCTYPE sniffing, or
 other things that depend on not having random tags floating around.
 
 Developer edition is free to anyone to use, but is restricted to a
 couple IP addresses, so you can't share among multiple developers.
 
 Also DevNet is dead, if you've got lingering subscription time it'll
 last until then, but you can't renew, so it's probably best to avoid
 any dependance on it, even if it'd make things easier (which it does).
 
 On Apr 11, 2005 1:29 PM, Marlon Moyer [EMAIL PROTECTED] wrote:
  If I have the Devnet version of CFMX 6.1, what is the benefit of it
  over the Developer's version of CFMX 6.1?
 
  I'm asking, because I'm building a new development server and I'm
  about to install a CF server.  Also, if I'm planning on installing
  CFMX 7, would this influence what version I should choose?
 
  Thanks.
 
 --
 Barney Boisvert
 [EMAIL PROTECTED]
 360.319.6145
 http://www.barneyb.com/
 
 Got Gmail? I have 50 invites.
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202299
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Devnet vs. Developer Edition

2005-04-11 Thread Marlon Moyer
Sorry, forgot to mention that we haven't gone to cf7 yet.  Do you
remember how many cf6 allows, and for that matter, where can I get the
trial/developer edition of cf6.

On Apr 11, 2005 3:57 PM, Barney Boisvert [EMAIL PROTECTED] wrote:
 CF7 lets you have two external IPs in addition to localhost.
 
 cheers,
 barneyb
 
 On Apr 11, 2005 1:48 PM, Marlon Moyer [EMAIL PROTECTED] wrote:
  I have noticed how irritating that META tag can be.  I know that the
  old Developers version used to let one external ip and localhost
  connect.  Has that changed?  I've got 2 developers hitting this server
  with the possibility of one more in the near future.
 
 --
 Barney Boisvert
 [EMAIL PROTECTED]
 360.319.6145
 http://www.barneyb.com/
 
 Got Gmail? I have 50 invites.
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202303
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Built a dirty word checker, testing please?

2005-04-09 Thread Marlon Moyer
Toss my salad passed with flying colors! :)


On Apr 9, 2005 12:23 PM, Will Tomlinson [EMAIL PROTECTED] wrote:
 Even with english it doesn't appear to work at all... every single one
 of these words passed: dirty filthy slimy greasy sleazy scuzzy cruddy
 dungy grubby grungy mucky muddy mung murky raunchy scummy skank
 sullied yucky
 
 
 And every one of those words would be allowed on my pages. let's stick with 
 the words you DON'T want allowed on your pages.  :)
 
 Will
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202097
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Built a dirty word checker, testing please?

2005-04-09 Thread Marlon Moyer
http://www.urbandictionary.com/define.php?term=toss+my+saladr=f

On Apr 9, 2005 2:29 PM, Rick Faircloth [EMAIL PROTECTED] wrote:
 Toss my salad...?
 
 
 -Original Message-
 From: Clark Slater [mailto:[EMAIL PROTECTED]
 Sent: Saturday, April 09, 2005 3:22 PM
 To: CF-Talk
 Subject: RE: Built a dirty word checker, testing please?
 
 wanker
 
 -Original Message-
 From: Marlon Moyer [mailto:[EMAIL PROTECTED]
 Sent: Saturday, April 09, 2005 11:26 AM
 To: CF-Talk
 Subject: Re: Built a dirty word checker, testing please?
 
 Toss my salad passed with flying colors! :)
 
 On Apr 9, 2005 12:23 PM, Will Tomlinson [EMAIL PROTECTED] wrote:
  Even with english it doesn't appear to work at all... every single
  one of these words passed: dirty filthy slimy greasy sleazy scuzzy
  cruddy dungy grubby grungy mucky muddy mung murky raunchy scummy
  skank sullied yucky
  
 
  And every one of those words would be allowed on my pages. let's stick
  with the words you DON'T want allowed on your pages.  :)
 
  Will
 
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202110
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ms-sql ( if statements )

2005-04-04 Thread Marlon Moyer
If you want to do this kind of dynamic query, I believe you need to be
using the CASE WHEN THEN ELSE END format for ms-sql, but that will be
a beast to create.

If you want to do this with CF creating a dynamic query, you'd do
something like this:

cfquery
   cfif form.what = 1
   select * from candidate where
   cfelse
   select * from advertiser where
  /cfif

   cfif form.by = 1

   cfif form.what eq 1
   first_name like
'%#form.dastring#%' or last_name like '%#form.dastring#%'
   cfelse
   company_name like
'%#form.dastring#%'
   /cfif
   cfelse

   cfif form.by = 2

   cfif form.what eq 1
   email like
'%#form.dastring#%'
  cfelse
   contact_email
like '%#form.dastring#%'
  /cfif
  cfelse
   id = '#form.dastring#'
 /cfif

On Apr 4, 2005 10:15 AM, Protoculture [EMAIL PROTECTED] wrote:
 I dont see why my if ..else statements are causing errors when performing a 
 query against an ms-sql database
 
 CODE:
 
 if #form.what# = 1
 select * from candidate where
 else
 select * from advertiser where
 
 if #form.by# = 1
 
 if #form.what# eq 1
 first_name like 
 '%#form.dastring#%' or last_name like '%#form.dastring#%'
 else
 company_name like 
 '%#form.dastring#%'
 
 else
 
 if #form.by# = 2
 
 if #form.what# eq 1
 email like 
 '%#form.dastring#%'
 else
 contact_email like 
 '%#form.dastring#%'
 else
 id = '#form.dastring#'
 
 ERROR:
 
 Error Executing Database Query.
 [Macromedia][SQLServer JDBC Driver][SQLServer]Incorrect syntax near the 
 keyword 'else'.
 
 The error occurred in 
 C:\Inetpub\wwwroot\executivesontheweb\admin\usermanagement\search.cfm: line 78
 
 76 :contact_email like 
 '%#form.dastring#%'
 77 :else
 78 :id = '#form.dastring#'
 79 :
 80 :/cfquery
 
 
 
 SQLif 1 = 1 select * from candidate where else select * from advertiser 
 where if 2 = 1 if 1 eq 1 first_name like '%mystring%' or last_name like 
 '%mystring%' else company_name like '%mystring%' else if 2 = 2 if 1 eq 1 
 email like '%mystring%' else contact_email like '%mystring%' else id = 
 'mystring'
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201365
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Table name - Singular or plural?

2005-03-30 Thread Marlon Moyer
Why is this even a consideration.  What other programming languages do
you use that allow you to have correct English syntax?  SQL is
(S)tructured (Q)uery (L)anguage.  As far as I know, the only grammer
rules is requires pertain to well formed query statements.  CF doesn't
pluralize it's scopes even though url and form variables are
collections of things, do you put a cfset formvariables = form/
cfset urlvariables = url/ in your application.cfm?  :)



 But when it comes down to it, this is all convention. I pluralise
 because bits of SQL like SELECT ... FROM products ..., INSERT INTO
 products ..., UPDATE products ..., and DELETE FROM products ...
 read better than me because these work on sets of entities as opposed
 to singular entities. When it comes down to it, how it sounds is
 really the only way of justifying it.
 
 K.
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200733
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Table name - Camel case or Underscore

2005-03-30 Thread Marlon Moyer
Sorry, couldn't resist :)

Marlon

-- 
Invite 50 Friends to Gmail!  Who has friggin' 50 friends!?

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200770
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: how many xml nodes

2005-03-25 Thread Marlon Moyer
There's nothing that I know of.  This seems like it'd be fairly to
create a recursive function to do this though but it could vary by
what you call a node.  In javascript, there seems to be several
nodeTypes (eg. the text inside of a pair of tags is considered a
node)Not sure of the CF implementation


On Thu, 24 Mar 2005 21:46:36 -0500, Tony Weeg [EMAIL PROTECTED] wrote:
 hola..
 
 is there a function anywhere that will return the number of nodes in
 an xml document?
 
 just wondering...
 
 thank you!
 
 --
 tony
 
 Tony Weeg
 
 macromedia certified coldfusion mx developer
 email: tonyweeg [at] gmail [dot] com
 blog: http://www.revolutionwebdesign.com/blog/
 cool tool: http://www.antiwrap.com
 
 ...straight cash homey
 - randy moss, now a raider
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:24
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   3   4   5   >