Yes this is what my framework does. I believe FB4 may also be very similar.
My URL's are formed like this Index.cfm?action=resource.action Where resource is a folder and action is the action to perform. In each folder I have an pagemaster.cfm Pagemaster looks at the value of action (treating it as a list with . As the delimiter) if the list has only 1 item, then there is only an action and the action is to me performed in the current folder, so a switch/case will occur to determine what file to run. If the list has more than 1 item, then a resource or resources has been specified, so the pagemaster passes control to the next pagemaster in that folder. E.G. Index.cfm?action=default Will run the pagemaster in the root of the site, and run the default action. Index.cfm?action=users.edit Will run the pagemaster in the root, which will see the action has 2 items (users and edit), so will strip the first item (users) from the list, and will then pass control to the pagemaster in the USERS folder via a cfinclude. The pagemaster in the users folder will then only have "edit" as the action, and will thus perform that action in the current folder. This allow sinfinite nesting of folders (call them resources or modules) and each fodler can easily be moved between applications as long a sthe code is not reliant on some other module. Russ -----Original Message----- From: Phill B [mailto:[EMAIL PROTECTED] Sent: 23 December 2005 16:23 To: CF-Talk Subject: Anyone make a CF framework like this? I want a framework that allows for multiple directories instead of the entire site running under a index.cfm file in the site root. Anyone know of a framework like this? I modified fusebox 3 to do this but I want to move from FB3 to more of an MVC framework. -- Phil ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227613 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

