|
theHUB
theHUB is a ColdFusion application development framework. I've been using it in applications that I've designed and developed since 2001, when I was still working for Allaire. It grew out of the concepts that I found to be the most helpful from the Allaire Spectra product and from my review of applications using needlessly complex frameworks.
theHUB, like other application development frameworks, utilizes the notion of a central template or controller that all requests for the application pass through. That cental template that I refer to as theHUB is the point or place within the application that the processing of all code hinges upon. To some it may sound complicated but believe me, that's far from reality. The code simply checks for a query or form parameter and then reads the values passed in to handle template loading and screen rendering.
The concept is that each request passes a unique set of keys that relate one-to-one with a site or application directory and template within the named directory. In applications that utilize TheHUB, and websites like this one you'll notice that the query string looks like "index.cfm?event=dsp.the_hub...". This indicates to the "theHUB"... that it should include the "the_hub.cfm" template from the "dsp" directory. I'm not sure what could be easier.
The beauty of this approach is that you don't have to maintain a configuration file as your application expands or as you add another page to a process. Also, because the query string is so easy to read your developers have a much easier time extending, maintaining and troubleshooting the application. Because theHUB loads a very small number of templates, it has a minimal footprint but allows for extension by plugging in new modules very easily.
theHUB - versions
Once you log in you'll be able to download current and older versions of the code. The most recent is updated for ColdFusion 8. Earlier versions function properly on any previous ColdFusion version. Those versions include:
- theHUB - uses URL parameters
- theHUB+ - uses form parameters (hides the directory/template values)
- theHUB (Application.cfc ~ Request Scope) - Primarily utilizes the 'request' scope within the system logic
- theHUB (Application.cfc ~ Application Scope) - Primarily utilizes the 'application' scope within the system logic. A little more efficient than the 'request' scope.
Sign in to download them all now!
|