I just spotted a couple of posts that are going along with my own work, Peter Bell has released LightWire Version 0.01 and another post over at WebApper by Steve Nelson with regards to running Fusebox using CFC’s (rather than the massive XML file).
I am a known fan of Model-Glue, Reactor and ColdSpring, but for my latest project (for work, not released) I am creating a framework that is similar to MG but since it has one purpose there is less (sorry about this Joe) ‘bloat’. Not that MG is bloated, but for our framework we have some specific goals and not others (such as scaffolding).
Its a specific framework that needs to be built for speed and deployment ease. It means that there should very few application files (the front end of the application) and its based on Application.cfc doing a lot of the calling. Index.cfm being a rather lonely file doing not much at all (maybe up to 5 lines of code or something).
So far I have CFC’s as listeners and controllers, a generic Value Bean (like the Event object in model glue, but its re-usable for other parts of the application), SoftCache to keep the right things in memory and a optional cache level (its for a CMS so you can get stuff from cache, from live and from edit modes ). I need to add some forwarding functions (to the core) and more data access in controllers (but that wont be core of the framework really)
Sometimes you need to write your own frameworks, but when you do you will come across the same problems that are resolved by other frameworks. To that end, you should DEFINITELY read Peter Bell’s Application Generation and look into how the other frameworks deal with those issues.
Tweet
comments powered by Disqus