Re: write component/object with cfscript
would be slightly nice, might put in an enhancement request to Macromedia AND New Atlanta. Adam H On 7/1/05, BOUDOT Christian [EMAIL PROTECTED] wrote: Thanks for your reply I just touhgt there might be a way to use the cfscript way with some additional stuff in front of the function keyword. Cheers Chris -Original Message- From: John Beynon [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 09:14 To: CF-Talk Subject: Re: write component/object with cfscript CFCs have to be written as tags, cfcomponent, cffunction, cfscript can be used inside the cffunction though. john. On 7/1/05, BOUDOT Christian [EMAIL PROTECTED] wrote: Hi Folks, I am writing an object definition with cfcomponent and I would like to use cfscript inside. I couldn't find any reference if there was a way to specify the access type and the return type of a function (method) with cfscript like you would do it in Java. public boolean DummyFunction() { } Thanks for your help Chris Christian Boudot Intrasoft International S.A. 2b rue Nicolas Bové L-1253 Luxembourg Telephone: +352 44 10 12 2114 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211062 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: write component/object with cfscript
According to a presentation at CFUNITED-05, cfscript is fading out and at some points it won't be supported. The presenter is not from Macromedia. So I don't know how reliable the source is. I meant to ask Mike Nimer about that, but I forgot. It sounds silly though. Johnny would be slightly nice, might put in an enhancement request to Macromedia AND New Atlanta. Adam H On 7/1/05, BOUDOT Christian [EMAIL PROTECTED] wrote: ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211063 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: write component/object with cfscript
HUH! Johnny, don't worry that is absolutely not true, why would we do that? Do you remember which presentation that was? Were there any other points of the presentation that seemed wrong? ---nimer -Original Message- From: Johnny Le [mailto:[EMAIL PROTECTED] Sent: Saturday, July 02, 2005 11:23 AM To: CF-Talk Subject: Re: write component/object with cfscript According to a presentation at CFUNITED-05, cfscript is fading out and at some points it won't be supported. The presenter is not from Macromedia. So I don't know how reliable the source is. I meant to ask Mike Nimer about that, but I forgot. It sounds silly though. Johnny would be slightly nice, might put in an enhancement request to Macromedia AND New Atlanta. Adam H On 7/1/05, BOUDOT Christian [EMAIL PROTECTED] wrote: ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211071 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: write component/object with cfscript
Actually yes Mike there were other points in the presentation that were wrong. I attended this one b/c I was too lazy to move out of advanced tuning and the adavnced gateway was next, which was great, so I sat in on this one this lady was ...well not very good... I corrected her atleast once, and attempted to atleast 1 or 2 other times. I was actually going to post about this presenter on monday...The presentation claimed you could not use Functions or tags in cfscript...HELLO wtf was she talking about...I did correct her on that. She also insightfully told all our begginers to VAR all variables in UDFs which is great but in her udf she did a cfquery but never VARed the variable the query was contained in. She also maid no mention of the HINT attribute yet put a perfectly good HINT in comments above the UDF. THe advanced courses werre great this year but some of the beginner classes seemed to be in need of some serious help. If you would like specifics let me know :) Adam H On 7/2/05, Mike Nimer [EMAIL PROTECTED] wrote: HUH! Johnny, don't worry that is absolutely not true, why would we do that? Do you remember which presentation that was? Were there any other points of the presentation that seemed wrong? ---nimer -Original Message- From: Johnny Le [mailto:[EMAIL PROTECTED] Sent: Saturday, July 02, 2005 11:23 AM To: CF-Talk Subject: Re: write component/object with cfscript According to a presentation at CFUNITED-05, cfscript is fading out and at some points it won't be supported. The presenter is not from Macromedia. So I don't know how reliable the source is. I meant to ask Mike Nimer about that, but I forgot. It sounds silly though. Johnny would be slightly nice, might put in an enhancement request to Macromedia AND New Atlanta. Adam H On 7/1/05, BOUDOT Christian [EMAIL PROTECTED] wrote: ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211072 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: write component/object with cfscript
Ah, so you were the one who corrected her. I thought somehow you missed that important announcement. Yep, I remember. That was session 14 (room 1) by Melissa Lizmi. She also gave a presentation on Variables and Conditions. I did not attend that session though. BTW, Mike, thanks to your presentation, I spent the whole day today exploring cfform. I have so many questions... :-) Johnny Actually yes Mike there were other points in the presentation that were wrong. I attended this one b/c I was too lazy to move out of advanced tuning and the adavnced gateway was next, which was great, so I sat in on this one this lady was ...well not very good... I corrected her atleast once, and attempted to atleast 1 or 2 other times. I was actually going to post about this presenter on monday...The presentation claimed you could not use Functions or tags in cfscript...HELLO wtf was she talking about...I did correct her on that. She also insightfully told all our begginers to VAR all variables in UDFs which is great but in her udf she did a cfquery but never VARed the variable the query was contained in. She also maid no mention of the HINT attribute yet put a perfectly good HINT in comments above the UDF. THe advanced courses werre great this year but some of the beginner classes seemed to be in need of some serious help. If you would like specifics let me know :) Adam H On 7/2/05, Mike Nimer [EMAIL PROTECTED] wrote: ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211076 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
write component/object with cfscript
Hi Folks, I am writing an object definition with cfcomponent and I would like to use cfscript inside. I couldn't find any reference if there was a way to specify the access type and the return type of a function (method) with cfscript like you would do it in Java. public boolean DummyFunction() { } Thanks for your help Chris Christian Boudot Intrasoft International S.A. 2b rue Nicolas Bové L-1253 Luxembourg Telephone: +352 44 10 12 2114 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210997 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: write component/object with cfscript
CFCs have to be written as tags, cfcomponent, cffunction, cfscript can be used inside the cffunction though. john. On 7/1/05, BOUDOT Christian [EMAIL PROTECTED] wrote: Hi Folks, I am writing an object definition with cfcomponent and I would like to use cfscript inside. I couldn't find any reference if there was a way to specify the access type and the return type of a function (method) with cfscript like you would do it in Java. public boolean DummyFunction() { } Thanks for your help Chris Christian Boudot Intrasoft International S.A. 2b rue Nicolas Bové L-1253 Luxembourg Telephone: +352 44 10 12 2114 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210998 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: write component/object with cfscript
Thanks for your reply I just touhgt there might be a way to use the cfscript way with some additional stuff in front of the function keyword. Cheers Chris -Original Message- From: John Beynon [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 09:14 To: CF-Talk Subject: Re: write component/object with cfscript CFCs have to be written as tags, cfcomponent, cffunction, cfscript can be used inside the cffunction though. john. On 7/1/05, BOUDOT Christian [EMAIL PROTECTED] wrote: Hi Folks, I am writing an object definition with cfcomponent and I would like to use cfscript inside. I couldn't find any reference if there was a way to specify the access type and the return type of a function (method) with cfscript like you would do it in Java. public boolean DummyFunction() { } Thanks for your help Chris Christian Boudot Intrasoft International S.A. 2b rue Nicolas Bové L-1253 Luxembourg Telephone: +352 44 10 12 2114 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211007 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54