House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfscript book

  << Previous Post |  RSS |  Tree View |  Sort Latest First |  Subscribe to this Group Next >> 

cfscript book

does anyone have a good cfscript book to recommend? Tony Weeg 11/12/2002 10:40 AM
<A HREF="http://www.fusionscript.com" target="_blank" rel="nofollow">http://www samcfug 11/12/2002 12:17 PM
<A HREF="http://www.houseoffusion.com/docs/cfscript.htm" target="_blank" Michael Dinowitz 11/12/2002 02:07 PM
<A HREF="http://www.houseoffusion.com/docs/cfscript.htm" target="_blank" Michael Dinowitz 11/12/2002 02:08 PM
I believe Tony was referring to part of the ColdFusion language Chris Kief 11/12/2002 02:12 PM
chris.... Tony Weeg 11/12/2002 02:26 PM
  What does Fusionscript have to do with cfscript?  As near Jeffry Houser 11/12/2002 02:51 PM
"Tony Weeg" <tony@navtrak.net> wrote in message Massimo, Tiziana e Federica 11/12/2002 03:09 PM
I hate to put it this bluntly, but there really is not that much to say Ben Forta 11/12/2002 03:16 PM
that makes sense....thank you. Tony Weeg 11/12/2002 03:26 PM
----- Excess quoted text cut - see Original Post for more ----- S. Isaac Dealey 11/12/2002 03:36 PM
Ben Forta writes: charlie griefer 11/12/2002 03:43 PM
Email me off list with what you want added to this doc and you'll have your 10 Michael Dinowitz 11/12/2002 03:51 PM
Print out the link Michael D. gave you in a very very small font :) Marlon Moyer 11/12/2002 03:56 PM
Speaking of the cfdocs lacking, the next time cf has a quick reference - how Rob Rohan 11/12/2002 03:58 PM
now I am asking all of these questions, is cfscript really that good to Tony Weeg 11/12/2002 04:02 PM
Very Nice Michael, Larry Juncker 11/12/2002 04:06 PM
LOL... :) todd 11/12/2002 04:08 PM
This isn't a bad idea. I added an enhancement request for it. (Which Raymond Camden 11/12/2002 04:09 PM
There is also this that I found: charlie griefer 11/12/2002 04:14 PM
Haven't heard of FusionScript before today, but it looks impressive. Rick Faircloth 11/12/2002 04:15 PM
  As a general note, this is the 'hand-out' from a presentation that Jeffry Houser 11/12/2002 04:24 PM
If the reason you are looking at <CFSCRIPT> is performance then don't Ben Forta 11/12/2002 04:30 PM
> now I am asking all of these questions, is cfscript really Matthew Walker 11/12/2002 04:44 PM
This is probably something you could achieve with FusionScript faster / S. Isaac Dealey 11/12/2002 05:02 PM
Personally, I prefer using CFScript over "regular" CF when I can use it. Pete Ruckelshaus 11/13/2002 08:30 AM
Just becareful with mimicing cfinclude.  I would hestitate to say that todd 11/13/2002 08:50 AM
Todd, Mark A. Kruger - CFG 11/13/2002 10:02 AM
Isaac, Kola Oyedeji 11/14/2002 05:30 AM

