Writing PHP using Visual Studio

by Matti Lehtinen February 22, 2009 11:35

I recently found an interesting Visual Studio plugin named VS.PHP. It allows you to write and debug PHP code using Visual Studio 2005 or 2008.

The home page of VS.PHP promises plenty of features like PHP 5 support, IntelliSense and debugging of PHP and JavaScript code. It was a surprise for me that all of those features really worked out of the box. I expected some hassling at least with debugger configuration but you can just create a new PHP project and hit F5. Especially the debugger integration has been implemented very well. All the common debugging features like local variables window, break points and call stack works.

slider_debugger

Intellisense of VS.PHP seems not to work perfectly yet. Sometimes it does not find anything and sometimes it even gives variables and methods of wrong class. The stability of the plugin needs some improvement too since there was some random crashing but luckily crashes do not occur very often. It is also weird that on different computers VS.PHP wants to reorder the lines of the project file. This feature causes some extra conflicts when multiple developers are working on the same project using Subversion or some other version controlling software.

VS.PHP runs PHP pages using built-in Apache web server. For debugging it uses XDebug and DBG.

The plugin costs $99.99 per developer but there is 30-day free trial available. Regardless of some problems I got positive impression about the plugin. It allows me to develop PHP using the IDE which I am most familiar with.

Summary

  • + Works out of the box
  • + Offers familiar environment for .NET developers to write PHP code
  • + Great debugging support for PHP and JavaScript
  • - Some stability problems
  • - Intellisense does not work very well

Tags: ,

Visual Studio | PHP

Comments

2/1/2010 4:01:13 AM #

cool

cool Smile

cool United States

6/19/2010 11:07:35 AM #

Carol Howen

Found your web site and decided to use a fast read, not what a usually do but nice one. Nice to see a blog for any change that isn’t full of spam and rubbish, and in fact makes some sense. Anyway, wonderful write up.

Carol Howen United States

6/27/2010 7:30:12 AM #

See Senecal

Recently I was on facebook and found this site. I must say, your site is awesome. I will share this straight away

See Senecal United States

6/29/2010 11:15:53 PM #

Cheap gaming pc

Thank you for taking the time to write this brilliant article. I'll be sure to share this with my friends. Thank you!

Cheap gaming pc United States

7/6/2010 6:56:13 AM #

Cordell Mierow

Hey dude This is very nice news LOL. Do u like watch worldcup 2010 ? I love Portugal . How about you dude ? Regards owner of

Cordell Mierow United States

7/9/2010 9:20:33 AM #

Shawn Colantonio

You've made a few posts that have had a major impact on my thinking. I just wanted to say thank you.

Shawn Colantonio United States

7/10/2010 8:28:58 PM #

T.S

All small business owners know that a higher search engine page rank through Google, Yahoo!, Bing and others equates to more business.  How do you go about attaining a higher page rank, though?  Proper search engine optimization will help you bump up your search engine ranking for targeted keywords, ensuring that you are able to gain access to targeted traffic, increase the number of visitors to your website and also increase the number of visitors converted to customers.
Please speak with us at http://www.seoafrngroup.com

T.S Finland

7/13/2010 1:06:45 AM #

Ear Defenders

Can I quote you in my report for school?

Ear Defenders United States

7/14/2010 8:27:25 AM #

HDTV on PC

Just wanted to let you know... your blog looks very unusual in Safari on a Mac

HDTV on PC United States

7/16/2010 12:30:36 AM #

platinum diamond rings

I used to have a site about this topic, but it attracted so many spam comments I had to close it. You appear to have a better spam filter! Well done!

platinum diamond rings United States

7/25/2010 3:17:18 PM #

sarah

Hello i was see your site,its so wonderfull,and inspiring me to imporve my site
thx

sarah Sri Lanka

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.6.0.0
Theme by Mads Kristensen | Modified by Mooglegiant