Re: cfscript Common Functions and Best Practices

2005-12-08 Thread Larry Lyons
Setting commonly used functions to a 'permanent' memory scope such as server or application is a good idea. A better one would be to create a CFC that contains the common functions as well as common data and store that CFC in the memory scope. How would that work under a clustered environment?

RE: cfscript Common Functions and Best Practices

2005-12-07 Thread Ben Nadel
fax www.nylontechnology.com Vote for Pedro -Original Message- From: Ryan Duckworth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 5:54 PM To: CF-Talk Subject: cfscript Common Functions and Best Practices Currently we have many functions that we use within cfscript. We

Re: cfscript Common Functions and Best Practices

2005-12-07 Thread Ryan Guill
6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com Vote for Pedro -Original Message- From: Ryan Duckworth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 5:54 PM To: CF-Talk Subject: cfscript Common Functions and Best Practices

RE: cfscript Common Functions and Best Practices

2005-12-07 Thread Ben Nadel
] Sent: Wednesday, December 07, 2005 9:06 AM To: CF-Talk Subject: Re: cfscript Common Functions and Best Practices Just so you know, you can also use COAL to do something similar. You just create an object out of COAL, and then you can access your different libraries at the time you need them

Re: cfscript Common Functions and Best Practices

2005-12-07 Thread Ryan Guill
- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 9:06 AM To: CF-Talk Subject: Re: cfscript Common Functions and Best Practices Just so you know, you can also use COAL to do something similar. You just create an object out of COAL, and then you can access

RE: cfscript Common Functions and Best Practices

2005-12-07 Thread Ben Nadel
Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 9:39 AM To: CF-Talk Subject: Re: cfscript Common Functions and Best Practices You do not have to put the files outside of the current application or have any mappings if you dont want. You certainly can if you

Re: cfscript Common Functions and Best Practices

2005-12-07 Thread Ryan Guill
No problem, let me know if you have any questions. On 12/7/05, Ben Nadel [EMAIL PROTECTED] wrote: Ryan, I appreciate the response. I am definitely interested in at the very least taking a look at how it works, as I am very new to OOP and very interested in how you all get things working at

cfscript Common Functions and Best Practices

2005-12-06 Thread Ryan Duckworth
Currently we have many functions that we use within cfscript. We are storing them in the request scope (see 2 examples below). Here is what I am don't like about this approach: Every page hit from every user is loading these common functions. I personally am not convinced that the request

Re: cfscript Common Functions and Best Practices

2005-12-06 Thread Michael Dinowitz
Setting commonly used functions to a 'permanent' memory scope such as server or application is a good idea. A better one would be to create a CFC that contains the common functions as well as common data and store that CFC in the memory scope. Currently we have many functions that we use

RE: cfscript Common Functions and Best Practices

2005-12-06 Thread Bobby Hartsfield
Hartsfield http://acoderslife.com -Original Message- From: Ryan Duckworth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 5:54 PM To: CF-Talk Subject: cfscript Common Functions and Best Practices Currently we have many functions that we use within cfscript. We are storing them