Make Bing Maps Sing In PHP

Adam DuVander, September 4th, 2009

Bing MapsWhat’s this, Microsoft pushing an open source programming language? Indeed, there is an integration kit that gives PHP developers a boost creating a database-powered Bing Maps application.

There are options for MySQL and SQL Server Lite, though the latter also requires Windows hosting. In either case, you’ll also need PHP 5.2+ (required because the kit uses JSON). PHP and MySQL are the most common programming language and database, supported by almost every host, so these requirements are truly open to everyone, compared to usual examples of Microsoft technologies.

Bing Maps demo using PHP

The project site has a working demo, including the ability to add points. Or, download the code and try it on your own server. One of the best parts about this kit is that it comes ready to go with the same code as the demo. All you need to provide are database connection details.

The project was sponsored by Microsoft’s interoperability initiative and like their PHP on Windows efforts, it shows Microsoft is willing to reach out beyond their usual constituency to attract new developers. As a result, this useful resource gives PHP programmers and those that haven’t already adopted Microsoft’s suite of tools an easy introduction to programming Bing Maps.

Hat tip: Chris Pendleton

Both comments and pings are currently closed.

3 Responses to “Make Bing Maps Sing In PHP”

September 8th, 2009
at 3:57 pm
Comment by: mdmadph

Extend. Embrace. Extinguish.

Time has shown us never to trust Microsoft when they extend their hand towards opensource software.

March 8th, 2010
at 11:42 pm
Comment by: MrYellow

This “intergration kit” isn’t PHP. It’s Javascript on the client that then hits the server to save the data. It is not a Bing PHP SOAP SDK.

January 19th, 2011
at 10:23 am
Comment by: vikas Gautam

you can easily make the bing map in php easily for this you have to use the api of bing map javascript knowledge and ajax in \s for better callling information from the server

Follow the PW team on Twitter

APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.