Changeset 3766 for framework

Show
Ignore:
Timestamp:
04/01/11 17:25:11 (14 months ago)
Author:
elemoine
Message:

use 2.x instead of 2.0 in the migrating from 1.2 doc, no functional change

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • framework/server/trunk/docs/framework/upgrading.txt

    r3610 r3766  
    33 
    44This section provides information for upgrading a MapFish application from 
    5 MapFish 1.2 to MapFish 2.0 
     5MapFish 1.2 to MapFish 2.x 
    66 
    77Pylons 1.0 
    88~~~~~~~~~~ 
    99 
    10 MapFish 1.2 is based on Pylons 0.9.7, and MapFish 2.0 is based on Pylons 1.0. 
    11 So to upgrade an application from MapFish 1.2 to MapFish 2.0 it is first needed 
     10MapFish 1.2 is based on Pylons 0.9.7, and MapFish 2.x is based on Pylons 1.0. 
     11So to upgrade an application from MapFish 1.2 to MapFish 2.x it is first needed 
    1212to upgrade that application from Pylons 0.9.7 to Pylons 1.0. For this refer to 
    1313the `Pylons 1.0 Upgrading page <http://pylonshq.com/docs/en/1.0/upgrading/>`_, 
     
    1515 
    1616.. note: 
    17     MapFish 2.0 depending on Pylons 1.0, you will run into dependency issues if 
     17    MapFish 2.x depending on Pylons 1.0, you will run into dependency issues if 
    1818    you attempt to upgrade to Pylons 0.10. So it is recommended not to attempt 
    1919    it. 
     
    5555MapFish-specific adjusments. 
    5656 
    57 MapFish 2.0 
     57MapFish 2.x 
    5858~~~~~~~~~~~ 
    5959 
     
    6161^^^^^^^^^^ 
    6262 
    63 MapFish 2.0 is based on `GeoAlchemy <http://geoalchemy.org>`_. GeoAlchemy 
    64 provides extensions to SQLAlchemy for use with spatial databases. MapFish 2.0 
     63MapFish 2.x is based on `GeoAlchemy <http://geoalchemy.org>`_. GeoAlchemy 
     64provides extensions to SQLAlchemy for use with spatial databases. MapFish 2.x 
    6565no longer defines the ``Geometry`` type, the one defined by GeoAlchemy is to be 
    6666used instead. 
     
    9090    mapper(User, users_table) 
    9191 
    92 With MapFish 2.0 the same ``user`` model looks like this:: 
     92With MapFish 2.x the same ``user`` model looks like this:: 
    9393 
    9494    from sqlalchemy import Column, types 
     
    111111^^^^^^^ 
    112112 
    113 The ``Filter`` abstraction is no longer. With MapFish 2.0 only SQLAlchemy 
     113The ``Filter`` abstraction is no longer. With MapFish 2.x only SQLAlchemy 
    114114filters (``ClauseElement``) are manipulated. 
    115115 
     
    142142^^^^^^^^^^ 
    143143 
    144 MapFish 2.0 introduces the ``geojsonify`` decorator for generating GeoJSON. 
     144MapFish 2.x introduces the ``geojsonify`` decorator for generating GeoJSON. 
    145145 
    146146With MapFish 1.2 the ``paster mf-layer`` command generated controller files 
     
    183183            return self.protocol.delete(request, response, id) 
    184184 
    185 With MapFish 2.0 the same ``user`` controller looks like this:: 
     185With MapFish 2.x the same ``user`` controller looks like this:: 
    186186 
    187187    from pylons import request, response, session, tmpl_context as c