This won't come as a surprise to those of you who have been building sites using Coldspring for a while, but I was VERY pleasantly surprised at the performance improvement when I launched my first all-Coldspring site conversion today.
I've been using Coldspring for a while now, but never had the opportunity to completely rebuild a site, or build one from scratch, where all my components were managed by Coldspring - until now. I have just completed rebuilding Bluegrass Australia, (http://bluegrass.org.au) one of my pro-bono sites including a CMS of my own design and build. I have taken the opportunity to get rid of all the createObject() functions and replace them with calls to the Coldspring beanfactory. I've also got rid of the CFCFactory I had built a year or so back, and replaced that too, with calls to the Coldspring beanfactory. This is, of course, exactly the way Coldspring is supposed to be used. In the rebuilding process, I spent quite a lot of time checking and ensuring the encapsulation of all my components, making sure the variables everywhere are var'd properly, and any time I found myself typing out code that was similar to something I already did elsewhere, I looked for ways to change the first code to see if it can be used for both place. Behold! You'd be amazed at how often the code could be reused. And what a difference that made when I found a need to make a change to the site or the CMS. There is now almost complete separation of logic and presentation elements on this site, and about 80% of the code is now generic - I can just copy it into another site and use it. All sorts of elements like login and security, permissions, guestbook, contact-us, menu creation, page makeup etc are reusable around the site and elsewhere in other sites. But the biggest change I noticed is the performance. With Coldspring managing the caching of CFCs, I am now developing new functionality in a fraction of the time I did before. I no longer have to remember how to create an object, or what dependencies it has. Coldspring does all that for me. And the pages are delivered in about half the time they were before. The appearance and content of the site hasn't changed, but by golly the response times sure have! What a testament to the worth of Coldspring. Cheers Mike Kear Windsor, NSW, Australia 0422 985 585 Adobe Certified Advanced ColdFusion Developer AFP Webworks Pty Ltd http://afpwebworks.com Full Scale ColdFusion hosting from A$15/month
