David Ames
Member since Jun 28, 2011
- Profile: /members/8550-david-ames.htm
- Comments: 5
Recent Blog Comments By David Ames
-
A Better Understanding Of MVC (Model-View-Controller) Thanks To Steven Neiland
Posted on May 22, 2012 at 2:12 PM
I'm wondering anyone has any thoughts on Mach-II and what the controller actually consists of (just the XML file or the XML file plus listeners/filters ). The reason I ask this is that i'm increasing seeing traditional programming constructs in the XML file. - eg, Performing Looping and variable as... read more »
-
ColdFusion 10 - Script vs. Tags And My Coding Methodology
Posted on Mar 29, 2012 at 6:07 PM
@Tony, if course I could, but I should not have to. I consider this sort of thing to be basic functionality that a compiler should provide. @Raymond, sorry, your are correct, it's possible to product a 100% varscoped CFC, or even a small project of 100% varscoped CFC's especially if your project... read more »
-
ColdFusion 10 - Script vs. Tags And My Coding Methodology
Posted on Mar 29, 2012 at 5:10 PM
@Raymond, Mike's Varscoper extension will only works if both the component and function declarations are declared in CFML. It does not work if you declare the function and component in script. Therefore, there is no way to varscope a .CFC if it is declared entirely in script, and that is a prob... read more »
-
ColdFusion 10 - Script vs. Tags And My Coding Methodology
Posted on Mar 29, 2012 at 4:51 PM
Whilst Adobe has been pouring time and resources into ability to make class/function declarations in script, this feature is an absolute waste of time because of the lack of varscope checker for script. As we all know, unscoped vars in classes that are in shared scopes cause horrible, hard to track... read more »
-
ColdFusion Query-Of-Queries vs. The Group Attribute In CFOutput
Posted on Jun 28, 2011 at 4:24 PM
Ben, Your only issue with cfoutput group is that cfoutput is also used for controlling displaying of output in CF. To work around this fact you come up with a hack using lots of Query of Queries, which is extremely inefficent and creates code that is harder to read. Surly you should just do what ... read more »