MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Designing the Virtual Earth Web Services

This is a discussion on Designing the Virtual Earth Web Services within the Virtual Earth Blogs forums, part of the Blogs category; When the Virtual Earth Platform Team first began designing the Virtual Earth Web Services, we made developer ease of use ...


Go Back   MapPoint Forums > Blogs > Virtual Earth Blogs

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 10-03-2008
Junior Member
Site Admin
 
Join Date: Sep 2008
Posts: 0
Designing the Virtual Earth Web Services

When the Virtual Earth Platform Team first began designing the Virtual Earth Web Services, we made developer ease of use one of our key goals.  After some researching and brainstorming, we eventually came up with a set of core API design principles for all Virtual Earth Web Services that helped guide us.


•         Keep only the most important properties as accessible as possible.


As much as we dislike creating and nesting several layers of specification objects, we also dislike wading through a slew of top-level properties just to determine what we actually need to pass in.


Given our distaste for either extreme, we chose a more centrist path for the Virtual Earth Web Services:



  • All required data is located in the top-level properties of a request object.

  • All optional data and execution settings are located under the separate options properties of a request object.

•         Minimize the input needed to execute the request successfully.


No one likes an API that requires entering every single piece of information every time you make a request.  The Virtual Earth Web Services saves you the effort by setting default values for optional data or execution settings -  even if you only specify a subset of the optional values.


•         Standardize input types, output types and method signatures.


Early on in the design process, we recognized that maintaining a certain level of consistency across all Virtual Earth Web Services would reducing the amount of surprise developers encountered moving from service to service.  With that in mind, we did the following when designing all of the Virtual Earth Web Services:



  • Each Virtual Earth Web Service is built off of a set of common data types. This includes a common base type for all request objects (RequestBase), a common base type for all response objects (ResponseBase) and a set of shared core data types like shapes & units.

  • Each service method follows the same input / ouput pattern - a RequestBase subtype goes in, a ResponseBase subtype comes out.

Eugene Shinn


Senior Software Development Engineer, Virtual Earth Platform



VE Platform Team Blog Entry...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/designing-virtual-earth-web-services-8771.html

Posted By For Type Date
The Magazine for MapPoint - MP2K Magazine This thread Refback 10-04-2008 05:12 PM
Virtual Earth: Blogs, Photos, Videos and more on Technorati This thread Refback 10-04-2008 04:15 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Introducing Virtual Earth Web Services v1.0 VE Platform Team Blog Virtual Earth Blogs 0 09-26-2008 10:12 PM
Microsoft Virtual Earth to Be Offered with ESRI’s ArcGIS Online Services Eric Frost Press Releases 0 07-30-2008 01:15 PM
Microsoft Virtual Earth: Software Plus Services or SaaS? VE For Government Virtual Earth Blogs 0 05-29-2008 06:40 PM
Pro-Teck Valuation Services Integrates with Microsoft Virtual Earth Eric Frost News and Announcements 0 03-20-2007 12:16 PM
Designing Territories Anonymous MapPoint 2006/2009 Discussion 0 11-12-2002 02:58 PM


All times are GMT -5. The time now is 12:15 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55