When is a structure not a structure ?
Question: When is a ColdFusion structure not a structure, as checked by isStruct() ?
Answer: When the structure is a CFC !
Question: When is a ColdFusion structure not a structure, as checked by isStruct() ?
Answer: When the structure is a CFC !
There was a thread on CF-Talk about how best to split a large file up into records and then import them into a database - it happened to be MySQL but this note applies to every database I've ever used (including Oracle and MSSQL).
The quick summary is 'don't use ColdFusion for this'. Sometimes all you have is a hammer, and so everything looks like a nail - but there are much much more robust and much much faster ways of doing this.
Q. When is the ColdFusion administrator password not the ColdFusion administrator password ?
A. When the password contains a £ sign.
In the previous part, we saw how you can easily get up and running with the AOP features of ColdSpring in a ColdFusion project. But what practical use can this be put too ?
In this part I will show a simple piece of AroundAdvice that helps with reporting exceptions to clients of services. The next part will present a more complicated example - using BeforeAdvice to enforce security constraints and time-limited tokens.
Borre Wessel, Modularizing Flex, Cairngorm & Modules
adds complexity - do you have a good reason i.e. large, slow to start applicataion, is code easy to share cross project (i.e. a well written component)
main application (in applicationDomain hierarchy) needs to have ref to any class shared across module
rsl (non-framework) actualy make your app bigger, but are stored in the browser cache, so if your next app needs same one that will be faster to start
Four easy steps to get the free Railo CFML engine up and running as a J2EE app and linked to a front end Apache.
We'll pretend your application lives in /parth/to/dir/above/web/root/webrootdir this is the DocumentRoot of your Apache and the root (default) context of Tomcat.
1. Download Tomcat 6 from the nice folks at Apache and install it.
Configure a new Host entry in it's server.xml for your new Apache web root.