How do I choose PHP Developer Tools (PHP IDE)
Article source http://coding.smashingmagazine.com/2009/02/11/the-big-php-ides-test-why-use-oneand-which-to-choose/
Note: The article age, the general IDE has been updated a lot, the original I feel also lengthy, the translation of a lot, and add some of their own views.
Reprint please indicate source http://blog.csdn.net/uuleaf/article/details/7673971
Everyone is a PHP code farm elite, all dream less time to write good code to improve efficiency. Using the PHP integrated development environment can help you make this dream easier. But PHP IDE is now a variety of, every PHP IDE's official website is advocating their own number one, to make me dazzling. I don't know, bro. Do you have the same feeling, we discuss how to choose a good PHP integrated development environment.
In this article, we go into a few of the most mainstream PHP development tools for horizontal evaluation, we hope that we find the development tool called hand gratified.
For a long time, I mainly developed Java, using Eclipse and IntelliJ idea rather called hand. But since the development of PHP, always find a good IDE, so the elder brother set 8 IDE military, the views of the IDE calmly evaluation.
Military 1, syntax highlighting, enhanced readability
Military 2, automatic code completion and tips
- PHP built-in classes and methods
- Custom Classes and methods
- Phpdoc Help Information Tips
Military 3, code positioning function, support method definition hints and methods use tracking.
Military 4, support highlighting errors and warnings
Military 5, Code automatic refactoring
Automatic refactoring is more used in strongly typed languages, such as Java, C. But there is a little bit of use in PHP. Such as
- The IDE automatically corrects the file's reference path when you move the file
- When you rename a file, the IDE automatically updates the new reference path for the file
- When deleting a file, the IDE has the ability to check for references and to have a safe removal prompt
- Code formatting
Military 5, code automatically generated
- Automatic generation of interface methods or abstract methods when a class implements an interface or abstract class
- can automatically generate getter and setter-like methods
Military 6, commissioning
Debugging is not very important in PHP, we usually use echo or print_r to throw it out. However, in large projects, excessive "throw" will contaminate the code and recommend debugging. If the IDE is good enough, we can see the value of the variable in each program step in debugging.
Military 7, version control integration
Whether in teamwork or personal development, a good IDE should be able to integrate subversion or git, providing intuitive file modification history, Comparison, rollback, and version merging.
Web integration
Military 8, Webide support
It is not possible to write only PHP code in a project, because PHP itself is a Web application. Always avoid dealing with html/css/javascript in a real PHP project. It's great to be able to provide html/css/javascript support.
I have used a few mainstream phpide evaluation
Reprint please indicate source http://blog.csdn.net/uuleaf/article/details/7673971
PDT or Zend Studio
Zend Studio is the official PHP IDE, the cost, in the code auto-completion, generation, prompting, debugging functions are very powerful.
PDT is a castrated version of Zendstudio, which can be compared to Zend Studio: Http://www.zend.com/products/studio/comparison
Disadvantages
Zend Studio's support for Html/css/javascript is not very good, although Zend Studio has supported Html/javascript from Zend Studio9, but it still has a weaker function, such as CSS selectors cannot be automatically prompted.
"Applicable " pure PHP code farming, such as the back-end Daniel
Aptana
Advantages
But Aptana Html/css/javascript support is very powerful, full-featured, I have seen the most to the force of the webide.
Disadvantages
Aptana's own PHP integration tool is not easy to use, the code automatically prompt is not perfect. In particular, since APTANA3, the mandatory integration of Python and Ruby on Rails, running up to eat memory, slow and swollen.
Notes
I have been using the Aptana2+phpeclipse plug-in +zen coding plug-in solution in previous years, using PHPEclipse PHP features without losing web support.
But PHPEclipse long no update, APTANA3 let people disappointed extremely, I now also don't need.
"Applicable" purely full-template-type farm, such as the Front office development
NetBeans PHP
Advantages
Good support for cross-platform, free, open, memory-intensive, PHP and Web methods
Disadvantages
Anything is not fine, PHP is similar to PDT, rather than Zendstudio. Web methods are worse than Aptana.
"Use summary"
Chicken ribs, chicken ribs.
********************************************
* Author: Ye Wentao
* Link: How do I choose PHP Developer Tools (PHP IDE)
Reprint please indicate source ***************