I get the sense (from reading many of the posts) that many developers prefer the style of application design that has a wide variety of custom functions available in some type of application scope (i.e request, response, session, application, etc).  Is this a true statement of most developers.
 
Example: Isaacs phormat() function - having it available to use in any template in the app. without specially loading a UDF file or CFC method call.
 
For those that prefer to write apps in this manner - do you share your app space with any other developers?
 
For those who don't - same question?
 
I work with developers from all over the globe (my company is setup this way).  We all share the same app space at a root level, and every domain (75 in all) points to a single Application.cfm at the root (or at least is required to be cfincluded).  The "global" function style has caused many problems with developers in the past - so we dumped it.  Now developers are required (or have the freedom) to create their own functions and load them when needed - but they cannot stay in an application scope.  This seems to have eased the frustration with function names stepping on each other, and an overloaded app scope.  But it does require a few extra lines of code.
 
Just wondering.
 

Matt Knight ►Dresser Corporate Web TeamDresser, Inc. w: 972 361 9943 m: 214 213 4016

 

Reply via email to