Home>Article>Backend Development> What editor to use to write php

What editor to use to write php

王林
王林 Original
2019-09-09 11:37:32 5697browse

What editor to use to write php

The editor is a powerful tool for programmers. A good editor can greatly speed up the development speed of programmers. So, how to choose the right editor among many editors?

Here are several editors with high praises recommended for everyone:

1. NetBeans - free, open source, cross-platform, supported by large companies

What editor to use to write php

This is a free open source, cross-platform IDE, and it is also my favorite development tool. It does not require complicated cracking and registration. Download and use. This IDE is a heavy-duty IDE developed using JAVA, so sometimes it will be a bit slow to load and use on less powerful computers. However, the computer configuration of today’s coders is generally not too bad. You can use it not only to write PHP, but also to write Java, JavaScript, HTML5, PHP, C/C, etc. More importantly, it is developed and maintained by ORACLE and is guaranteed by large companies.

At the same time, NetBeans also supports plug-ins, which can easily provide out-of-the-box support for programs such as frameworks and cms. Of course, it also has many features that are common and necessary for excellent development tools. It has many code generation tools, such as getter setter generation, code templates, intelligent code completion, prompts, quick repairs and refactorings, etc. It also supports some basic features, including code folding and formatting, try/catch code completion, and rectangular selection.

2. Zend Studio - paid, stable, cross-platform, supported by large companies

What editor to use to write php

This It is an editor developed by Zend. It provides several key features, including better performance in validating, indexing, and searching PHP code. Debugging with Zend Debugger, Xdebug and built-in Z-Ray tools. Supports the Eclipse plug-in ecosystem. Supports Docker and Git tools. Supports smart code editing for PHP, Javascript, CSS and HTML. Deployment support, including cloud support for Microsoft Azure and Amazon AWS. Integrated Zend server, which facilitates rapid migration and seamless connection of PHP7. There is another feature that may be useful to you, it can develop mobile applications.

3. Sublime Text - free, paid, lightweight, cross-platform, beautiful

What editor to use to write php

##it Probably the most beautiful text editor I've ever seen. Of course, for programmers, the word beautiful is not very useful. Compared with the above two heavy-duty development tool IDEs, it may be considered small and exquisite. But it can also be made more powerful through plugins and packages. At first it is like a Xiaojiabiyu without makeup, but through continuous customization, it will definitely not lose to other IDEs. Here are several useful and commonly used packages, package control, Sublime PHP companion, xDebug client - CodeBug, PHPCS, CodIntel, Simple PHPUnit and PHPDoc. Again, at first glance, you will fall in love with it, after all, it is very beautiful.

4. Vim - free, open source, lightweight, cross-platform

What editor to use to write php

Students who are familiar with Linux , I definitely use Vim a lot. Why do we recommend this "simple" editor? In fact, the concept of Sublime Text is similar to that of Vim. You can customize it to make it more unique and suitable for you, although this will increase the complexity and increase your initial workload. But it is an IDE that keeps pace with the times. There are still many people active in the community, updating it and discussing it. Through different configurations, it will make your development smoother. There is another important advantage, it is more in line with the style of Linux, and you can complete all the work without or with less mouse. When developing in a Windows environment, when everyone is writing code, they inevitably have to use the mouse, clicking here and there, which reduces work efficiency. Under Windows, you can also use gvim. It is a graphical front-end for Vim, cross-platform.

Note: The editor only assists us in writing code and improves efficiency. We should not rely too much on the editor. Good code writing standards are very important.

The above content is for reference only!

Recommended video tutorial:

PHP basic video tutorial

The above is the detailed content of What editor to use to write php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn