I have an idea for an enhancement, but I'd like your feedback before I
begin any development.
Let's say you want to add a third-party ColdFusion library (Hyrule,
Hoth, etc...) to your ColdMVC application. Often times these libraries
require a specific mapping in order to access their components.
To make adding libraries a virtual drag-and-drop process, I'd like to
propose updating ColdMVC to automatically create per-application
mappings for any top level directories inside your project's /lib
folder, if a /lib folder exists.
For example, if you added both Hyrule and Hoth to your application,
your directory structure might look like this:
/root
/app
/config
/lib
/hoth
/hyrule
/public
ColdMVC would then automatically create per-application mappings like
such:
this.mappings = {
"/hoth" = "/root/lib/hoth",
"/hyrule" = "/root/lib/hyrule"
};
Thoughts?