Calendar
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Recent Entries
Come On In, Rails-The Water's Warm
Shan's Simple Examples: File uploads with Flex and ColdFusion
Recent Comments
Google Calendar API - Creating a new Calendar with ColdFusion
Steve Julian said: When and where are you going to post the finished CFC's ? Thanks
[more]
Three Phases of Programmer Development
Pat Branley said: I normally think of those phase 2 people as 'programmers' and the phase 3 people as 'developers'.
I...
[more]
New Job Title: Front End Engineer
Sean Corfield said: Well, there's always the excellent Fusion Authority Quarterly Journal...
[more]
Down To The Wire: HTTP Sniffers
Brian M said: I second the mention of the Charles Web Debugging Proxy that Tariq mentioned. It is fantastic. It s...
[more]
New Job Title: Front End Engineer
Patrick said: Heya Sean. Good point. I never understood how they did things over there at SysCon, and I understand...
[more]
Archives By Subject
Business of Software (4) [RSS]
ColdFusion (318) [RSS]
Conferences (6) [RSS]
Databases (87) [RSS]
Flex & Flash (109) [RSS]
Fusebox (87) [RSS]
General Development (29) [RSS]
Google (9) [RSS]
Hardware (5) [RSS]
JVM & Java (132) [RSS]
Linux (20) [RSS]
Miscellaneous (254) [RSS]
Performance (8) [RSS]
SeeFusion (36) [RSS]
Shan's Simple Examples (7) [RSS]
User Interface (3) [RSS]
Windows (5) [RSS]
Archives By Poster
Daryl Banttari (10)
Nat Papovich (29)
Patrick Quinn (36)
Shannon Hicks (22)
Steve Nelson (21)
Tyson Vanek (3)
CFCs are the Framework
This CFC framework is too simple for you. It has too much power without enough work. It doesn't even have a really clever name. Frankly, you're not going to like it.
But in case you're still curious, you can download my presentation, the codebase and a 5 page code walk through here:


Just wanted to say had a great time meeting you at the conference. Your Foosball kung-fu is strong, but my Air Hockey skills will bring down you and your little framework too :->
Cool idea re: the framework. I'd still add ColdSpring (or LightWire) for easier mocking while testing and in general simpler replacement of objects based on deployment requirements. I also like to abstract all my cross cutting concerns and that is really easy using DI and AOP (you can just mix in decorating methods on object instantiation).
I also like to write the code within my CFC (no reason NOT to cfinclude, but I don't have a good reason TO cfinclude - except for views which I handle using CFCs that include processed templates stored as CFM files).
As mentioned by the audience, var scoping and custom tag calls might bring some benefits, and for me the killer opportunity missing from this is the use of base classes with methods for implementing code that it similar across business objects, for DRYer code and better reuse, but other than that, this looks pretty similar to what I'm doing with LightBase.
Will be interesting to see feedback from others, but whatever happens, as usual you seemed to have managed to skillfully manage good ideas and just a little bit of trash talking to make for an excellent presentation - definitely one of the best at the conference!
WRT including in a cfc, honestly it makes no difference to me (unless you're working on one of my projects), nor to this cfc framework. It's merely architectural style; everything will work exactly the same (assuming you keep track of var'ing variables).
I personally keep everything within CFCs (as opposed to cfincludes) as I often break down into smaller methods and even used composed objects and it is easier to do that style of coding by keeping everything except for the layout templates within the CFCs. Find I can reuse more granular snippets of code by composing objects to provide richer behavior than the core CF tags and can also wrap advice around method calls to do stuff like logging via AOP, but as you said - mainly a matter of preference!
You might consider rethinking this approach with HTML. But... you don't have to. If you're nuts, you can put all the HTML in the CFCs. It'll still work.