How can I choose PHP development tools (PHPIDE)? article Source: composer how can I choose PHP development tools (PHP IDE)
SOURCE http://coding.smashingmagazine.com/2009/02/11/the-big-php-ides-test-why-use-oneand-which-to-choose/
Note: The article has been around for a long time. Generally, the IDE has updated a lot. I feel that the original article is lengthy, the translation has cut a lot, and I have added some of my views.
Reprinted please indicate source http://blog.csdn.net/uuleaf/article/details/7673971
Everyone is an elite of PHP code farmers. they all dream of spending less time writing code to improve efficiency. Using php integrated development environment can help you realize this dream more easily. However, php ide is now widely used. every official website of php ide advocates being the first in the world. I am dazzled by my brother. I don't know if you have the same feelings. Let's discuss how to choose a good php integrated development environment.
In this article, we will go deep into some of the most popular PHP development tools for horizontal evaluation. I hope you can find the development tools that you like.
For a long time, I mainly developed JAVA, using Eclipse and IntelliJ IDEA. However, since the development of PHP, I have never been able to find a good IDE, so I decided to set 8 IDE military rules, and all the Ides were evaluated with ease.
Military rules 1. syntax highlighting to enhance readability
Military rules 2. automatic code completion and prompt
- PHP built-in classes and methods
- Custom classes and methods
- PhpDoc help prompt
Military regulation 3: Code locating, supports method definition prompts and method usage tracking.
Military rules 4. support for highlighting errors and warnings
Military Regulation 5. automatic code reconstruction
Automatic refactoring is widely used in strong-type languages, such as Java and C. But it is also a little useful in PHP. For example
- When a file is moved, IDE automatically fixes the file reference path.
- When you rename a file, IDE automatically updates the file's new reference path.
- When you delete a file, the IDE has a prompt to check the reference and safely delete the file.
- Code formatting
Military rules 5. automatic code generation
- When a class implements an interface or abstract class, it can automatically generate an interface or abstract method.
- Automatically generate methods similar to getter and setter
Military Regulation 6, debugging
Debugging is not very important in php. we usually use echo or print_r to throw it out. However, in large projects, too many "throws" may cause Code Contamination. debugging is recommended. If IDE is good enough, we can view the value of the variable in each program step in debugging.
Military Regulation 7, version control integration
Good IDE should be integrated with subversion or git to provide intuitive File modification history, comparison, rollback, and version merge.
Web integration
Military Regulation 8 and WEBIDE support
It is impossible to write only php code in the project, because php itself is used for web applications. In real php projects, you cannot deal with html, css, and javascript. Even better support for html, css, and javascript
I have used several mainstream PHPIDE evaluations
Reprinted please indicate source http://blog.csdn.net/uuleaf/article/details/7673971
PDT or Zend Studio
Zend Studio is the official php IDE and is not free of charge. it has powerful functions in code automatic completion, generation, prompt, and debugging.
PDT is a castrated version of ZendStudio, you can refer to the comparison given by Zend Studio: http://www.zend.com/products/studio/comparison
[Disadvantages]
Zend Studio has poor support for html, css, and javascript. although Zend Studio has provided support for html and javascript since Zend Studio9, its functions are still weaker, if the css selector does not prompt automatically.
[Target user] Pure PHP code farmers, such as backend Daniel
Aptana
[Advantages]
However, Aptana's html, css, and javascript support is very powerful and fully functional. it is the most powerful WebIDE I have ever seen.
[Disadvantages]
The php integration tool provided by Aptana is not easy to use and the code prompt is incomplete. Especially since aptana3, it has been forcibly integrated with python and ruby on rails, and it is very slow and swollen to run.
[Remarks]
I have been using the Aptana2 + phpeclipse plug-in + zen coding plug-in solution for the past few years. using the PHP function of phpeclipse, I do not lose Web support.
However, phpeclipse has not been updated for a long time, and Aptana3 is extremely disappointing. I don't need it anymore.
[Applicable] Pure full-template coders, such as front-end development
NetBeans PHP
[Advantages]
Cross-platform, free, open, with low memory usage, and good support for php and web methods
[Disadvantages]
Everything is fine. php is similar to PDT, and Zendstudio is better. The WEB method is worse than Aptana.
[Usage summary]
Chicken ribs
**************************************** ****
* Author: Ye Wentao
* Link: How can I select a PHP development tool (PHP IDE)
* ***************** For reprinting, please indicate the source ***************