| | 1 | = Upgrading From Model-Glue 1 = |
| | 2 | |
| | 3 | 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. |
| | 4 | |
| | 5 | == Reverse Compatibility == |
| | 6 | |
| | 7 | 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. |
| | 8 | |
| | 9 | == Creating New Applications == |
| | 10 | |
| | 11 | 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: |
| | 12 | |
| | 13 | 1. !ModelGlue.xml |
| | 14 | 1. !ColdSpring.xml |
| | 15 | 1. Reactor.xml |
| | 16 | |
| | 17 | 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. |