Setting Up Model Glue with no mappings
There was a post on the MG lists about setting up Model Glue and the fact you need mappings. I had this lying around from some internal writings and thought it might be useful. It details setting up MG with no mappings. Example 1 - Root setup
URL : www.mysite.com
On the root of your site you have the MG folder along with the others e.g./modelglue/
/controller/
/views/
/model/
/config/
To call the welcome page the URL would be www.mysite.com/index.cfm?event=welcome
In the modelglue.xml the config looks like this:
Example 2 - Folder setup
URL :www.anothersite.com/myapp/
From the root the set up looks like this/modelglue/
/myapp/controller/
/myapp/views/
/myapp/model/
/myapp/config/