RE: Cool things about cf
Every PHP guy I've spoken with uses a config file of some sort. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Monday, November 13, 2006 5:28 PM To: CF-Talk Subject: RE: Cool things about cf The Application scope, and Application.cfm/cfc. I was talking with my two co-workers who program in PHP which doesn't have anything like an Application scope. I'm trying to think how I would live without the application scope...hard to fathom. What do they do, store application level stuff in files or DBs? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260311 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
I'm trying to think how I would live without the application scope...hard to fathom. What do they do, store application level stuff in files or DBs? Every PHP guy I've spoken with uses a config file of some sort. Ok, but that doesn't help for caching application level data. For example, to speed CFQuickDocs up, I put the data in server memory using the application scope. Then when /any/ site user does a query, it pulls directly from memory. And, it's insanely easy to do this: cfset application.cftagsquery = variables.cftagsquery but how would you accomplish such a thing in PHP? It's probably possible, but with a lot of code. Or maybe it's not possible? - -- 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. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260338 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Dan, I didnt have to deal with that. I looked over my old code (my first cfc - yikes!) you just use isready and readline. There is an example here. http://coldfusion.sys-con.com/read/86121.htm DRE On 11/13/06, Dan Plesse [EMAIL PROTECTED] wrote: DRE how do you deal with EOF and the null issue? Do you remember where you discovered BufferedReader and do you use the close() methods for those two objects? thanks I use StringReader to LineNumberReader after cffile to avoid another close() method and to get line number if I happen to need them. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260339 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Jacob, There are a bunch of php caching classes available. Basically, the classes usually serialize any object to a text representation and store that in a file. The serialization and deserialization to from file is very quick and once you have the class, performing the process is usually a one liner. Here is an example. http://www.zend.com/zend/spotlight/code-gallery-wade4.php?article=code-gallery-wade4kind=slid=1899open=anc=0view=1 Its not as easy as using the application scope but it does work. DRE On 11/14/06, Munson, Jacob [EMAIL PROTECTED] wrote: I'm trying to think how I would live without the application scope...hard to fathom. What do they do, store application level stuff in files or DBs? Every PHP guy I've spoken with uses a config file of some sort. Ok, but that doesn't help for caching application level data. For example, to speed CFQuickDocs up, I put the data in server memory using the application scope. Then when /any/ site user does a query, it pulls directly from memory. And, it's insanely easy to do this: cfset application.cftagsquery = variables.cftagsquery but how would you accomplish such a thing in PHP? It's probably possible, but with a lot of code. Or maybe it's not possible? - -- 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. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260346 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
Jacob, There are a bunch of php caching classes available. Basically, the classes usually serialize any object to a text representation and store that in a file. The serialization and deserialization to from file is very quick and once you have the class, performing the process is usually a one liner. Ok, so now we're comparing memory access to file access. I'd go for direct memory access over file system any day... - -- 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. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260347 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Everyone has already responded to you with all the things I would have added. But it's the simple things that make CF cool in my opinion. Working with PHP, or .Net or Java, simple things like File Uploads and CFQuery are what make CF cool. One thing I would add is CFMail. I've been through hell dabbling with PHP, hitting brick walls trying to send a simple email (the details of which are for a different post on a different mailing list). After that, and seeing how complicated it can be in ASP and .Net. CFMail is simple yet powerful, with just one attribute you can easily send an HTML or plain text email. No extra configuration or decoding necessary. Coldfusion handles all of that for you. Ali Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260352 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
DRE, I agree that's some bad stuff. It looks like when I first started coding 2 years ago. I would readLine() first Check Null true/false Enter the loop readLine again on the bottom of the loop End loop close() objects null them force gc() Look like this. cfset variable.line = java_io_LineNumberReader.readline() cfloop condition=#IsDefined(variable.line)# cfif find(findThis, variable.line) GT 0 cfset variable.line = Replace(variable.line, http://www.opticalalert.com/r.cfm?urlvalue=,,ONE;) cfset variable.line = Replace(variable.line, findThis, replacethis, ONE) cfset start = REFind([[:digit:]], variable.line, 1, true).pos[1]+5 cfset some_text = left(variable.line,start) ' target=new style=font:none;' cfset bigstring = bigstring some_text cfelse cfset bigstring = bigstring variable.line /cfif cfset variable.line = java_io_LineNumberReader.readline() /cfloop I had to do a big switch / remove text from all my pages. And this is inside another recursive loop. Big job. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260363 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Its nice to just wrap it up in a cfc. It makes it more readable and a bit more reeuseable(just a wee bit). DRE On 11/14/06, Dan Plesse [EMAIL PROTECTED] wrote: DRE, I agree that's some bad stuff. It looks like when I first started coding 2 years ago. I would readLine() first Check Null true/false Enter the loop readLine again on the bottom of the loop End loop close() objects null them force gc() Look like this. cfset variable.line = java_io_LineNumberReader.readline() cfloop condition=#IsDefined(variable.line)# cfif find(findThis, variable.line) GT 0 cfset variable.line = Replace(variable.line, http://www.opticalalert.com/r.cfm?urlvalue=,,ONE;) cfset variable.line = Replace(variable.line, findThis, replacethis, ONE) cfset start = REFind([[:digit:]], variable.line, 1, true).pos[1]+5 cfset some_text = left(variable.line,start) ' target=new style=font:none;' cfset bigstring = bigstring some_text cfelse cfset bigstring = bigstring variable.line /cfif cfset variable.line = java_io_LineNumberReader.readline() /cfloop I had to do a big switch / remove text from all my pages. And this is inside another recursive loop. Big job. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260401 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Nobody has any feedback? I posted over the weekend and think I missed everybody so here it is again. http://increasetheknowledge.com/t-c9d22c37a5e3e708dc3971ac6_Coldfusion_out_of_the_box.html DRE On 11/11/06, Dan Plesse [EMAIL PROTECTED] wrote: I am interested to find out how other CFers do line by line search replace and the insert text like Dreamweaver does it. What do CF developers do if there is multiple steps are needed to change a html file for example. I guess they play with the whole html file as one big chunk of text and use the mid replace functions. Does anyone use something else? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260183 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
ps, please respond directly [EMAIL PROTECTED] DRE On 11/13/06, DRE [EMAIL PROTECTED] wrote: Nobody has any feedback? I posted over the weekend and think I missed everybody so here it is again. http://increasetheknowledge.com/t-c9d22c37a5e3e708dc3971ac6_Coldfusion_out_of_the_box.html DRE On 11/11/06, Dan Plesse [EMAIL PROTECTED] wrote: I am interested to find out how other CFers do line by line search replace and the insert text like Dreamweaver does it. What do CF developers do if there is multiple steps are needed to change a html file for example. I guess they play with the whole html file as one big chunk of text and use the mid replace functions. Does anyone use something else? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Yes I look it over and bookmarked it. I like this part In the case where you have a very large document, it is still fairly simple to use the underlying Java functionality to read documents in small increments and this was my question out to all CF Dev on how CF developers do this normally and maybe vote on the best method or methods. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260224 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
The Application scope, and Application.cfm/cfc. I was talking with my two co-workers who program in PHP which doesn't have anything like an Application scope. I'm trying to think how I would live without the application scope...hard to fathom. What do they do, store application level stuff in files or DBs? -- 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. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260262 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Dan, To do it line by line via Java, I've used java.io.FileReader and java.io.BufferedReader. Theres plenty of info online and probably some cfc's available that already do it. However, in most cases, you can just turn the file into an array by using listtoarray on the content from cffile then loop thru that array. Make sure you use arrays as opposed to list structures, as its a fair bit faster. DRE On 11/13/06, Dan Plesse [EMAIL PROTECTED] wrote: Yes I look it over and bookmarked it. I like this part In the case where you have a very large document, it is still fairly simple to use the underlying Java functionality to read documents in small increments and this was my question out to all CF Dev on how CF developers do this normally and maybe vote on the best method or methods. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260264 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
DRE how do you deal with EOF and the null issue? Do you remember where you discovered BufferedReader and do you use the close() methods for those two objects? thanks I use StringReader to LineNumberReader after cffile to avoid another close() method and to get line number if I happen to need them. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260269 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Grief these tutorials take forever to write! If anybody wants to see what I've written and or give me some feedback, it will be welcome. http://increasetheknowledge.com/t-c9d22c37a5e3e708dc3971ac6_Coldfusion_out_of_the_box.html Please respond directly to me at [EMAIL PROTECTED] Also, please link to it if you have a coldfusion blog. Thanks! DRE On 11/9/06, DRE [EMAIL PROTECTED] wrote: Thanks Bobby, I'll use that. On 11/8/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: Here's a simple, useful example. cfscript function bhimginfo(imgfile){ jFileIn = createObject(java,java.io.File).init(imgfile); ImageInfo = StructNew(); ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn); imageFile = CreateObject(java, java.io.File); imageFile.init(imgfile); sizeb = imageFile.length(); sizekb = numberformat(sizeb / 1024, 9.99); sizemb = numberformat(sizekb / 1024, .99); bhImageInfo = StructNew(); bhImageInfo.ImgWidth = ImageObject.getWidth(); bhImageInfo.ImgHeight = ImageObject.getHeight(); bhImageInfo.SizeB = sizeb; bhImageInfo.SizeKB = sizekb; bhImageInfo.SizeMB = sizemb; } /cfscript It will return image width, height, filesize (in bytes, kilobytes, and megabytes) -Original Message- From: DRE [mailto: [EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 11:29 AM To: CF-Talk Subject: Re: Cool things about cf Ben, I've instantiated java before using cf but its not been all that simple. What would be a good example of a simple but very useful java instantiation suitable for a tutorial? DRE On 11/8/06, Ben Nadel [EMAIL PROTECTED] wrote: I looked through the other responses, and I might have missed it, but the ability to instantiate Java objects, call underlying Java methods, and write your own Java classes... That's pretty freakin' nifty. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260019 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Category SubCategory Sub SubCategory Name Quantity Birds Large Vegetarian Ibis 3 Birds Large Vegetarian Flamingo 8 Birds Large Meatatarian Heron 2 Birds Large Meatatarian Vulture 2 Birds Small Vegetarian HummingBird 20 Birds Small Vegetarian Sparow 1 Birds Small Vegetarian Swallow 3 Rodent Small Vegetarian Fieldmouse 6 Rodent Medium Vegetarian Guinea Pig 2 Rodent Medium Omnivore Rat 2 Are meat eating birds really called Meatatarians? Too damn funny!! I thought everything was called carnivores that ate meat Doug B.. - Original Message - From: DRE [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Saturday, November 11, 2006 1:07 PM Subject: Re: Cool things about cf Grief these tutorials take forever to write! If anybody wants to see what I've written and or give me some feedback, it will be welcome. http://increasetheknowledge.com/t-c9d22c37a5e3e708dc3971ac6_Coldfusion_out_of_the_box.html Please respond directly to me at [EMAIL PROTECTED] Also, please link to it if you have a coldfusion blog. Thanks! DRE On 11/9/06, DRE [EMAIL PROTECTED] wrote: Thanks Bobby, I'll use that. On 11/8/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: Here's a simple, useful example. cfscript function bhimginfo(imgfile){ jFileIn = createObject(java,java.io.File).init(imgfile); ImageInfo = StructNew(); ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn); imageFile = CreateObject(java, java.io.File); imageFile.init(imgfile); sizeb = imageFile.length(); sizekb = numberformat(sizeb / 1024, 9.99); sizemb = numberformat(sizekb / 1024, .99); bhImageInfo = StructNew(); bhImageInfo.ImgWidth = ImageObject.getWidth(); bhImageInfo.ImgHeight = ImageObject.getHeight(); bhImageInfo.SizeB = sizeb; bhImageInfo.SizeKB = sizekb; bhImageInfo.SizeMB = sizemb; } /cfscript It will return image width, height, filesize (in bytes, kilobytes, and megabytes) -Original Message- From: DRE [mailto: [EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 11:29 AM To: CF-Talk Subject: Re: Cool things about cf Ben, I've instantiated java before using cf but its not been all that simple. What would be a good example of a simple but very useful java instantiation suitable for a tutorial? DRE On 11/8/06, Ben Nadel [EMAIL PROTECTED] wrote: I looked through the other responses, and I might have missed it, but the ability to instantiate Java objects, call underlying Java methods, and write your own Java classes... That's pretty freakin' nifty. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260027 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Yup, I agree with the easy Java. There /is/ a lot of cool java stuff out there. Writing cf-java is super easy, compared to java java, and CF has the nifty parts without the PITA parts, for the most part. d-: The built in error trapping/handling is pretty slick, too. It's super flexible, which can be dangerous for the likes of me. :) Overall it's got a good power/ease of use ratio, I'd posit. [: On 11/8/06, Dan Plesse [EMAIL PROTECTED] wrote: I looked at how java works with web services i.e axis and the fact that you don't have to do extra work in CF to ship/send/ or receive any kind of object is truly amazing. In java land its yet another issue. For java web service on CF I have to WDDX each object before its sent and before its received and decompile back again. It's a real pain and an extra step. You can't put a price tag on all the magic its priceless and its not just a bunch cool stuff to list off either taken in total its a step ahead. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260038 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
I am interested to find out how other CFers do line by line search replace and the insert text like Dreamweaver does it. What do CF developers do if there is multiple steps are needed to change a html file for example. I guess they play with the whole html file as one big chunk of text and use the mid replace functions. Does anyone use something else? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260045 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Just keeping the non coldfusioners slightly confused. DRE On 11/11/06, Doug Brown [EMAIL PROTECTED] wrote: Category SubCategory Sub SubCategory Name Quantity Birds Large Vegetarian Ibis 3 Birds Large Vegetarian Flamingo 8 Birds Large Meatatarian Heron 2 Birds Large Meatatarian Vulture 2 Birds Small Vegetarian HummingBird 20 Birds Small Vegetarian Sparow 1 Birds Small Vegetarian Swallow 3 Rodent Small Vegetarian Fieldmouse 6 Rodent Medium Vegetarian Guinea Pig 2 Rodent Medium Omnivore Rat 2 Are meat eating birds really called Meatatarians? Too damn funny!! I thought everything was called carnivores that ate meat Doug B.. - Original Message - From: DRE [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Saturday, November 11, 2006 1:07 PM Subject: Re: Cool things about cf Grief these tutorials take forever to write! If anybody wants to see what I've written and or give me some feedback, it will be welcome. http://increasetheknowledge.com/t-c9d22c37a5e3e708dc3971ac6_Coldfusion_out_of_the_box.html Please respond directly to me at [EMAIL PROTECTED] Also, please link to it if you have a coldfusion blog. Thanks! DRE On 11/9/06, DRE [EMAIL PROTECTED] wrote: Thanks Bobby, I'll use that. On 11/8/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: Here's a simple, useful example. cfscript function bhimginfo(imgfile){ jFileIn = createObject(java,java.io.File).init(imgfile); ImageInfo = StructNew(); ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn); imageFile = CreateObject(java, java.io.File); imageFile.init(imgfile); sizeb = imageFile.length(); sizekb = numberformat(sizeb / 1024, 9.99); sizemb = numberformat(sizekb / 1024, .99); bhImageInfo = StructNew(); bhImageInfo.ImgWidth = ImageObject.getWidth(); bhImageInfo.ImgHeight = ImageObject.getHeight(); bhImageInfo.SizeB = sizeb; bhImageInfo.SizeKB = sizekb; bhImageInfo.SizeMB = sizemb; } /cfscript It will return image width, height, filesize (in bytes, kilobytes, and megabytes) -Original Message- From: DRE [mailto: [EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 11:29 AM To: CF-Talk Subject: Re: Cool things about cf Ben, I've instantiated java before using cf but its not been all that simple. What would be a good example of a simple but very useful java instantiation suitable for a tutorial? DRE On 11/8/06, Ben Nadel [EMAIL PROTECTED] wrote: I looked through the other responses, and I might have missed it, but the ability to instantiate Java objects, call underlying Java methods, and write your own Java classes... That's pretty freakin' nifty. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260046 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Thanks Bobby, I'll use that. On 11/8/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: Here's a simple, useful example. cfscript function bhimginfo(imgfile){ jFileIn = createObject(java,java.io.File).init(imgfile); ImageInfo = StructNew(); ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn); imageFile = CreateObject(java, java.io.File); imageFile.init(imgfile); sizeb = imageFile.length(); sizekb = numberformat(sizeb / 1024, 9.99); sizemb = numberformat(sizekb / 1024, .99); bhImageInfo = StructNew(); bhImageInfo.ImgWidth = ImageObject.getWidth(); bhImageInfo.ImgHeight = ImageObject.getHeight(); bhImageInfo.SizeB = sizeb; bhImageInfo.SizeKB = sizekb; bhImageInfo.SizeMB = sizemb; } /cfscript It will return image width, height, filesize (in bytes, kilobytes, and megabytes) -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 11:29 AM To: CF-Talk Subject: Re: Cool things about cf Ben, I've instantiated java before using cf but its not been all that simple. What would be a good example of a simple but very useful java instantiation suitable for a tutorial? DRE On 11/8/06, Ben Nadel [EMAIL PROTECTED] wrote: I looked through the other responses, and I might have missed it, but the ability to instantiate Java objects, call underlying Java methods, and write your own Java classes... That's pretty freakin' nifty. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259813 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
-Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259599 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
CF-Talk... There's no other community as willing to help. and... it's tag based, typeless and has cfdump. How much easier can it get? ;-P -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259602 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
Oh yeah... cffile makes file uploads and manipulation MUCH easier (or at least less code) than other languages. -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259603 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
While I agree that flash forms aren't the greatest, you also have the XForms option with CFForm which is way underutilized. Cutter _ http://blog.cutterscrossing.com Bobby Hartsfield wrote: -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259607 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cool things about cf
I looked through the other responses, and I might have missed it, but the ability to instantiate Java objects, call underlying Java methods, and write your own Java classes... That's pretty freakin' nifty. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259610 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
The Application scope, and Application.cfm/cfc. I was talking with my two co-workers who program in PHP which doesn't have anything like an Application scope. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 6:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259611 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cool things about cf
CFHTTP is totally sweeet. Both for reading in CSV files and for grabbing content. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 9:13 AM To: CF-Talk Subject: RE: Cool things about cf The Application scope, and Application.cfm/cfc. I was talking with my two co-workers who program in PHP which doesn't have anything like an Application scope. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259612 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cool things about cf
CFC based web services -- just set a method access property to remote and its available as a soap web service. ___ Dave Konopka Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] Phone: (215) 898-2685 -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 9:13 AM To: CF-Talk Subject: RE: Cool things about cf The Application scope, and Application.cfm/cfc. I was talking with my two co-workers who program in PHP which doesn't have anything like an Application scope. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 6:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259614 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Webservice calls are made simple with cfhttp. Creating and consuming webservices is made simple with remote CFC methods. cfmail with cfpop provide very quick email submissions. The ability to easily extend your base tag language using custom tags. The ability to deploy CF with a vast majority of mainstream webservers, operating system and database management systems. you get the point Teddy On 11/8/06, Ben Nadel [EMAIL PROTECTED] wrote: CFHTTP is totally sweeet. Both for reading in CSV files and for grabbing content. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 9:13 AM To: CF-Talk Subject: RE: Cool things about cf The Application scope, and Application.cfm/cfc. I was talking with my two co-workers who program in PHP which doesn't have anything like an Application scope. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259624 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cool things about cf
Rick, AjaxCFC comes with a cool utility called sdumper() which document.write's cfdump style objects to the bottom of the page. It's fairly useful. -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:44 PM To: CF-Talk Subject: Re: Cool things about cf Crow T. Robot wrote: the dump tag is enormously important on a daily basis to me. I honestly don't know how I surved without cfdump. One of the things that I hate about ajax development is javascript's inability to dump stuff. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259627 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
- Webservice implementation - Application scope - File Handling and Permissions and... Includes. I know this might seem weird so some, but anyone who's dealt with PHP knows what a major PITA it can be to handle include paths that aren't within the relative scope underneath the calling file. !k -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 6:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259642 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Somebody told me .net doesn't have anything like a cfparam Is that true? Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259651 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Ben, I've instantiated java before using cf but its not been all that simple. What would be a good example of a simple but very useful java instantiation suitable for a tutorial? DRE On 11/8/06, Ben Nadel [EMAIL PROTECTED] wrote: I looked through the other responses, and I might have missed it, but the ability to instantiate Java objects, call underlying Java methods, and write your own Java classes... That's pretty freakin' nifty. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259656 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
It's not just it reads like English, the tag based markup sits perfectly with HTML/XHTML. To get a list of cool things about CF, just reference the docs index and remove the odd uncool thing(s?) ;) - Original Message - From: Mike Kear [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 08, 2006 3:21 AM Subject: Re: Cool things about cf Dont forget the syntax itself - it almost reads like english. On 11/8/06, DRE [EMAIL PROTECTED] wrote: Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259652 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Andy, I learned a bunch of php lately and was stunned by this lack of application scope as well. I do think tho that .net and java both have similar structures so I'm a bit wary of including it. DRE On 11/8/06, Andy Matthews [EMAIL PROTECTED] wrote: The Application scope, and Application.cfm/cfc. I was talking with my two co-workers who program in PHP which doesn't have anything like an Application scope. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 6:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259653 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cool things about cf
Hey, I'm writing a short article about the cool things that cf comes with that most others dont. Working with XML is a lot easier in CF. Most environments force you to use the XML DOM API, but CF exposes XML document objects as nested arrays and structures. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259661 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
I looked at how java works with web services i.e axis and the fact that you don't have to do extra work in CF to ship/send/ or receive any kind of object is truly amazing. In java land its yet another issue. For java web service on CF I have to WDDX each object before its sent and before its received and decompile back again. It's a real pain and an extra step. You can't put a price tag on all the magic its priceless and its not just a bunch cool stuff to list off either taken in total its a step ahead. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259666 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
Here's a simple, useful example. cfscript function bhimginfo(imgfile){ jFileIn = createObject(java,java.io.File).init(imgfile); ImageInfo = StructNew(); ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn); imageFile = CreateObject(java, java.io.File); imageFile.init(imgfile); sizeb = imageFile.length(); sizekb = numberformat(sizeb / 1024, 9.99); sizemb = numberformat(sizekb / 1024, .99); bhImageInfo = StructNew(); bhImageInfo.ImgWidth = ImageObject.getWidth(); bhImageInfo.ImgHeight = ImageObject.getHeight(); bhImageInfo.SizeB = sizeb; bhImageInfo.SizeKB = sizekb; bhImageInfo.SizeMB = sizemb; } /cfscript It will return image width, height, filesize (in bytes, kilobytes, and megabytes) -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 11:29 AM To: CF-Talk Subject: Re: Cool things about cf Ben, I've instantiated java before using cf but its not been all that simple. What would be a good example of a simple but very useful java instantiation suitable for a tutorial? DRE On 11/8/06, Ben Nadel [EMAIL PROTECTED] wrote: I looked through the other responses, and I might have missed it, but the ability to instantiate Java objects, call underlying Java methods, and write your own Java classes... That's pretty freakin' nifty. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259668 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
The next time someone starts a 'CF is dying' or 'Why choose CF over ASP/PHP' thread, can they please be pointed to this thread as the answer? How do you make a sticky on CF-Talk? On 11/9/06, Bobby Hartsfield [EMAIL PROTECTED] wrote: Here's a simple, useful example. cfscript function bhimginfo(imgfile){ jFileIn = createObject(java,java.io.File).init(imgfile); ImageInfo = StructNew(); ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn); imageFile = CreateObject(java, java.io.File); imageFile.init(imgfile); sizeb = imageFile.length(); sizekb = numberformat(sizeb / 1024, 9.99); sizemb = numberformat(sizekb / 1024, .99); bhImageInfo = StructNew(); bhImageInfo.ImgWidth = ImageObject.getWidth(); bhImageInfo.ImgHeight = ImageObject.getHeight(); bhImageInfo.SizeB = sizeb; bhImageInfo.SizeKB = sizekb; bhImageInfo.SizeMB = sizemb; } /cfscript It will return image width, height, filesize (in bytes, kilobytes, and megabytes) -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 11:29 AM To: CF-Talk Subject: Re: Cool things about cf Ben, I've instantiated java before using cf but its not been all that simple. What would be a good example of a simple but very useful java instantiation suitable for a tutorial? DRE On 11/8/06, Ben Nadel [EMAIL PROTECTED] wrote: I looked through the other responses, and I might have missed it, but the ability to instantiate Java objects, call underlying Java methods, and write your own Java classes... That's pretty freakin' nifty. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 7:01 PM To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259736 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
the dump tag is enormously important on a daily basis to me. On 11/7/06, DRE [EMAIL PROTECTED] wrote: Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259549 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
verity? -- [EMAIL PROTECTED] Janitor, MSB Web Systems mysecretbase.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259550 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
The debug output man! Just by turning on the debug, you get SO much information about processing, the page state etc. You don't get that anywhere else. Mark On 11/8/06, DRE [EMAIL PROTECTED] wrote: Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259551 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
The robust exception output. That saves tons of time trying to figure out what's going wrong. -- Josh On 11/8/06, DRE [EMAIL PROTECTED] wrote: Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259553 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
Don't forget about CFQUERY itself. Querying a database is much easier in CF than in other languages. Russ -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: 08 November 2006 00:01 To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259562 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
How about cfset :) Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259567 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Crow T. Robot wrote: the dump tag is enormously important on a daily basis to me. I honestly don't know how I surved without cfdump. One of the things that I hate about ajax development is javascript's inability to dump stuff. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259568 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cool things about cf
Crow T. Robot wrote: the dump tag is enormously important on a daily basis to me. Whenever I'm having trouble coding.. like I just get stopped up... taking a good cfdump always helps. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259569 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
If you use Rob Gonda's ajaxCFC, he has a dump() method for the js built into it. It's a rather nice feature! Thank you Rob!! :-) -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 8:44 PM To: CF-Talk Subject: Re: Cool things about cf Crow T. Robot wrote: the dump tag is enormously important on a daily basis to me. I honestly don't know how I surved without cfdump. One of the things that I hate about ajax development is javascript's inability to dump stuff. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259570 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
Dont forget the syntax itself - it almost reads like english. As a freelance, I work a lot on other people's code and when I encounter a tag i havent used before or a custom tag, usually the name itself tells me what it's doing. When i first came in contact with ASP all those years ago, i spend AGES trying to figure out what the sections of the code were doing - just finding the piece of code took a long time. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 11/8/06, DRE [EMAIL PROTECTED] wrote: Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259572 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cool things about cf
I would disagree that Flash forms are just annoying. They are actually a subset of Flex (albeit version 1.5 - hopefully CF 8 updates it to Flex 2), and can be extremely powerful - check out some of the articles on www.asfusion.com There's a lot of capability there. -Original Message- From: DRE [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: 11/7/06 7:02 PM Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259574 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
You need to check out DP_Debug, which solves this problem. It's available online and also bundled with mxAjax. http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_Debug/Index.cfm On 11/8/06, Rick Root [EMAIL PROTECTED] wrote: Crow T. Robot wrote: One of the things that I hate about ajax development is javascript's inability to dump stuff. -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259575 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
How about the flexibility to write you code in either tag based or cfscript. Not to mention the use of CFCs has brought CF into a whole new light. :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259576 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Cool things about cf
Ben Forta has a good article on the true cost differential of CF vs ASP. That might give you some inspiration. I know they have it on the CF Developer Journal site, but may Ben would be so kind as to post a link to it (and maybe he can give you a few items as well...I don't think anyone know CF like Ben knows CF). Eric -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, 07 November 2006 18:01 To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259579 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
The triple support of Arrays, Lists, and Structures. You can store your data however you want. Obviously, you don't want to store complex data in lists, but when you're working in setups where you recieve from a list, the intense support for list functions allows easy manipulation and extraction. Structs having the the triple access to variables Struct[key] Struct.key StructFind(Struct,key) (Although this method feels like code-bloat that should have been deprecated versions ago. My favorite is struct[key] because you can use it easy with looping and get dynamic values without using evaluate. I have to agree on another point dual cfscript/traditional cf is nice. I really wish cf would put the traditional comparisons into code... = along with eq, != along with neq, along with and. At least in cfscript... On 11/7/06, Eric Roberts [EMAIL PROTECTED] wrote: Ben Forta has a good article on the true cost differential of CF vs ASP. That might give you some inspiration. I know they have it on the CF Developer Journal site, but may Ben would be so kind as to post a link to it (and maybe he can give you a few items as well...I don't think anyone know CF like Ben knows CF). Eric -Original Message- From: DRE [mailto:[EMAIL PROTECTED] Sent: Tuesday, 07 November 2006 18:01 To: CF-Talk Subject: Cool things about cf Hey, I'm writing a short article about the cool things that cf comes with that most others dont. I've got so far: qoq groupd output (Hey, I think its cool) charting cfdocument I'm thinking of adding a section on custom tags but not cfc's because you can write classes easily in most other languages. Flash forms seem mostly annoying and I dont like cfform all that much. So, stuff that is very useful but only comes with cf. Any others you can think of? I'm sure there is much that I have'nt thought of. Thanks for the moment. -- DRE www.webmachineinc.com www.theanticool.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259580 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cool things about cf
I think coldfusion allows beginners access to java at a level never before seen and hooks into a wealth of open source projects which no other lanaguage can. I just wrote a CF jode decompiler in under 15 minutes and the day before I found out how to delete a row within a cfquery object using its data as the reference. Cool stuff! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259581 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4