beautypg.com

Pitney Bowes MapXtreme User Manual

Page 73

background image

Chapter 4: Understanding the MapXtreme Architecture

Web Application Architecture

MapXtreme v7.1

73

Developer Guide

Build views by dragging and dropping MapXtreme web controls onto a Visual Studio web form. Build
your internal data structures and interact with external data sources, base maps and dynamic
content by using objects under MapInfo.Engine and MapInfo.Data namespaces. Use the controller
code to tie the views and data together and provide the user with an engagement sequence to
effectively use the application to resolve a business need or problem.

Microsoft .NET Infrastructure

MapXtreme runs under Microsoft .NET 2.0 Framework. An application built using MapXtreme runs
as an ASP.NET application under the worker process of IIS.

The Microsoft ASP.NET framework provides COM+ object pooling for developers of high
performance enterprise applications so that objects such as workspaces can be preloaded.
MapXtreme’s object model operates very efficiently under this framework. The framework also
provides application state management tools such as StateServer and SQL Server, as well as
automatic and manual state management control.

Chapter 6: Understanding State Management

presents important information on these topics.

Map-building Tools

Use the MapXtreme Workspace Manager to create your application’s base maps. Here you can
manage each layer of a map and control its zoom level, labeling, styles, themes and adornments to
give you exactly the presentation you need for your application. The information is saved to an XML-
based workspace for easy retrieval at a later date. See

Chapter 23: Workspace Manager

.

Data Access

A key element of this architecture is the ability to access to dynamic data content. Objects that exist
within the MapInfo.Data namespace provide this data access. Data content can come from a
number of sources, such as WMS, WFS, remote database management systems, live feeds from
GPS or driving directions from the MapInfo Routing service. To make the most of disparate data, you
can concurrently use information from different data sources. See

Chapter 8: Working with Data

.