I'm in the middle of a project created using CakePHP framework. I have been using notepad++ all along until now I am deciding to use Eclipse. The reason I like about notepad++ is its agility and simplicity. I tried opening eclipse today creating a new PHP project--it all seems more complex and complicated, I wonder what are the drawbacks if I changed in the middle of the way, to use Eclipse on my existing project. I also see there are some meta files along with misc. files automatically created when we start a project, does it mess up with the existing files? Ecplise prompted and asked to send data when we opened it, I wonder if that affects the privacy of our project.
Any advice related to the problems addressed would be appreciated. Thanks.
Best regards,
John Maxim
You could try Aptana 3.0. It's basically Eclipse optmized for PHP. Eclipse is a very configurable general IDE, but it can be daunting for new users, and there will be much functionality that you won't need.
Doing PHP with Eclipse is best with PDT (PHP Development Tools).
I use it with symfony and it's pretty good.
By default it does code completion, folding, syntax highlighting, bracket matching. If you use CVS you can also integrate that into Eclipse.
If you use XDebug or Zend Community that is also able to be integrated.
EDIT: Eclipse doesn't mess with your files, it adds three things to a normal PHP project (.settings folder, .buildpath, & .project). All of which are easy to remove and there are no lingering files/folders from Eclipse in your code.
Also, about security, I believe it just sends usage statistics, none of the code that you've written. But I'm not completely sure about this.
Another option is to try NetBeans.
I also used Notepad++ for all my work until a few months ago when I decided to give NetBeans a try. I had already tried it and Eclipse in the past but they both seemed to be too heavy for what I was doing. However, the most recent release of NetBeans worked out perfectly for me and has given me a great boost in productivity.
It does everything that I needed it to do and isn't as heavy as Eclipse, at least based on my limited experience.
I would suggest you give PHPStorm from Jetbrains a try. It's simpler than Eclipse or Aptana but much smarter than notepad++.
It's got code completion, source control integration (HG, Git, Subversion, etc.) Deployment setups that handle file copy, FTP, etc. I've switched from Dreamweaver to PHPStorm and haven't looked back.
There's a 45 day trial and the price is very reasonable. ($99 for personal license) Also, version 2.0 is imminent and packs a TON of new features.
I'm developing PHP apps that leverage several frameworks (though not the Zend Framework yet...) and I make good use of Javascript (mostly jQuery). All mark-up is XHTML, of course, with CSS, etc. I'm looking to move beyond the beautiful simplicity of Notepad++. I'm using Windows Vista. I'm trying to decide between Zend Studio 7 or Dreamweaver CS4.
They seem pretty on par with each other, but the price points are different. I've seen a few lists of "Good things about Dreamweaver" or "Good things about Zend Studio" but I've yet to find a head-to-head comparison.
Any suggestions on the next IDE to move up to? In addition to the language support and basic error checking (syntax-related, like missing semi-colons or something), I'm looking for two things that are absolutely necessary:
"Projects" or something similar --
open a project and it gives a tree
listing of all related files
beneath. I'm pretty sure both
support this.
As lightweight as possible. Vista's a hog as it is,
and I'd like to have a lightweight
enough IDE that having 10 files open
and moving between them won't drain
my resources.
Other niceties:
Automatic documentation (not sure
what the phrase is, the stuff in
comments above functions with the
#parm stuff).
Templating.
SVN
support.
FTP/File upload
capabilities.
... And, if Zend or Dreamweaver isn't the thing -- any suggestions about what is?
i would suggest Netbease IDE PHP 6.7.
In is free , not so huge like Zend Studio or Dreamweaver.
It has support for
Syntax-highlighting
Templates
PHP Unit
JQuery
Dojo
Code completion for JS / PHP / HTML
Version Control (SVN)
and much more..
Download Netbeans
I suggest try few open source alternatives
Eclipse PDT - Is very good for php but currently don't good support jquery.
Aptana - I build on top of Eclipse and has good support for JQuery. It also has page preview feature.
You can configure different debuggers to work with them like PDT, Zend, Xdebug... all of them can be configured easily.
Zned Studio is also build on top of Eclipse, I have never used that so I can't say anything about it.
I had the same question about year ago. From then I tried many different IDE environments and a found that the most suited one was Netbeans.
The deal with Netbeans was that due to some performance issues it was the solidest IDE there.
As sad as it may be, from my perspective it is much better product than the Zend Studio For Eclipse 6 or 7 witch costs about 400$, (trust me I tried it since I unfortunately wasted the money on licence before I actually tested all available options).
It has the best code completion inspection and assistance, witch you can check yourself by downloading these two IDE-s and trying to code complete chaining method calls.
Support for unit testing is also something worth mentioning since it works. ZDE also has that feature but it is not that stable since sometimes it wont run.
JavaScript support is also solid, actually I think that is better than one in the Aptana, but the only downside of it is that is pretty slow when working with huge libraries such as Dojo. Now some may argue about that but the fact is that (at least with Dojo&dijit) library it has the best code inspection, and fine code completion support.
My opinion is that the only downside is the lack of support for Zend Debugger, and not so intuitive debugging variable, callstack and breakpoint windows.
For now my felling is that this is the best PHP IDE available, something like the Zend Studio 5.5 when it came out.
Netbeans is the clear choice here as long as you aren't limited on memory. It's got a good-sized footprint, but there's no product that can compare...not even Zend.
That being said, the new Aptana 3 was supposed to bring back full-fledged PHP support that was removed from Aptana 2+ (PDT just isn't a good plugin folks), but now that Appcelerator has taken over Aptana I'm a bit skeptical that the focus toward PHP will continue.
Yes Aptana Studio is good for PHP and also Netbeans. I like Netbeans more because it feels more solid. But Aptana has propably the best auto-complete support for javascript of all editors, but I don't really like the appearance of the editor - looks too 'macish'.
I would recommend both actually, side by side as each has its strengths and weaknesses
Zend Studio is excellent for:
PHP class coding enables you to view and browse class hierarchies, provides autocomplete, one click access to PHP Manual
unit testing
debugging
profiling
version control integration
Dreamweaver CS4 for
HTML coding
CSS editing
Other visual design
To me, I still have that impression of Dreamweaver being drag and drop for web "designers" and creating horrible html output that does that validate sometimes. If this still happens with DW CS4, then I would definitely go with Zend Studio.
Zend Studio actually supports with all the Eclipse Plugins that I would like to add for unit testing and continuous integration.
But Aptana and NetBeans are free!!! Which I think Zend editor is not, haven't tried that. I like Netbeans!!! I like Dreamweaver CS4 and use it on daily basis at my job(but not coding php). It's quite nice but I feel it's strength is the help you get with css properties. Besides that it's not better than Netbeans. if you like a shiny cool look like DW so go for Aptana, it has the best javascript autocompletion - really cool!! Saves a ton of time!! Even auto-completion for your JQuery code and other JS frameworks I think.
Actually Dreamweaver has become more of a dev tool (but I'm not entirely convinced of that). It has integration with Subversion which is kind of cool.
I like NetBeans because I've done some Java coding in it before and now it has support for PHP which is real nice, and it feels like a real dev. IDE.
But DW has this cool gray colors..
I always strive to increase my productivity when developing applications and in the span of the last few years, I can say that I have made good steps towards increasing that productivity, but I still find I need more tools or methods. I need to edit faster and learn touch typing (currently in the process) and therefore I find a need to move to Vim. It has been now over one year I have trashed Windows and moved to Linux (Ubuntu to be more precise) and I am using the IDE Zend Studio combined with Aptana Studio for developing OO PHP5.3 websites. Although the IDE does everything I would need from an IDE (which I will enumerate shortly), it lacks the editing mode Vim would give.
So my question is: how would I have all the same following 'killer features' I already have within this IDE in Vim?
Here is the extensive list of features I need to keep the productivity at an high level for me:
Code completion for PHP5.3, not just PHP5 and not just the PHP functions, but any libraries that are added to the buildpath, such as Zend Framework and my own library.
Code formatting, I don't use it much, except for XML files, but that is something I would need soon as I will start to lead more people within my company and formatters will help to keep the code coherence.
I use Oxygen XML editor within Zend Studio (eclipse) for editing Docbook XML technical documentation. It has already proven of great quality to me and I would like to keep it.
Syntax validation for any file extensions that can be used on the Web, mostly for me would be PHP5.3 syntax, html syntax (not that important), CSS, Javascript (that's why I have Aptana Studio integrated with Zend Studio, their javascript editor is great with JQuery support)
Maybe a git integration just like EGit (eclipse plugin)? Not required but a nice addon.
Debugging features (already using it through the ZendDebugger)
Powerful searching within files
I know that is a lot, but I am already having all this within my IDE and as I said, I feel the need to move to mode based editors like Vim to be more productive when typing and I feel the learning curve and time invested in setting up all of this will be well worth the effort.
I know that there is Eclim, which integrates eclipse to its daemon and I am thinking of using just that, if anyone has feedback on Eclim used with Zend Studio that would be appreciated.
Along with Eclim, if I need more vim plugins to achieve my needs, I would gladly appreciate it if someone could direct me to them.
Aright, after playing around much with the tools that would increase productivity using vim I have made my choice.
I first installed GVim with the MiniBuffer, NERDTree, Bufkill, Matchit, PDV (phpDocumentator), taglist plugins and others to make sure I would be as much comfortable as I would need for replacing the functionnalities I already had within Eclipse. I also installed Eclim, which is a pretty good plugin to integrate with eclipse and it works great with completion assist when installed on Zend Studio 7.1 (although there is a minor bug within Zend Studio's completion assist that restricts its use on Eclim). I also followed those three blogs (O'Phinney's, Thomas Koch's and Schlitt's to make sure I was at the top of productivity). After trying my hands on all of that I still felt I was far from comfortable for some GVim editing.
Since I am already sold on the powers behind touch typing and Vim, there was absolutely no way I would return on bare editors such as the one Eclipse provide. Therefore I tried, viPlugin, Vrapper and vimPlugin, which were not what I expected from them. The viPlugin and Vrapper, which emulates vi into Eclipse, as opposed to vimPlugin who just integrates Vim as an external editor (rendering code completion, refactoring and such unusable), are not enough mature yet. Visual block is not working and some nifty bug gets on your way when you start to really use them. I am not bashing those plugins since they are still pretty good, but it was just not what I expected.
Then I just stumbled on Netbeans and their new version 6.8 released on December 2009, which now have fully support on PHP5.3, PHPUnit, Code coverage reports, refactoring, XDebug integration, Code completion. What made the grand finale is when I saw the jvi plugin which emulates vi into netbeans (and yes, visual block works!!). That plugin is just absolutely amazing and works very very well.
The only thing that was left out, as asked in my question, was the Oxygen XML Editor which is not integrated in a netbeans plugin, but I can still use their native editor so it was not even an issue for me. For Git integration, there is a plugin out there for netbeans, but I sticked with git gui.
If you guys out there want the best of both worlds just like I wanted, you should definitely checkout the new release for netbeans for PHP5.3 development, while keeping Vim as your main editor.
I'm interested in using Eclim with Zend Studio as well. However, I already have a Zend Studio Project and installing Eclim requires the creation of an "eclim project". That process, according to the eclim installation notes, will create a .project file in the root directory of the project. And that means it will likely overwrite the ZendStudio .project file...which will corrupt my project files... something I don't want to do in case I decide that eclim is not for me.
Let me know how it works out for you.
Need your suggestion on php/mysql software. I develop PHP websites using Dreamweaver, I also have to use phpmyadmin, sql query editor (to work with database) and WinSCP (to upload/backup files over SFTP).
Could you suggest me please some software which contains all in one (PHP syntax highlighting, db connections and running sql queries, etc..)?
Thanks in advance.
Netbeans has PHP highlighting, code completition, db manager and ftp/sftp + xdebug (your next step:) ) support.
Try Eclipse. Go here: http://www.eclipse.org/downloads/ it is the third one down in the list (platforms on the right). You can connect to DB's, have intelli-sense (code completion) and more all for FREE!
Have you looked at Zend Studio?
If you don't want to spend as much as Zend Studio ($399 one year) try Aptana Studio. It is free and for $99 you get the Pro version with extra features like SFTP support.
There is a stand-alone version and an Eclipse plugin.
When I'm forced to use Windows, JEdit is my editor of choice. It has syntax highlighting for almost any language, FTP/SFTP remote editing, SQL plugins, code completion plugins, and so many others that I can't even begin to list them.
And, it's FOSS!
You can find the JEdit project at http://www.jedit.org
Your question is correctly tagged - you need an Integrated Development Environment (IDE)! Dreamweaver wants to be one but unfortunately it isn't.
If you're on a Mac I highly recommend Coda.
For any platform; I've had a great experience with Aptana (a fork of Eclipse) and these open-source IDEs are just bursting with useful plugins. Even Aptana's default project templates were useful instead of fluff!
One guy in my team loves NetBeans to bits.
Right now I'm addicted to shelling into the server and using command-line tools like vi or nano, svn, mysql. A steep (and important) learning curve but everything is possible on the command line. And with minimal client requirements. Do anything from anywhere!
I think the true answer is subjective - you'll need to dive in and try each one to see how they fit your working style.
Hope that helps!
My personal favorite text editor: e texteditor which a clone of a mac app called textmate.
There is a lot of support for many languages, although Zend Studio will give you more "integration" features.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
I'm a PHP developer and now I use Notepad++ for code editing, but lately I've been searching for an IDE to ease my work.
I've looked into Eclipse, Aptana Studio and several others, but I'm not really decided, they all look nice enough but a bit complicated. I'm sure it'll all get easy once I get used to it, but I don't want to waste my time.
This is what I'm looking for:
FTP support
Code highlight
SVN support would be great
Ruby and JavaScript would be great
For PHP I would recommend PhpStorm.
It supports FTP/SFTP synchronization, integrates well with Subversion, CVS, Mercurial and even with Git. Also, it supports HTML, CSS, JavaScript and handles language-mixing well like SQL or HTML blocks inside PHP code, JSON, etc.
But if you need Ruby you can try another IDE - RubyMine with same capabilities but for Ruby.
NetBeans. Check out 7.0.1.
It supports FTP/SFTP synchronization, integrates well with Subversion, CVS, Mercurial and even with Git (with plugin). Also, it supports HTML, CSS, JavaScript, popular frameworks and more.
And its free.
Too bad no one mentioned phpDesigner. It's really the best IDE I've came across (and I believe I've tried them all).
The main pro of this one is that it's NOT Java based. This keeps the whole thing quick.
Features:
Intelligent Syntax Highlighter - automatic switch between PHP, HTML, CSS, and JavaScript depending on your position!
PHP (both version 4 and 5 are supported)
SQL (MySQL, MSSQL 2000, MSSQL 7, Ingres, Interbase 6, Oracle, Sybase)
HTML/XHTML
CSS (both version 1 and 2.1 are supported)
JavaScript
VBScript
Java
C#
Perl
Python
Ruby
Smarty
PHP:
Support for both PHP 4 and PHP 5
Code Explorer for PHP (includes, classes, extended classes, interfaces, properties, functions, constants and variables)
Code Completion (IntelliSense) for PHP - code assist as you type
Code Tip (code hint) for PHP - code assist as you type
Work with any PHP frameworks (access classes, functions, variables, etc. on the fly)
PHP object oriented programming (OOP) including nested objects
Support for PHP heredoc
Enclose strings with single- or double quotes, linefeed, carriage return or tabs
PHP server variables
PHP statement templates (if, else, then, while…)
Powerful PHP Code Beautifier with many configurations and profile support
phpDocumentor wizard
Add phpDocumentor documentation to functions and classes with one click!
phpDocumentor tags
Comment or uncomment with one click!
Jump to any declaration with filtering by classes, interfaces, functions, variables or constants
Debug (PHP):
Debug with Xdebug
Breakpoints
Step by step debugging
Step into
Step over
Run to cursor
Run until return
Call stack
Watches
Context variables
Evaluate
Profiling
Multiple sessions
Evaluation tip
Catch errors
Are you sure you're looking for an IDE? The features you're describing, along with the impression of being too complicated that you got from e.g. Aptana, suggest that perhaps all you really want is a good editor with syntax highlighting and integration with some common workflow tools. For this, there are tons of options.
I've used jEdit on several platforms successfully, and that alone puts it above most of the rest (many of the IDEs are cross-platform too, but Aptana and anything Eclipse-based is going to be pretty heavy-weight, if full-featured). jEdit has ready-made plugins for everything on your list, and syntax highlighting for a wide range of languages. You can also bring up a shell in the bottom of your window, invoke scripts from within the editor, and so forth. It's not perfect (the UI is better than most Java UIs, but not perfect yet I don't think), but I've had good luck with it, and it'll be a hell of a lot simpler than Aptana/Eclipse.
That said, I do like Aptana quite a bit for web development, it does a lot of the grunt work for you once you're over the learning curve.
Eclipse PDT is very nice.
I'm always amazed that more people don't use ActiveState Komodo.
It has the best debugging facilities of any PHP IDE I have tried, is a very mature product and has more useful features than you can shake a stick at. Of note, it has a fantastic HTTP inspector, Javascript debugger and Regular Expression Toolkit. You can get it so that it steps through your PHP, then you see your Javascript running, and then see your HTTP traffic going out over the wire!
It also comes in free (Komodo Edit) and open (OpenKomodo versions).
Oh, and if you don't always hack just on PHP, it's designed as a multi-language editor and rocks for Ruby and Python too.
I've been a happy customer for around 5 years.
There's no "best" IDE, only better and worse ones.
Right now I'm trying to settle in with Aptana. It has a lot of cruft that I don't want, like "Jaxer" doodads all over the place. It's reasonably fast, but chokes on large files when syntax highliting is on. I have not been able to figure out how to set up PHP debugging. Three good things about Aptana: easy plugin installations, very fast and intuitive Subversion plugins, ligning fast file search.
I tried Eclipse PDT and Zend for Eclipse, but they have nightmare levels of interface cruft. Installing plugins is a living horror of version mismatches and cryptic error messages.
I also use Komodo (they bought us licenses at work). Komodo has a very intuitive interface, but is ridiculously slow, chokes on medium sized files with syntax highlighting. File search is intuitive, but rather slow. Subversion integration is not that great - slow and buggy. If not for slowness, I would have probably stuck with Komodo, especially for the debugger.
To get you started, here is a list of PHP Editors (Wikipedia).
For PHP in particular, PHPEdit is the best, and I tried and worked in some of them including, Dreamweaver, Elipse, Emacs, Notepad++, NetBeans, UltraEdit ...
Geany is a great lightweight editor -- like Notepad++ for Linux, only better. I find this, combined with a few shell scripts and symlinks for linking modules into a web source tree, make developing on Linux easy and fun.
I love JetBrains IDEs. For PHP it is JetBrains PHPStorm.
http://www.ibm.com/developerworks/opensource/library/os-php-ide/index.html
Personally, I love Notepad++... :D . The above link compares some of the better IDEs and the best ones aren't free.
I'd recommend Komodo 4.4 though (I used the trial version) since it was awesome. Better than Notepad++, but not free... :(
I would recommend Zend IDE for the integrated debugger.
I'm using Zend Studio. It has decent syntax highlighting, code completion and such. But the best part is that you can debug PHP code, either with a standalone PHP interpreter, or even on a live web server as you "browse" along your pages. You get the usual Visual Studio keys, breakpoints, watches and call stack, which is almost indispensable for bug hunting. No more "alert()"-cluttered debugged source code :)
Have you looked at Delphi for PHP (<http://www.codegear.com/products/delphi/php>) ?
Joe Stagner of Microsoft really likes Delphi for PHP.
He says it here: "[Delphi for PHP] 2.0 is the REAL DEAL and I LOVE IT !"
Eclipse with PDT.
I use and like Rapid PHP.
What features of an IDE do you want? Integrated build engine? Debugger? Code highlighting? IntelliSense? Project management? Configuration management? Testing tools? Except for code highlighting, none of these are in your requirements.
So my suggestion is to use an editor that supports plugins, like Notepad++ (which you are already used to). If there's not already a plugin that does what you want, then write one.
I use Coda on Mac OS X.
There is a new guy in town, PhpStorm from JetBrains. You use it and I bet you will forget all the other editors. It's bit pricey though, unfortunately.
RadPHP (previously known as Delphi for PHP) is the best.
All are good, but only Delphi for PHP (RadPHP 3.0) has a designer, drag and drop controls, GUI editeor, huge set of components including Zend Framework, Facebook, database, etc. components. It is the best in town.
RadPHP is the best of all; It has all the features the others have. Its designer is the best of all. You can design your page just like Dreamweaver (more than Dreamweaver).
If you use RadPHP you will feel like using ASP.NET with Visual Studio (but the language is PHP).
It's too bad only a few know about this.
Aptana supports this and I use it for all of my web development now.
Hands down the best IDE for PHP is NuSphere PHPEd. It's a no contest. It is so good that I use WINE to run it on my Mac. PHPEd has an awesome debugger built into it that can be used with their local webserver (totally automatic) or you can just install the dbg module for XAMPP or any other Apache you want to run.
The best IDE for PHP in my opinion is Zend Studio (which itself is based on Eclipse PDT). Note that in this case "best" does not necessarily mean "good." It is slow and a bit buggy, but even so, it's still the best option for PHP programmers. I've tried a ton of PHP editors over the years and I haven't yet found one that works great.
Komodo IDE would be my second choice. My only problem with Komodo is that the autocomplete is not as good. With properly structured apps where you use phpDoc to document return types etc., it should be alright. But I work on a project that doesn't really do that and Komodo can't read across files to know that $user is a User object for example.
Personally everything that is based uppon Eclipse or NetBeans is an overkill, the GUI is crap and the performance is soooo slow compared to other alternatives.
If you're willing to pay I would suggest Zend IDE (version 5.5, not 6 because it's based on Eclipse) and EditPlus for a more lightweight yet powerfull code editor.
If you're looking for free alternatives, or if you code in other languages other than PHP, OpenKomodo is a really nice IDE with almost all the features (no SVN neither CVS) that you require, the only con I see about OpenKomodo is that sometimes it messes my code indentation, but then again I don't use it on a very regular basis.
As for a free lightweight alternative: Notepad++. =)
My personal preference is Eclipse (with various plug-ins) as I am developing in several languages (PHP, Java, and Ruby) and this way I am always used to interface and keyboard shortcuts. This is not a minor thing as you become very productive this way.
I haven't used Aptana, but will (hopefully) soon - it does look interesting, though.
For others IDEs I have used: jEdit (for little Java), Notepad++ (still for some scripting and short test code runs).
And for the features You asked: Eclipse support many source code version servers (Subclipse); your project can be on a Samba share; ZendDebugger/xdebug for debugging.
I've tried Eclipse PDT, with some success. Aptana is also pretty good, or if you are doing a lot of AJAX stuff, it's great. Your mileage may vary, however, depending on what additional plugins you want to use with them.
PHPEclipse is as close to Eclipse java power as it could get. Eclipse PDT is much weaker (last time I checked).
I'm using PHPDesigner but I will go for Eclipse PDT. I was always against Eclipse until few months ago when I have one Java project to finish... Great IDE
Now I can't imagine one day without Eclipse. :)
Have you tried NetBeans 6? Zend Studio and NetBeans 6 are the best IDEs with PHP support you'll come across and NetBeans is free.