11/12/2002 10:40 AM
Author: Tony Weeg Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95595 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
11/12/2002 12:17 PM
Author: samcfug Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95633 http://www.fusionscript.com ===================================== Douglas White group Manager mailto:doug@samcfug.org http://www.samcfug.org ===================================== | 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 | |
11/12/2002 02:07 PM
Author: Michael Dinowitz Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95658 http://www.houseoffusion.com/docs/cfscript.htm ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 02:08 PM
Author: Michael Dinowitz Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95659 http://www.houseoffusion.com/docs/cfscript.htm ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 02:12 PM
Author: Chris Kief Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95662 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 http://www.fusionscript.com ===================================== Douglas White group Manager mailto:doug@samcfug.org http://www.samcfug.org ===================================== | 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 | |
11/12/2002 02:26 PM
Author: Tony Weeg Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95670 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 upon....im 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 scratch....from 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 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 http://www.fusionscript.com ===================================== Douglas White group Manager mailto:doug@samcfug.org http://www.samcfug.org ===================================== | 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 | |
11/12/2002 02:51 PM
Author: Jeffry Houser Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95681   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: ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 03:09 PM
Author: Massimo, Tiziana e Federica Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95691 "Tony Weeg" <tony@navtrak.net> 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 ----------------------------
11/12/2002 03:16 PM
Author: Ben Forta Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95695 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 "Tony Weeg" <tony@navtrak.net> 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 ----------------------------
11/12/2002 03:26 PM
Author: Tony Weeg Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95701 that makes sense....thank you. ...tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 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 "Tony Weeg" <tony@navtrak.net> 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 ----------------------------
11/12/2002 03:36 PM
Author: S. Isaac Dealey Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95709 ----- Excess quoted text cut - see Original Post for more ----- 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
11/12/2002 03:43 PM
Author: charlie griefer Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95714 Ben Forta writes: ----- Excess quoted text cut - see Original Post for more ----- 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 ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 03:51 PM
Author: Michael Dinowitz Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95718 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 mdinowit@houseoffusion.com with the answer to that. ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 03:56 PM
Author: Marlon Moyer Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95720 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: ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 03:58 PM
Author: Rob Rohan Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95721 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 Ben Forta writes: ----- Excess quoted text cut - see Original Post for more ----- 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 ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 04:02 PM
Author: Tony Weeg Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95724 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 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 mdinowit@houseoffusion.com 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 ----- Excess quoted text cut - see Original Post for more ----- with ----- Excess quoted text cut - see Original Post for more ----- 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 ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 04:06 PM
Author: Larry Juncker Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95726 Very Nice Michael, I also have been looking for something like this. Larry Juncker Senior Cold fusion Developer Heartland Communications Group, Inc. larry@heartlandinternet.com (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. 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 mdinowit@houseoffusion.com with the answer to that. > > point taken...but still, even one of those '10 minute pocket reference' type ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 04:08 PM
Author: todd Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95728 LOL... :) ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 04:09 PM
Author: Raymond Camden Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95729 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    : ray@camdenfamily.com WWW      : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 04:14 PM
Author: charlie griefer Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95732 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: ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 04:15 PM
Author: Rick Faircloth Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95733 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 ----- Excess quoted text cut - see Original Post for more ----- 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
11/12/2002 04:24 PM
Author: Jeffry Houser Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95737   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: ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 04:30 PM
Author: Ben Forta Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95741 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=10000> <!--- 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> 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 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 mdinowit@houseoffusion.com 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 ----- Excess quoted text cut - see Original Post for more ----- with ----- Excess quoted text cut - see Original Post for more ----- 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 ----- Excess quoted text cut - see Original Post for more -----
11/12/2002 04:44 PM
Author: Matthew Walker Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95751 > 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>
11/12/2002 05:02 PM
Author: S. Isaac Dealey Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95767 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 ----- Excess quoted text cut - see Original Post for more -----
11/13/2002 08:30 AM
Author: Pete Ruckelshaus Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95847 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 > 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 >
11/13/2002 08:50 AM
Author: todd Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95851 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 ----- Excess quoted text cut - see Original Post for more ----- -- ============================================================ Todd Rafferty (todd@web-rat.com) - 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    | ============================================================
11/13/2002 10:02 AM
Author: Mark A. Kruger - CFG Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#95861 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 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 > 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) ----- Excess quoted text cut - see Original Post for more ----- -- ============================================================ Todd Rafferty (todd@web-rat.com) - 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    | ============================================================
11/14/2002 05:30 AM
Author: Kola Oyedeji Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:18789#96071 Isaac, Are there any browser/platform compatibility issues with fusionscript? >> >   What does Fusionscript have to do with cfscript?  As near as I can ----- Excess quoted text cut - see Original Post for more ----- covers >> >   all >> > you need to know, and you won't be able to beat the price with some of ----- Excess quoted text cut - see Original Post for more ----- <http://www.amazon.com/exec/obidos/ASIN/0072191090/instantcoldfu-20>; ----- Excess quoted text cut - see Original Post for more ----- 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 ----- Excess quoted text cut - see Original Post for more ----- 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 ----- Excess quoted text cut - see Original Post for more -----
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference