Pages - Menu

Pages

Sunday, September 20, 2009

Bing Maps Integration Kit for PHP Available

The official label of the PHP Toolkit for Bing Maps Web Service might just be descriptive enough to give away the functionality. But if you haven’t figured it out from just the name, the toolkit is designed to allow developers building PHP websites to seamlessly integrate Bing Maps. Chris Pendleton, Virtual Earth technical evangelist for Microsoft, indicated that the PHP Toolkit for Bing Maps Web Service was essentially designed to compensate the shortcomings of the official Bing Maps MSDN documentation, which doesn’t offer a streamlined way for converting C# to PHP.

“Thanks to the Microsoft Interoperability Team we now have a PHP Toolkit for Bing Maps Web Service. It’s not officially supported by the product group, so don’t cry to me because it doesn’t work the way you want it to, cry to the team who made the PHP Toolkit for Bing Maps Web Service. You could also thank them for saving you days of development and most of the hair on your head,” Pendleton added.

The Virtual Earth Integration Kit for PHP project is hosted on CodePlex, and there are two separate downloads for developers. In the end, devs looking to integrate Bing Maps into their PHP websites will have to either work with an SQL database version 2005 or 2008 in which case they should choose the vekit_sqlexpress.zip package, or opt for the source code and user documentation of the vekit_mysql.zip in case the integration relies on a MySQL database.

“This project demonstrates how PHP applications can take advantage [of] Microsoft's Virtual Earth. The Virtual Earth API is exposed through a Javascript library making it straightforward to integrate into any web based application. The project integrates Microsoft's Virtual Earth Web Service and API to embed a map into a PHP application. Web site users can add their location to the map and the map displays a pin for every user location stored in the database. The solution package includes the code needed to embed a Virtual Earth map in a PHP web page. Step by step instructions are included to help PHP developers set up a database and appropriate table to store user submitted locations,” Pendleton said.

0 komentar: