- Timestamp:
- 04/01/11 17:25:11 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
framework/server/trunk/docs/framework/upgrading.txt
r3610 r3766 3 3 4 4 This section provides information for upgrading a MapFish application from 5 MapFish 1.2 to MapFish 2. 05 MapFish 1.2 to MapFish 2.x 6 6 7 7 Pylons 1.0 8 8 ~~~~~~~~~~ 9 9 10 MapFish 1.2 is based on Pylons 0.9.7, and MapFish 2. 0is based on Pylons 1.0.11 So to upgrade an application from MapFish 1.2 to MapFish 2. 0it is first needed10 MapFish 1.2 is based on Pylons 0.9.7, and MapFish 2.x is based on Pylons 1.0. 11 So to upgrade an application from MapFish 1.2 to MapFish 2.x it is first needed 12 12 to upgrade that application from Pylons 0.9.7 to Pylons 1.0. For this refer to 13 13 the `Pylons 1.0 Upgrading page <http://pylonshq.com/docs/en/1.0/upgrading/>`_, … … 15 15 16 16 .. note: 17 MapFish 2. 0depending on Pylons 1.0, you will run into dependency issues if17 MapFish 2.x depending on Pylons 1.0, you will run into dependency issues if 18 18 you attempt to upgrade to Pylons 0.10. So it is recommended not to attempt 19 19 it. … … 55 55 MapFish-specific adjusments. 56 56 57 MapFish 2. 057 MapFish 2.x 58 58 ~~~~~~~~~~~ 59 59 … … 61 61 ^^^^^^^^^^ 62 62 63 MapFish 2. 0is based on `GeoAlchemy <http://geoalchemy.org>`_. GeoAlchemy64 provides extensions to SQLAlchemy for use with spatial databases. MapFish 2. 063 MapFish 2.x is based on `GeoAlchemy <http://geoalchemy.org>`_. GeoAlchemy 64 provides extensions to SQLAlchemy for use with spatial databases. MapFish 2.x 65 65 no longer defines the ``Geometry`` type, the one defined by GeoAlchemy is to be 66 66 used instead. … … 90 90 mapper(User, users_table) 91 91 92 With MapFish 2. 0the same ``user`` model looks like this::92 With MapFish 2.x the same ``user`` model looks like this:: 93 93 94 94 from sqlalchemy import Column, types … … 111 111 ^^^^^^^ 112 112 113 The ``Filter`` abstraction is no longer. With MapFish 2. 0only SQLAlchemy113 The ``Filter`` abstraction is no longer. With MapFish 2.x only SQLAlchemy 114 114 filters (``ClauseElement``) are manipulated. 115 115 … … 142 142 ^^^^^^^^^^ 143 143 144 MapFish 2. 0introduces the ``geojsonify`` decorator for generating GeoJSON.144 MapFish 2.x introduces the ``geojsonify`` decorator for generating GeoJSON. 145 145 146 146 With MapFish 1.2 the ``paster mf-layer`` command generated controller files … … 183 183 return self.protocol.delete(request, response, id) 184 184 185 With MapFish 2. 0the same ``user`` controller looks like this::185 With MapFish 2.x the same ``user`` controller looks like this:: 186 186 187 187 from pylons import request, response, session, tmpl_context as c
