Upgrading_From_Model-Glue_1

This document is intended for developers already using Model-Glue 1.x.  It's not an introduction to Model-Glue, and serves only to outline differences betweeen 1.x and 2.x.

Reverse Compatibility

Applications written for Model-Glue 1.x should be 100% reverse compatible when upgraded to the Model-Glue 2.x codebase.  If, for some reason, your application is not, please post a ticket to http://trac.model-glue.com immediately.  Reverese compatibility issues are given the highest priority.

Creating New Applications

When you create a new application using the Model-Glue 2.x application template, you'll immediately notice that there is no longer a single ModelGlue.xml file in the /config directory.  Instead, there are three files:

 

  1. ModelGlue.xml

  2. ColdSpring.xml

  3. Reactor.xml

 

The largest different you'll notice is that the <config> block is no longer in ModelGlue.xml.  Instead, the settings for the framework are in ColdSpring.xml.  The XML format is a little different, but still self-explanatory.  The settings are named the same, and still perform the same function.  There are a few new settings, such as "rescaffold."  Explanation of each setting can be found in the ColdSpring XML Reference section of the Reference Materials documentation.