Changes between Initial Version and Version 1 of maestro/MaestroAPI/Maestro3ApiComparisons


Ignore:
Timestamp:
Jul 4, 2011, 5:21:39 AM (13 years ago)
Author:
jng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • maestro/MaestroAPI/Maestro3ApiComparisons

    v1 v1  
     1= MaestroAPI 3.x API comparison =
     2
     3Maestro 3.x has fundamental API changes from 2.x. This table outlines the main classes and interfaces in 2.x and their equivalents in 3.x
     4
     5||Maestro 2.x||Maestro 3.x||
     6||OSGeo.MapGuide.MaestroAPI.ServerConnectionI||OSGeo.MapGuide.MaestroAPI.IServerConnection||
     7||OSGeo.MapGuide.MaestroAPI.HttpServerConnection||OSGeo.MapGuide.MaestroAPI.IServerConnection (created using the Maestro.Http provider name)||
     8||OSGeo.MapGuide.MaestroAPI.LocalNativeConnection||OSGeo.MapGuide.MaestroAPI.IServerConnection (created using the Maestro.LocalNative provider name)||
     9||OSGeo.MapGuide.MaestroAPI.ApplicationDefinition.ApplicationDefinitionType||OSGeo.MapGuide.ObjectModels.ApplicationDefinition.IApplicationDefinition||
     10||OSGeo.MapGuide.MaestroAPI.DrawingSource||OSGeo.MapGuide.ObjectModels.DrawingSource.IDrawingSource||
     11||OSGeo.MapGuide.MaestroAPI.FeatureSource||OSGeo.MapGuide.ObjectModels.FeatureSource.IFeatureSource||
     12||OSGeo.MapGuide.MaestroAPI.LoadProcedure||OSGeo.MapGuide.ObjectModels.LoadProcedure.ILoadProcedure||
     13||OSGeo.MapGuide.MaestroAPI.LayerDefinition||OSGeo.MapGuide.ObjectModels.LayerDefinition.ILayerDefinition||
     14||OSGeo.MapGuide.MaestroAPI.MapDefinition||OSGeo.MapGuide.ObjectModels.MapDefinition.IMapDefinition||
     15||OSGeo.MapGuide.MaestroAPI.WebLayout||OSGeo.MapGuide.ObjectModels.MapDefinition.IWebLayout||
     16||OSGeo.MapGuide.MaestroAPI.FeatureSourceDescription||OSGeo.MapGuide.MaestroAPI.Schema.FeatureSourceDescription||
     17||OSGeo.MapGuide.MaestroAPI.RuntimeClasses.RuntimeMap||OSGeo.MapGuide.MaestroAPI.Mapping.RuntimeMap||
     18
     19== ServerConnectionI ==
     20
     21In Maestro 3.x, the ServerConnectionI (now called IServerConnection) has been broken up to service-specific interfaces:
     22
     23 * IResourceService
     24 * IFeatureService
     25 * IFusionService
     26 * IMappingService
     27 * ISiteService
     28 * ITileService
     29
     30These services can be accessed via GetService() method of IServerConnection. The IResourceService and IFeatureService can be accessed directly via the ResourceService and FeatureService properties of IServerConnection
     31
     32== Resource Classes ==
     33
     34In Maestro 3.x, resource types are modeled on interfaces. Although there are still underlying generated classes implementing these interfaces, these classes are not intended to be used directly. Creation of these resource objects is done via the new ObjectFactory class. IResourceService automatically handles serialization/deserialization.