Category: Programming
Objects and Composition in CFCs - Part 2: ColdSpring
Posted on Jun 05, 2007
My last article focused on the basics of developing composite objects in ColdFusion using CFCs. To be honest, that is the hard part. Now we get to the easy and fun parts, the first being ColdSpring integration. This is a pretty straightforward and simple process, especially when all you need to do is copy/paste code from my code generator, so let's get started (as before the code for this is attached).
Note: as a reminder, I will be covering these same topics in my upcoming CFFrameworks.com workshop. So sign up.
Objects and Composition in CFCs
Posted on Jun 01, 2007
Ever since I released my code generator I have received requests for examples on how to use the generated code (a topic which I will revisit in my upcoming cfframeworks workshop). This is in part because it is being used by some people as a way to introduce themselves to programming with an object-oriented methodology, which wasn't really the intent of the application, but I am glad if it does help people with difficult transition.
Recently, I have been receiving very similar questions from a range of generator users all relating to how to implement object composition in ColdFusion. This article is intended to give an introductory overview of creating objects and, more specifically, objects composed of other objects using ColdFusion components. In order to do so, I have created a sample application which is attached to this post, more on that later, first a note on using the generator.
Embedded Database Coming in Apollo Public Beta
Posted on May 31, 2007
There has been a lot of talk about Google Gears off-line web application platform today. One of the important items being that Gears will embed a SQLite database for off-line data storage. The lack of real off-line data storage was one of my chief criticisms of the Apollo platform. Well, there is good news on this front. Within Ryan Stewart's Gears post he says the following:
The other cool thing about this announcement is the information that the Apollo team has been simultaneously working on an embedded database in Apollo. The embedded database will be a part of the public beta for Apollo that is coming soon.
I suppose if there is offline data storage then synching data on and off line should be entirely feasible too. Now that, in my opinion, would be the key to making really powerful, Flex-driven off-line applications.
Further Thoughts on Apollo
Posted on Apr 20, 2007
I have been working through my feelings on the Apollo concept lately and, in fact, had a fairly lengthy discussion with Matt Woodward and Peter Farrell about it on the ColdFusion Weekly Podcast last week. I had toyed with Apollo some, but felt that perhaps I should get a little more informed before spouting opinions (yeah, you may say, like that has ever stopped you before...touché). So, I got a copy of Apollo for Adobe Flex Developers and dove in (which isn't much diving at just over 100 very small pages...I suppose it is more wading).
Overthinking Your Framework is a Stalling Tactic
Posted on Feb 13, 2007
Ok. I am going to go ahead and dive into a topic I often feel gets beaten to death, but which inevitably comes up almost weekly, if not more frequently. This time, it is time for some tough love! If you are sitting back studying frameworks, researching options, reading blogs and looking for the answer about what framework you need to just admit to yourself you are just stalling (go ahead, flame on)!