Re: CFScript Book
Right. I was talking about why _I_ generally don't like cfscript. But, honestly, if they don't really know how to do anything in javascript, then I'm not sure what they're doing writing CFML (or any web application development language). Scott On Tue, Feb 21, 2012 at 7:27 PM, Aaron Rouse aaron.ro...@gmail.com wrote: The people I was referring to I am certain do not know how to write anything or much of anything in JavaScript. So it is not a matter of CFScript confusing them into thinking it is JavaScript. -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350020 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
You might be surprised at how many people I come across in the industry who are making a good solid living writing CF apps but barely can write CSS, HTML, JavaScript and really even much in regards to SQL. Quite often though they are using some sort of CF framework or other core tool that a more advanced group of CF people developed. On Wed, Feb 22, 2012 at 4:50 AM, Scott Brady dsbr...@gmail.com wrote: Right. I was talking about why _I_ generally don't like cfscript. But, honestly, if they don't really know how to do anything in javascript, then I'm not sure what they're doing writing CFML (or any web application development language). Scott On Tue, Feb 21, 2012 at 7:27 PM, Aaron Rouse aaron.ro...@gmail.com wrote: The people I was referring to I am certain do not know how to write anything or much of anything in JavaScript. So it is not a matter of CFScript confusing them into thinking it is JavaScript. -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350024 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
As of CF9, the vast majority of CF can be written in script, if you desire. Almost every tag has a cfscript equivalent (I believe there were a few that didn't make the cut, but I can't recall which ones off-hand). Of course, some things are a bit more tedious doing them in script (such as outputting content and running queries). Scott On Mon, Feb 20, 2012 at 5:50 PM, Robert Rhodes rrhode...@gmail.com wrote: I do wish Adobe would fill out CF so that one could write mostly in cfscript and avoid cf tags altogether, if desired. It would also help when I end up around small-minded coders who scoff at CF merely because of the tags.On Mon, Feb 20, 2012 at 12:25 PM, Cameron Childress -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349987 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
Agreed and someone could always write themselves some custom functions as wrappers to CF tags for prior versions CF or perhaps even what is missing in the current. To a point at least. I have been a CFScript Nazi for well over a decade now but fully recognize a place for it and a place for when to use the tags. I very rarely use it for outputting things and can't say I really have had a need for much of the added tags-to-functions introduced in CF9. We though have many pre-CF9 servers so also does not make too much sense for me to write anything specific to CF9. On Tue, Feb 21, 2012 at 5:05 AM, Scott Brady dsbr...@gmail.com wrote: As of CF9, the vast majority of CF can be written in script, if you desire. Almost every tag has a cfscript equivalent (I believe there were a few that didn't make the cut, but I can't recall which ones off-hand). Of course, some things are a bit more tedious doing them in script (such as outputting content and running queries). Scott On Mon, Feb 20, 2012 at 5:50 PM, Robert Rhodes rrhode...@gmail.com wrote: I do wish Adobe would fill out CF so that one could write mostly in cfscript and avoid cf tags altogether, if desired. It would also help when I end up around small-minded coders who scoff at CF merely because of the tags.On Mon, Feb 20, 2012 at 12:25 PM, Cameron Childress -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349993 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
On Mon, Feb 20, 2012 at 7:50 PM, Robert Rhodes rrhode...@gmail.com wrote: I do wish Adobe would fill out CF so that one could write mostly in cfscript and avoid cf tags altogether, if desired. It would also help when I end up around small-minded coders who scoff at CF merely because of the tags. I've never changed my coding style to make a non-CF developer happy, seems a waste of time. If you prefer it, that's one thing, but you should never measure your own self worth by comments made by someone ignorant of the language. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349994 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
I have worked with CF developers who scoff at any CFScript usage but for reasons most would not assume. They did it because they flat out did not understand the syntax and I am not referring to some abundant overuse of CFScript here. It can sometimes be a balancing act of coding how you want and/or think you should v. staying employed and making some adjustments so others stay happy. On Tue, Feb 21, 2012 at 9:28 AM, Cameron Childress camer...@gmail.comwrote: On Mon, Feb 20, 2012 at 7:50 PM, Robert Rhodes rrhode...@gmail.com wrote: I do wish Adobe would fill out CF so that one could write mostly in cfscript and avoid cf tags altogether, if desired. It would also help when I end up around small-minded coders who scoff at CF merely because of the tags. I've never changed my coding style to make a non-CF developer happy, seems a waste of time. If you prefer it, that's one thing, but you should never measure your own self worth by comments made by someone ignorant of the language. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350005 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
You mean I should write a book on CFScript? Fantastic? Betascript Publishing hhhm... Anyone notice the tagline states: ColdFusion Markup Language, JavaScript, BlogCFC Now THAT is interesting... Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 2/20/2012 10:48 AM, Robert Rhodes wrote: Hello to all. Are there any CFScript books out there? I ordered this onw but it was a complete joke. A total waste of money: http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099. All suggestions welcome. -RR ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350006 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
Yeah, or how about the red seal on the cover that says High Quality Content by WIKIPEDIA articles!? LOL :-D On 2/21/2012 11:04 AM, Steve 'Cutter' Blades wrote: You mean I should write a book on CFScript? Fantastic? Betascript Publishing hhhm... Anyone notice the tagline states: ColdFusion Markup Language, JavaScript, BlogCFC Now THAT is interesting... Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 2/20/2012 10:48 AM, Robert Rhodes wrote: Hello to all. Are there any CFScript books out there? I ordered this onw but it was a complete joke. A total waste of money: http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099. All suggestions welcome. -RR ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350008 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
This publisher releases something like 10,000+ titles a year: they scrape Wikipedia content and sell it. http://en.wikipedia.org/wiki/VDM_Publishing Billy Cravens bdcrav...@gmail.com On Feb 21, 2012, at 1:19 PM, Carl Von Stetten wrote: Yeah, or how about the red seal on the cover that says High Quality Content by WIKIPEDIA articles!? LOL :-D On 2/21/2012 11:04 AM, Steve 'Cutter' Blades wrote: You mean I should write a book on CFScript? Fantastic? Betascript Publishing hhhm... Anyone notice the tagline states: ColdFusion Markup Language, JavaScript, BlogCFC Now THAT is interesting... Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 2/20/2012 10:48 AM, Robert Rhodes wrote: Hello to all. Are there any CFScript books out there? I ordered this onw but it was a complete joke. A total waste of money: http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099. All suggestions welcome. -RR ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350013 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
My main issue with cfscript is that it's easy to confuse at first glance between that and javascript (for cases when you have JS mixed in with CF code, as the legacy app I work on at work has). So, it's not really cfscript's fault as much as a personal bugaboo. Scott On Tue, Feb 21, 2012 at 11:35 AM, Aaron Rouse aaron.ro...@gmail.com wrote: I have worked with CF developers who scoff at any CFScript usage but for reasons most would not assume. They did it because they flat out did not understand the syntax and I am not referring to some abundant overuse of CFScript here. It can sometimes be a balancing act of coding how you want and/or think you should v. staying employed and making some adjustments so others stay happy. -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350014 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
cfscript to many defeats the who point of why they chose cf in the first place, because it was a html like easy to learn tag based language. When you go down the route of doing all your code in script, using OOP style coding, then surely you would just be better off writing directly in JAVA ? On Wed, Feb 22, 2012 at 12:55 AM, Scott Brady dsbr...@gmail.com wrote: My main issue with cfscript is that it's easy to confuse at first glance between that and javascript (for cases when you have JS mixed in with CF code, as the legacy app I work on at work has). So, it's not really cfscript's fault as much as a personal bugaboo. Scott On Tue, Feb 21, 2012 at 11:35 AM, Aaron Rouse aaron.ro...@gmail.com wrote: I have worked with CF developers who scoff at any CFScript usage but for reasons most would not assume. They did it because they flat out did not understand the syntax and I am not referring to some abundant overuse of CFScript here. It can sometimes be a balancing act of coding how you want and/or think you should v. staying employed and making some adjustments so others stay happy. -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350015 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
Well, nobody's better off writing in Java, but C# would be an alternative. On Wednesday, February 22, 2012, Russ Michaels wrote: cfscript to many defeats the who point of why they chose cf in the first place, because it was a html like easy to learn tag based language. When you go down the route of doing all your code in script, using OOP style coding, then surely you would just be better off writing directly in JAVA ? -- -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350016 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
The people I was referring to I am certain do not know how to write anything or much of anything in JavaScript. So it is not a matter of CFScript confusing them into thinking it is JavaScript. On Tue, Feb 21, 2012 at 6:55 PM, Scott Brady dsbr...@gmail.com wrote: My main issue with cfscript is that it's easy to confuse at first glance between that and javascript (for cases when you have JS mixed in with CF code, as the legacy app I work on at work has). So, it's not really cfscript's fault as much as a personal bugaboo. Scott On Tue, Feb 21, 2012 at 11:35 AM, Aaron Rouse aaron.ro...@gmail.com wrote: I have worked with CF developers who scoff at any CFScript usage but for reasons most would not assume. They did it because they flat out did not understand the syntax and I am not referring to some abundant overuse of CFScript here. It can sometimes be a balancing act of coding how you want and/or think you should v. staying employed and making some adjustments so others stay happy. -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350017 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
On Mon, Feb 20, 2012 at 10:48 AM, Robert Rhodes rrhode...@gmail.com wrote: Are there any CFScript books out there? I ordered this onw but it was a complete joke. A total waste of money: http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099. Is there a reason you want to only learn CFScript? The CFML language has so many tags and many ways of doing things. Learning only CFScript may not serve you well. Attempting to use all tags or all script is probably not the best goal IMHO. Having said that, the Adobe docs are a good starting point for learning CFScript, but if you want more than that I'd look at a regular ole CF Book like CFWACK, and then look for a CFScript equivalent for what you're doing if you really need/want one. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349964 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
For what its worth I have a cfscript cheatsheet here: http://www.petefreitag.com/cheatsheets/coldfusion/cfscript/ It lists much but certainly not all of what you need to know to use cfscript. Feedback, suggestions welcome. -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is your ColdFusion Server Secure? On Mon, Feb 20, 2012 at 12:25 PM, Cameron Childress camer...@gmail.comwrote: On Mon, Feb 20, 2012 at 10:48 AM, Robert Rhodes rrhode...@gmail.com wrote: Are there any CFScript books out there? I ordered this onw but it was a complete joke. A total waste of money: http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099. Is there a reason you want to only learn CFScript? The CFML language has so many tags and many ways of doing things. Learning only CFScript may not serve you well. Attempting to use all tags or all script is probably not the best goal IMHO. Having said that, the Adobe docs are a good starting point for learning CFScript, but if you want more than that I'd look at a regular ole CF Book like CFWACK, and then look for a CFScript equivalent for what you're doing if you really need/want one. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349969 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
Hi Cameron. I know CF very well. I been coding in it for many years. But, I admit, I am a little tagged out. Cfscript feels more elegant, and as I learn more and more javascript, it seems a natural time to try to get completely up to speed on cfscript. I do wish Adobe would fill out CF so that one could write mostly in cfscript and avoid cf tags altogether, if desired. It would also help when I end up around small-minded coders who scoff at CF merely because of the tags. Yes, I have answers for those types, like how I can produce the same apps they can, but in 1/3 the time, or how Adobe puts a lot of development into the language, which gets us big upgrades every few years -- or how we can get a live body on the phone when we need one. But still, I really want to be a cfscripter, and I am looking for a path to make that happen. There must be at least a few chapters in some book out there somewhere, no? Pete, thank you very much for the cheat sheet. That will come in handy. -RR On Mon, Feb 20, 2012 at 12:25 PM, Cameron Childress camer...@gmail.comwrote: On Mon, Feb 20, 2012 at 10:48 AM, Robert Rhodes rrhode...@gmail.com wrote: Are there any CFScript books out there? I ordered this onw but it was a complete joke. A total waste of money: http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099. Is there a reason you want to only learn CFScript? The CFML language has so many tags and many ways of doing things. Learning only CFScript may not serve you well. Attempting to use all tags or all script is probably not the best goal IMHO. Having said that, the Adobe docs are a good starting point for learning CFScript, but if you want more than that I'd look at a regular ole CF Book like CFWACK, and then look for a CFScript equivalent for what you're doing if you really need/want one. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349983 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfscript book
Personally, I prefer using CFScript over regular CF when I can use it. First, it's much easier to set a bunch of variables inside a CFScript block (IMO). Second, I find it easier to read CFScript logic blocks. Finally, it IS faster when you do something beyond very basic stuff, and (again, IMO) it makes for a more compact page of code. Add to that a bunch of _GREAT_ UDF's in CFLIB (http://www.cflib.org/) and you CAN actually mimic the functionality of a good number of regular CF tags. Pete - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 3:57 PM Subject: RE: cfscript book now I am asking all of these questions, is cfscript really that good to use? or could I go all day long using cftags and never see much performance difference ..tony ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: cfscript book
Todd, Would it be safe to say that the underlying code generated by a CFSCRIPT block on CFMX would be virutally the same as code compiled using tag syntax? -mk -Original Message- From: [EMAIL PROTECTED] [mailto:todd;web-rat.com] Sent: Wednesday, November 13, 2002 8:10 AM To: CF-Talk Subject: Re: cfscript book Just becareful with mimicing cfinclude. I would hestitate to say that cfscript block would bring you any performance gains under CFMX due to the compiling. Do your own speed test: test.cfm: cfset begin = getTickCount() cfset finalIndx = 0 cfloop index=indx from=1 to=100 step=1 cfset finalIndx = incrementValue(finalIndx) /cfloop cfset end = getTickCount() cfset total = end - begin cfoutput#end# - #begin# = #total#/cfoutput test1.cfm: cfscript begin = getTickCount(); finalIndx = 0; for(indx=1;indx LTE 100; indx=indx+1){ finalIndx = incrementValue(finalIndx); } end = getTickCount(); total = end - begin; writeoutput(end - begin = end); /cfscript test.cfm results: 2107909460 - 2107909460 = 0 test1.cfm results: 2107965773-2107965773=0 Not that this is an accurate test, but ... where's the gain in cfscript? In the above case, you'll see that the regular tags were somewhat faster than the cfscript block. ~Todd On Wed, 13 Nov 2002, Pete Ruckelshaus wrote: Personally, I prefer using CFScript over regular CF when I can use it. First, it's much easier to set a bunch of variables inside a CFScript block (IMO). Second, I find it easier to read CFScript logic blocks. Finally, it IS faster when you do something beyond very basic stuff, and (again, IMO) it makes for a more compact page of code. Add to that a bunch of _GREAT_ UDF's in CFLIB (http://www.cflib.org/) and you CAN actually mimic the functionality of a good number of regular CF tags. Pete - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 3:57 PM Subject: RE: cfscript book now I am asking all of these questions, is cfscript really that good to use? or could I go all day long using cftags and never see much performance difference ..tony -- Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ | Team Macromedia Volunteer for ColdFusion | http://www.macromedia.com/support/forums/team_macromedia/ | http://www.devmx.com/ - Todd (Moderator / CoFounder) | http://www.flashCFM.com/ - webRat (Moderator)| Speakeasy DSL - http://www.speakeasy.net/refer/18280| ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: cfscript book
http://www.fusionscript.com = Douglas White group Manager mailto:doug;samcfug.org http://www.samcfug.org = - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 9:37 AM Subject: cfscript book | does anyone have a good cfscript book to recommend? | | thanks! | | ..tony | | Tony Weeg | Senior Web Developer | Information System Design | Navtrak, Inc. | Fleet Management Solutions | www.navtrak.net | 410.548.2337 | | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: cfscript book
http://www.houseoffusion.com/docs/cfscript.htm does anyone have a good cfscript book to recommend? thanks! ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: cfscript book
http://www.houseoffusion.com/docs/cfscript.htm does anyone have a good cfscript book to recommend? thanks! ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: cfscript book
I believe Tony was referring to part of the ColdFusion language (cfscript). As far as a good book goes, about the only thing I've read lately with decent cfscript coverage is Ben Forta's advanced CFMX app. dev. book. The book touches on the use of variables, functions, if-else, switch-case, loops, continue/break, etc. chris kief -Original Message- From: samcfug [mailto:doug;samcfug.org] Sent: Tuesday, November 12, 2002 9:16 AM To: CF-Talk Subject: Re: cfscript book http://www.fusionscript.com = Douglas White group Manager mailto:doug;samcfug.org http://www.samcfug.org = - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 9:37 AM Subject: cfscript book | does anyone have a good cfscript book to recommend? | | thanks! | | ..tony | | Tony Weeg | Senior Web Developer | Information System Design | Navtrak, Inc. | Fleet Management Solutions | www.navtrak.net | 410.548.2337 | | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: cfscript book
chris nail.right on the head! that's what I was looking for, a book that really goes in depth with syntax, real world examples, etc... that I could take and expound uponim not really that good with writing ecma-type scripts, however I can read/interpret them well, and now I want to be able to really write them, from scratchfrom what I see on this list, most of what I would deem as the best coders on here, seem to always submit the code that they use, and suggest for help to others, in cfscript blocks vs. cfml code. so, the question remains, is there one that really goes in depth with cfscript? thanks. ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Chris Kief [mailto:chris;riseinteractive.com] Sent: Tuesday, November 12, 2002 2:08 PM To: CF-Talk Subject: RE: cfscript book I believe Tony was referring to part of the ColdFusion language (cfscript). As far as a good book goes, about the only thing I've read lately with decent cfscript coverage is Ben Forta's advanced CFMX app. dev. book. The book touches on the use of variables, functions, if-else, switch-case, loops, continue/break, etc. chris kief -Original Message- From: samcfug [mailto:doug;samcfug.org] Sent: Tuesday, November 12, 2002 9:16 AM To: CF-Talk Subject: Re: cfscript book http://www.fusionscript.com = Douglas White group Manager mailto:doug;samcfug.org http://www.samcfug.org = - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 9:37 AM Subject: cfscript book | does anyone have a good cfscript book to recommend? | | thanks! | | ..tony | | Tony Weeg | Senior Web Developer | Information System Design | Navtrak, Inc. | Fleet Management Solutions | www.navtrak.net | 410.548.2337 | | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: cfscript book
What does Fusionscript have to do with cfscript? As near as I can tell there are no relation. I doubt you'll find a book dedicated to cfscript. I'd recommend my CF5 Beginner's book. The chapter on CFScript covers all you need to know, and you won't be able to beat the price with some of the more comprehensive books. http://www.amazon.com/exec/obidos/ASIN/0072191090/instantcoldfu-20 At 11:15 AM 11/12/2002 -0600, you wrote: http://www.fusionscript.com = Douglas White group Manager mailto:doug;samcfug.org http://www.samcfug.org = - Original Message - From: Tony Weeg [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 9:37 AM Subject: cfscript book | does anyone have a good cfscript book to recommend? | | thanks! | | ..tony | | Tony Weeg | Senior Web Developer | Information System Design | Navtrak, Inc. | Fleet Management Solutions | www.navtrak.net | 410.548.2337 | | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: cfscript book
Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: cfscript book
I hate to put it this bluntly, but there really is not that much to say about CFSCRIPT. And aside from UDFs (added in CF5 and surpassed by the tag interface in CFMX) and basic try/catch (added in CFMX but less powerful than the equivalent tags) CFSCRIPT has really not changed much since it was introduced in CF4. The reason you have not seen dedicated books on the subject is that it would be hard to fill a book just on CFSCRIPT - you'd need to use tags anyway sooner or later. --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: cfscript book
that makes sensethank you. ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Ben Forta [mailto:ben;forta.com] Sent: Tuesday, November 12, 2002 3:11 PM To: CF-Talk Subject: RE: cfscript book I hate to put it this bluntly, but there really is not that much to say about CFSCRIPT. And aside from UDFs (added in CF5 and surpassed by the tag interface in CFMX) and basic try/catch (added in CFMX but less powerful than the equivalent tags) CFSCRIPT has really not changed much since it was introduced in CF4. The reason you have not seen dedicated books on the subject is that it would be hard to fill a book just on CFSCRIPT - you'd need to use tags anyway sooner or later. --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: cfscript book
What does Fusionscript have to do with cfscript? As near as I can tell there are no relation. I doubt you'll find a book dedicated to cfscript. I'd recommend my CF5 Beginner's book. The chapter on CFScript covers all you need to know, and you won't be able to beat the price with some of the more comprehensive books. http://www.amazon.com/exec/obidos/ASIN/0072191090/instantcoldfu-20 Yea, FusionScript is mostly an API for using ColdFusion syntax to generate client side javascript. Really neat API ... I have some issues with implementing it -- mostly that it requires being either in the custom tags directory or in the same local directory it's being called fro... Since my apps generally use multiple sub-directories and are designed with the intent of making them compatible with shared hosting, there's not a good way for me to implement the current version of the API... Plus, it's still really young and going through a lot of debugging and such, so I'm waiting for it to mature a bit before integrating it into my apps, but it looks very promising. Particularly the ActiveServer component which allows you to pass data to and from the CF Server without a page reload. This can also be done with Flash (and I suspect in some cases in future versions of the API may be done with Flash in FusionScript), but the API abstracts all this so that you don't need to know Flash to use this functionality. But it has little to do with cfscript. ;P S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
Re: cfscript book
Ben Forta writes: I hate to put it this bluntly, but there really is not that much to say about CFSCRIPT. And aside from UDFs (added in CF5 and surpassed by the tag interface in CFMX) and basic try/catch (added in CFMX but less powerful than the equivalent tags) CFSCRIPT has really not changed much since it was introduced in CF4. The reason you have not seen dedicated books on the subject is that it would be hard to fill a book just on CFSCRIPT - you'd need to use tags anyway sooner or later. point taken...but still, even one of those '10 minute pocket reference' type of books would be nice. the cf docs really are lacking when it comes to cfscript. a few code samples, a few sample apps, etc... *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: cfscript book
Email me off list with what you want added to this doc and you'll have your 10 minute reference. http://www.houseoffusion.com/docs/cfscript.htm I know I need to put in the UDF portion (separate file now) and update it to CFMX. What else would you like? Email me at [EMAIL PROTECTED] with the answer to that. point taken...but still, even one of those '10 minute pocket reference' type of books would be nice. the cf docs really are lacking when it comes to cfscript. a few code samples, a few sample apps, etc... *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
Re: cfscript book
Print out the link Michael D. gave you in a very very small font :) Make that $9.95 check out to Marlon Moyer charlie griefer wrote: *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: cfscript book
Speaking of the cfdocs lacking, the next time cf has a quick reference - how about showing return values from a function? For example my CFML quick ref says: ArraySort(array, sort_type, [,sort_order]) helpful, but does it return a new sorted array or a yes/no? String ArraySort(array, sort_type, [,sort_order]) would be much more helpful and clear in the quick reference. :) rob -Original Message- From: charlie griefer [mailto:charlie;griefer.com] Sent: Tuesday, November 12, 2002 12:30 PM To: CF-Talk Subject: Re: cfscript book Ben Forta writes: I hate to put it this bluntly, but there really is not that much to say about CFSCRIPT. And aside from UDFs (added in CF5 and surpassed by the tag interface in CFMX) and basic try/catch (added in CFMX but less powerful than the equivalent tags) CFSCRIPT has really not changed much since it was introduced in CF4. The reason you have not seen dedicated books on the subject is that it would be hard to fill a book just on CFSCRIPT - you'd need to use tags anyway sooner or later. point taken...but still, even one of those '10 minute pocket reference' type of books would be nice. the cf docs really are lacking when it comes to cfscript. a few code samples, a few sample apps, etc... *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: cfscript book
now I am asking all of these questions, is cfscript really that good to use? or could I go all day long using cftags and never see much performance difference ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Michael Dinowitz [mailto:mdinowit;houseoffusion.com] Sent: Tuesday, November 12, 2002 3:44 PM To: CF-Talk Subject: Re: cfscript book Email me off list with what you want added to this doc and you'll have your 10 minute reference. http://www.houseoffusion.com/docs/cfscript.htm I know I need to put in the UDF portion (separate file now) and update it to CFMX. What else would you like? Email me at [EMAIL PROTECTED] with the answer to that. point taken...but still, even one of those '10 minute pocket reference' type of books would be nice. the cf docs really are lacking when it comes to cfscript. a few code samples, a few sample apps, etc... *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: cfscript book
Very Nice Michael, I also have been looking for something like this. Larry Juncker Senior Cold fusion Developer Heartland Communications Group, Inc. [EMAIL PROTECTED] (515) 574-2122 CONFIDENTIALITY NOTICE The information contained in this e-mail is intended only for the use of the individual or entity to which it is addressed. This e-mail may contain information that is privileged, confidential and/or personal. If the reader of this message is not the intended recipient (or the employee or agent responsible to deliver it to the intended recipient), you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this communication in error, please notify us at the e-mail listed above. -Original Message- From: Michael Dinowitz [mailto:mdinowit;houseoffusion.com] Sent: Tuesday, November 12, 2002 2:44 PM To: CF-Talk Subject: Re: cfscript book Email me off list with what you want added to this doc and you'll have your 10 minute reference. http://www.houseoffusion.com/docs/cfscript.htm I know I need to put in the UDF portion (separate file now) and update it to CFMX. What else would you like? Email me at [EMAIL PROTECTED] with the answer to that. point taken...but still, even one of those '10 minute pocket reference' type of books would be nice. the cf docs really are lacking when it comes to cfscript. a few code samples, a few sample apps, etc... *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: cfscript book
LOL... :) On Tue, 12 Nov 2002, Marlon Moyer wrote: Print out the link Michael D. gave you in a very very small font :) Make that $9.95 check out to Marlon Moyer charlie griefer wrote: *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: cfscript book
This isn't a bad idea. I added an enhancement request for it. (Which doesn't mean it will actually get done - but the doc peeps will consider it.) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Rob Rohan [mailto:rob;cardinalweb.com] Sent: Tuesday, November 12, 2002 3:51 PM To: CF-Talk Subject: RE: cfscript book Speaking of the cfdocs lacking, the next time cf has a quick reference - how about showing return values from a function? For example my CFML quick ref says: ArraySort(array, sort_type, [,sort_order]) helpful, but does it return a new sorted array or a yes/no? String ArraySort(array, sort_type, [,sort_order]) would be much more helpful and clear in the quick reference. :) rob -Original Message- From: charlie griefer [mailto:charlie;griefer.com] Sent: Tuesday, November 12, 2002 12:30 PM To: CF-Talk Subject: Re: cfscript book Ben Forta writes: I hate to put it this bluntly, but there really is not that much to say about CFSCRIPT. And aside from UDFs (added in CF5 and surpassed by the tag interface in CFMX) and basic try/catch (added in CFMX but less powerful than the equivalent tags) CFSCRIPT has really not changed much since it was introduced in CF4. The reason you have not seen dedicated books on the subject is that it would be hard to fill a book just on CFSCRIPT - you'd need to use tags anyway sooner or later. point taken...but still, even one of those '10 minute pocket reference' type of books would be nice. the cf docs really are lacking when it comes to cfscript. a few code samples, a few sample apps, etc... *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: cfscript book
There is also this that I found: http://www.rapidcf.com/tools/reference.cfm disclaimer: i make no guarantees as to the quality and/or accuracy of the content above. i'm not associated with 'em...just a link that i thought might be handy for some. gonna go check out Michael's stuff more in-depth. I did glance at it this morning when the link was first posted...but had not yet had my coffee, so very little of it 'stuck' :) charlie Marlon Moyer writes: Print out the link Michael D. gave you in a very very small font :) Make that $9.95 check out to Marlon Moyer charlie griefer wrote: *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: cfscript book
Haven't heard of FusionScript before today, but it looks impressive. Please show me where the differences are, but it sure looks like FusionScript is a viable replacement in many ways for Flash Remoting without the need to purchase an expensive app, climb that extensive learning curve (espeically for those of us who know no Javascript), or bother with creating special graphics. What I've been considering Flash MX for is creating one-page applications, that update onChange and FusionScript seems a relatively simple way to achieve that. The tutorials seem simple enough. What am I missing? Rick Rick Faircloth, Prism Productions -Original Message- From: S. Isaac Dealey [mailto:info;turnkey.to] Sent: Tuesday, November 12, 2002 2:55 PM To: CF-Talk Subject: Re: cfscript book What does Fusionscript have to do with cfscript? As near as I can tell there are no relation. I doubt you'll find a book dedicated to cfscript. I'd recommend my CF5 Beginner's book. The chapter on CFScript covers all you need to know, and you won't be able to beat the price with some of the more comprehensive books. http://www.amazon.com/exec/obidos/ASIN/0072191090/instantcoldfu-20 Yea, FusionScript is mostly an API for using ColdFusion syntax to generate client side javascript. Really neat API ... I have some issues with implementing it -- mostly that it requires being either in the custom tags directory or in the same local directory it's being called fro... Since my apps generally use multiple sub-directories and are designed with the intent of making them compatible with shared hosting, there's not a good way for me to implement the current version of the API... Plus, it's still really young and going through a lot of debugging and such, so I'm waiting for it to mature a bit before integrating it into my apps, but it looks very promising. Particularly the ActiveServer component which allows you to pass data to and from the CF Server without a page reload. This can also be done with Flash (and I suspect in some cases in future versions of the API may be done with Flash in FusionScript), but the API abstracts all this so that you don't need to know Flash to use this functionality. But it has little to do with cfscript. ;P S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: cfscript book
As a general note, this is the 'hand-out' from a presentation that Chris Graves ( of RapidCF ) gave at a Connecticut CFUG meeting. back when Connecticut still had CFUGs. The presentation was on, of course, CFScript. Chris knows his stuff, but last I heard he was off doing Java-oriented stuff these days. At 02:12 PM 11/12/2002 -0700, you wrote: There is also this that I found: http://www.rapidcf.com/tools/reference.cfm disclaimer: i make no guarantees as to the quality and/or accuracy of the content above. i'm not associated with 'em...just a link that i thought might be handy for some. gonna go check out Michael's stuff more in-depth. I did glance at it this morning when the link was first posted...but had not yet had my coffee, so very little of it 'stuck' :) charlie Marlon Moyer writes: Print out the link Michael D. gave you in a very very small font :) Make that $9.95 check out to Marlon Moyer charlie griefer wrote: *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: cfscript book
If the reason you are looking at CFSCRIPT is performance then don't bother. Sure you may find subtle differences, but honestly, in the grand scheme of things it has little impact. Here is some test code I just wrote, copy and paste it in CFMX and try it - it just does a bunch of loops and sets in both CFML and CFSCRIPT and graphs the results (it repeats the tests to account for inconsistent highs and lows). You should see that the difference is really not significant anymore (in CFMX). --- Ben !--- Set vars --- CFSET tests=20 CFSET loops=1 !--- Create query to save results --- CFSET q=QueryNew(cfml,cfscript) !--- Loop through tests --- CFLOOP INDEX=t FROM=1 TO=#tests# !--- Time CFML loop and sets --- CFSET l=GetTickCount() CFLOOP INDEX=i FROM=1 TO=#loops# CFSET x=i /CFLOOP CFSET l1=GetTickCount()-l !--- Time CFSCRIPT loop and sets --- CFSET l=GetTickCount() CFSCRIPT for (i=1; i LTE loops; i = i +1) { x=i; } /CFSCRIPT CFSET l2=GetTickCount()-l !--- Add this test to the query --- CFSET QueryAddRow(q) CFSET QuerySetCell(q, cfml, l1) CFSET QuerySetCell(q, cfscript, l2) /CFLOOP !--- Now graph the results --- CFCHART CHARTHEIGHT=200 CHARTWIDTH=500 SHOWLEGEND=yes CFCHARTSERIES TYPE=line SERIESLABEL=CFML CFOUTPUT QUERY=q CFCHARTDATA ITEM=#CurrentRow# VALUE=#cfml# /CFOUTPUT /CFCHARTSERIES CFCHARTSERIES TYPE=line SERIESLABEL=CFSCRIPT CFOUTPUT QUERY=q CFCHARTDATA ITEM=#CurrentRow# VALUE=#cfscript# /CFOUTPUT /CFCHARTSERIES /CFCHART -Original Message- From: Tony Weeg [mailto:tony;navtrak.net] Sent: Tuesday, November 12, 2002 3:57 PM To: CF-Talk Subject: RE: cfscript book now I am asking all of these questions, is cfscript really that good to use? or could I go all day long using cftags and never see much performance difference .tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Michael Dinowitz [mailto:mdinowit;houseoffusion.com] Sent: Tuesday, November 12, 2002 3:44 PM To: CF-Talk Subject: Re: cfscript book Email me off list with what you want added to this doc and you'll have your 10 minute reference. http://www.houseoffusion.com/docs/cfscript.htm I know I need to put in the UDF portion (separate file now) and update it to CFMX. What else would you like? Email me at [EMAIL PROTECTED] with the answer to that. point taken...but still, even one of those '10 minute pocket reference' type of books would be nice. the cf docs really are lacking when it comes to cfscript. a few code samples, a few sample apps, etc... *i'd* shell out $9.95 for the cfscript pocket reference :) charlie --- Ben -Original Message- From: Massimo, Tiziana e Federica [mailto:massimo;massimocorner.com] Sent: Tuesday, November 12, 2002 3:04 PM To: CF-Talk Subject: Re: cfscript book Tony Weeg [EMAIL PROTECTED] wrote in message news:002e01c28a80$f2816b10$ba0b0a0a;navtrak267... so, the question remains, is there one that really goes in depth with cfscript? Nothing that goes up to the level I would love to see :-( A few advanced books on CF MX still have to hit the shelves, so maybe there is still hope, but I always felt cfscript was somewhat neglected in books... I know a guy who would love to read a dedicated book on the subject, but I guess he is busy frying other fishes right now Massimo Foti Team Macromedia Volunteer for Dreamweaver http://www.macromedia.com/go/team ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: cfscript book
now I am asking all of these questions, is cfscript really that good to use? or could I go all day long using cftags and never see much performance difference The only reason I sometimes use cfscript is that in certain situations it is a lot easier to read IMO. Those situations are where a lot of processing or calculations are occurring without anything being output. Although we can now use cf tags in functions, I would still use cfscript where possible as it's easier to scan. To take a basic example, I find cfscript RS = Chr(30); // Record separator CR = Chr(13); // Carriage return LF = Chr(10); // Line feed HT = Chr(9); // Horizontal tab SUB = Chr(26); // Substitute CRLF = CR LF; /cfscript easier to read than: cfset RS = Chr(30) !--- Record separator --- cfset CR = Chr(13) !--- Carriage return --- cfset LF = Chr(10) !--- Line feed --- cfset HT = Chr(9) !--- Horizontal tab --- cfset SUB = Chr(26) !--- Substitute --- cfset CRLF = CR LF ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: cfscript book
This is probably something you could achieve with FusionScript faster / easier / cheaper ... from the sound of it anyway. The guy who invented FS put up a chat room done in about 15 minutes with it at one point -- it was really impressive: all html, but without click any click page click refreshing click ... What flash gives you that FS doesn't really is animation. Which is awesome, but the Flash API is overkill if all you need to do is set a persistent variable on the server. Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 Haven't heard of FusionScript before today, but it looks impressive. Please show me where the differences are, but it sure looks like FusionScript is a viable replacement in many ways for Flash Remoting without the need to purchase an expensive app, climb that extensive learning curve (espeically for those of us who know no Javascript), or bother with creating special graphics. What I've been considering Flash MX for is creating one-page applications, that update onChange and FusionScript seems a relatively simple way to achieve that. The tutorials seem simple enough. What am I missing? Rick Rick Faircloth, Prism Productions -Original Message- From: S. Isaac Dealey [mailto:info;turnkey.to] Sent: Tuesday, November 12, 2002 2:55 PM To: CF-Talk Subject: Re: cfscript book What does Fusionscript have to do with cfscript? As near as I can tell there are no relation. I doubt you'll find a book dedicated to cfscript. I'd recommend my CF5 Beginner's book. The chapter on CFScript covers all you need to know, and you won't be able to beat the price with some of the more comprehensive books. http://www.amazon.com/exec/obidos/ASIN/0072191090/instan tcoldfu-20 Yea, FusionScript is mostly an API for using ColdFusion syntax to generate client side javascript. Really neat API ... I have some issues with implementing it -- mostly that it requires being either in the custom tags directory or in the same local directory it's being called fro... Since my apps generally use multiple sub-directories and are designed with the intent of making them compatible with shared hosting, there's not a good way for me to implement the current version of the API... Plus, it's still really young and going through a lot of debugging and such, so I'm waiting for it to mature a bit before integrating it into my apps, but it looks very promising. Particularly the ActiveServer component which allows you to pass data to and from the CF Server without a page reload. This can also be done with Flash (and I suspect in some cases in future versions of the API may be done with Flash in FusionScript), but the API abstracts all this so that you don't need to know Flash to use this functionality. But it has little to do with cfscript. ;P S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~~ ~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index. cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm