A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2008 yearPHP in Visual Studio - page 1
User InfoPosts
PHP in Visual Studio#1
I'm deving PHP at the moment using Visual Studio as my IDE. I've installed the Phalanger Visutal studio integration to get PHP projects etc but I want VS to recognise the PHP start and end tags like the standard ASP ones.

i.e when I type <% %> into the html editor, I want the PHP tags to behave the same <? ?>

I've fiddled in the "Tag Specific Options" and created a tag called ?, but it shows the closing tag wrong, like <? /?>

Can it be done?



posted date: 2008-12-21 18:47:00

Re: PHP in Visual Studio#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2008-12-21 18:47:01

Re: PHP in Visual Studio#3
I guess I don't really think of Visual Studio is a good place to code PHP, but maybe that's just me. I would much rather use DreamWeaver, or even Notepad++ (free) which does syntax highlighting, and more.Is there a specific reason you want to use Visual Studio for PHP? Usually VS is for Microsoft languages like C#, VB, C++, .NET, etc.

posted date: 2008-12-21 18:52:00

Re: PHP in Visual Studio#4
I get the solution management stuff, I'm familiar with it, we will be using Phalanger someday. I have created 2 macros for the minute that switch between the asp & php formats.

posted date: 2008-12-21 18:54:00

Re: PHP in Visual Studio#5
You can try Vs.php.

posted date: 2008-12-21 19:05:00

Re: PHP in Visual Studio#6
We used this for a while and were big fans of it, it's only downfall at the time (1.5 years ago or so) was that it couldn't handle large projects. I understand that this has recently been rectified though.

posted date: 2008-12-21 19:11:00

Re: PHP in Visual Studio#7
Tried it. I want to run PHP in IIS (Silly me!!!)

posted date: 2008-12-21 19:22:00

Re: PHP in Visual Studio#8
Should not "visual studio" be one tag in this case?

posted date: 2008-12-21 19:41:00

Re: PHP in Visual Studio#9
I don't see why that should stop you. I don't use VS, but I see Vs.php use apache for quick testing, but Id think you can still test it with your own IIS server if you rather want that.

posted date: 2008-12-21 19:43:00

Re: PHP in Visual Studio#10
Is there some specific reason you have to use VS? If not, I'd highly recommend you try Eclipse with PDP, Netbeans, or Aptana. All three are excellent free IDE's for PHP that are extensible and offer versions specifically tailored to PHP development.I do work in .Net and agree VS is an excellent IDE, but the alternatives listed above are equally feature rich and better tailored to coding in PHP.

posted date: 2008-12-21 20:05:00

Re: PHP in Visual Studio#11
I entirely disagree with this recommendation. (However, I won't vote this down because I see down-votes as punishment for a bad or irresponsible answers. This is an opinion -- which I think can be neither "good" nor "bad" -- and is not irresponsible.)

posted date: 2008-12-21 21:23:00

Re: PHP in Visual Studio#12
You can also try PHP Tools for Visual Studio. Phalanger integration now is also built on top of it.

posted date: 2013-03-26 15:58:00

select page: « 1 2 »
Copyright ©2008-2017 www.momige.com, all rights reserved.