> I was specifically wondering if ANY of the frameworks support code re-use > in the form that I mentioned in the orginal post. i.e. can I write the > model and views for one system and keep them in one location accessile to > several applications that mayuse parts or all of it's functionality.
IMO it's always a good idea to keep your model separated from the framework you choose to use. I use Mach-II for most of my development (so I am a bit biased). When designing an application, I create my model completely detached from the framework. Once the model is built I then create the event listeners that draw upon my model. This allows me to use the model in different applications if necessary, as well as it keeps my model framework agnostic. In mach-ii you can create layered views, which will allow you to create component-like views. This allows me to reuse certain view portions around the application. This depends heavily on how you design your views. > Also not mentioned in my original post but occurring to me here is that > the site is largely dynamic in that the same code needs to serve different > content for different sites that use the same backend. All the dynamic > information for the content are retreived from a database through stored > procedures. So these procedures would need to be executed on all pages > with dirreent arguments. Is each 'site' all part of one application? It seems as though you could have the listener determine which arguments to pass to your stored procedure depending on parameters passed in an event object. > All the points mentioned above seem impossible to implement in Model-Glue > (without destroying the performance of the site). IF this is not the case > can someone set me straight? Otherwise could someone recommend another > framework. Or better yet give me the difinitive that I need to be rolling > my own. I've only worked with MG to a small degree, but from my experiments many of the core concepts are the same between MG and MII so most (if not all) of what you are attempting should be possible. HTH, Rich Kroll ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257918 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4