Changes between Initial Version and Version 1 of Release/2.2


Ignore:
Timestamp:
Oct 7, 2010, 3:59:02 PM (14 years ago)
Author:
trevorwekel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Release/2.2

    v1 v1  
     1= !MapGuide 2.2 Release Notes =
     2
     3== Compatibility ==
     4Click [wiki:2.2MigrationInstructions here] for instructions on how to migrate to MGOS 2.2 from older releases.
     5
     6MGOS 2.2.0 is compatible with [http://fdo.osgeo.org/content/fdo-350-downloads FDO 3.5.0].
     7
     8== FDO ==
     9
     10FDO is compiled against the Oracle 11.2 instant client available from [http://www.oracle.com/technology/software/tech/oci/instantclient/index.html?rssid=rss_otn_soft Instant Client Downloads].  For a Linux installation, the Oracle shared library path should be included in LD_LIBRARY_PATH or ldconfig.
     11
     12FDO 3.5 (which this release uses) introduces a [http://trac.osgeo.org/fdo/wiki/FDORfc22 simplified CONCAT expression function]. This function is available for theming and filtering purposes.
     13
     14== Installer notes ==
     15
     16The installer has been updated to allow for greater customisation of the initial configuration:
     17
     18 * User-defined server/web port numbers
     19 * User-defined virtual directory name for both Apache and IIS
     20 * User-defined Apache port number
     21 * The choice of which web site to install the web extensions under (IIS 6.0)
     22
     23The installer (post beta 1) also no longer requires a mandatory reboot for versions of Windows greater than XP.
     24
     25Currently the installer is still only 32-bit.
     26
     27== API changes ==#ApiChanges
     28[wiki:MapGuideRfc66 RFC 66] added client side pinging for the !AjaxViewer to keep sessions alive.  API changes include a new HTTP GETSESSIONTIMEOUT and !MgSiteConnection.!GetSessionTimeout().  An <!EnablePingServer> boolean element was added to !WebLayout.  Since these are new APIs, there is no impact on existing code.
     29
     30[wiki:MapGuideRfc70 RFC 70] introduces new API for creating and modifying the schema of a feature source.  Delete methods are added to !MgFeatureSchema, !MgClassDefinition and !MgPropertyDefinition.  A new !ApplySchema() method was added to !MgFeatureService.  A Decimal property was added to !MgPropertyType for schema purposes. Since these are new APIs, there is no impact on existing code. 
     31
     32
     33[wiki:MapGuideRfc73 RFC 73] introduces a new !GetResourceContents() API to !MgResourceService.  This new functionality is used internally by !MgMap to reduce web extensions / server crosstalk when creating an !MgMap object from a map definition.  Since this is new API, there is no impact on existing code.
     34
     35[wiki:MapGuideRfc74 RFC 74] introduces a boolean "cascade" parameter to !MgResourceService.!MoveResource().  If cascade is enabled, dependant resources will be updated to point at the new location for the moved resource. Since this is new API, there is no impact on existing code.
     36
     37[wiki:MapGuideRfc78 RFC 77] allows !MgFeatureService.!CreateFeatureSource() to create a feature source without defining the feature class and spatial context.  The previous implementation would throw an !MgInvalidArgumentException.  '''This behaviour change may affect existing code.'''[[BR]]
     38
     39[wiki:MapGuideRfc78 RFC 78] introduces explicit transaction management for Feature Service.  A new !MgTransaction object is created and !MgFeatureService !ExecuteSqlQuery, !ExecuteSqlNonQuery, and !UpdateFeatures are overloaded to use the new transaction object.  Since this is new API, there is no impact on existing code.
     40
     41[wiki:MapGuideRfc79 RFC 79] adds more detailed exception classes derived from !MgFdoException.  The derived classes provide more information than the generic !MgFdoException.  Existing code should continue to work with !MgFdoException and should be updated to make use of the derived exception classes.
     42
     43[wiki:MapGuideRfc80 RFC 80] adds parameter binding support to !MgFeatureService !ExecuteSqlQuery and !ExecuteSqlNonQuery.  Since this is new API, there is no impact on existing code.
     44
     45[wiki:MapGuideRfc82 RFC 82] extends the !MapGuide readers to support property access by index in addition to property name.  Accessing properties by index instead of property name may be faster for tight loop processing.  Since this is new API, there is no impact on existing code.
     46
     47[wiki:MapGuideRfc84 RFC 84] adds database row fetch size to !MgFeatureQueryOptions and !MgFeatureService.!ExecuteSqlQuery.  Specifying a fetch size may improve FDO performance by reducing database round trips.    Since this is new API, there is no impact on existing code.
     48
     49[wiki:MapGuideRfc87 RFC 87] adds to the schema returned from the HTTP GETSITEINFO request.  If version 2.2.0 of GETSITEINFO is used, the following addiitional information will be returned working set, virtual memory, server cache size and server cache dropped entries.  Since this is new version of GETSITEINFO, there is no impact on existing code.[[BR]][[BR]]
     50 
     51[wiki:MapGuideRfc89 RFC 89] introduced a number of changes required by the upgrade to PHP 5.3.  '''These changes break existing code.'''
     52{{{
     53MgException class changes:
     54Change GetMessage() to GetExceptionMessage()
     55
     56MgResources class changes:
     57Change GetMessage() to GetResourceMessage()
     58
     59MgCoodinateSystem class changes:
     60Change GetCode() to GetCsCode()
     61Change SetCode() to SetCsCode() for consistency.
     62Change IsLegalCode() to IsLegalCsCode() for consistency.
     63
     64MgCoodinateSystemDatum class changes:
     65Change GetCode() to GetDtCode()
     66Change SetCode() to SetDtCode() for consistency.
     67Change IsLegalCode() to IsLegalDtCode() for consistency.
     68
     69MgCoodinateSystemEllipsoid class changes:
     70Change GetCode() to GetElCode()
     71Change SetCode() to SetElCode() for consistency.
     72Change IsLegalCode() to IsLegalElCode() for consistency.
     73
     74MgWebInvokeScriptCommand class changes:
     75Change GetCode() to GetScriptCode()
     76Change SetCode() to SetScriptCode() for consistency.
     77}}}
     78
     79The RFC 87 API changes will impact:
     80 * Viewers
     81 * Sample applications
     82 * Development guides
     83 * Existing applications
     84
     85
     86== New Server Configuration (serverconfig.ini) Options ==
     87
     88== New Web Configuration (webconfig.ini) Options ==
     89
     90== Disk Space ==
     91
     92The installer requires at least 1.5GB of disk space on C: during installation. Otherwise installation may not proceed.
     93
     94If you do not have sufficient space on C:, you can open the installer file with [http://www.7-zip.org 7-zip] and extract the contents to another drive, and run the extracted setup.exe from there.  It may also be helpful to set your TEMP environment variable to a different drive.