Home  >  Article  >  Backend Development  >  Analysis of common PHP development tools_PHP tutorial

Analysis of common PHP development tools_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:29:30748browse

因为php是一种开放性的语言,这也导致了开发环境没有强而权威的支持。这里列举一些比较好的编辑工具,希望能给大家开发php程序提供一些帮助。

dreamweaver

从mx开始,dw开始支持php+mysql的可视化开发,对于初学者确实是比较好的选择,因为如果是一般性开发,几乎是可以不写一行代码也可以写出一个程序,而且都是所见即所得的。

所包含的特征包括,语法加亮、函数补全,形参提示等。

不过dw生成的代码比较复杂,安全性也一般。在手写的方面,方便度一般,在调试环境方面表现差强人意。不太适合于比较复杂一点的编程。但对于初学的人是再好不过了。

zend development enviorment

和php靠得最近的zend推出的一款php的ide,zend development enviorment。最新的版本为2.6,这也是在linux下面唯一一个php的集成开发调试环境了,当然它也有windows版本。

和其它的ide不同,zde是用java编写的~~这不光意味着多平台性,同样意味着很慢的速度,和比较奇怪一点的使用界面。尤其是它那将近半分钟的启动速度,让人无法忍受!!!!!

zde提供的功能是最齐全的,而且可以和zend其它的php开发工具无缝的结合。成为一套强大的php开发环境,而且zde的调试环境是建在zde自身程序里面的,而不象其它的ide,是通过php debuger来实现的。

包含特征:语法加亮,完整齐全的函数补全和帮助(但只针对php内建函数,对自定义函数无效),工程管理,还有zde独有的php代码整理,php.ini可视化编辑和嵌套标示,使用后者在查看程序结构复杂的时候显得十分方便,在不用去数那密密麻麻的{}号了~

提供的debug功能包括breakpoints,stack,watches,variables,output buffer,以及所有该有的跟踪方式。

缺点主要是:1、速度慢~~2、使用上不是很方便。

phped

长期从事php开发的nusphere公司推出的phped,最新的版本是3.12。

phped 的综合性能是最好的,启动速度很快,提供的功能也是最多的。语法加亮,函数补全,工程管理,代码模版,自动代码补全,可视化的数据库管理,内置dav, cvs,ftp,webserver,debugger,以及js代码列表,常见html标签集,另外phped还支持插件技术。

安装版还付带了php,mysql的手册(英文的)。值得一提的是phped的调试功能,虽然zde有它所有的调试功能,但是phped更方便,比如调试时将鼠标放在变量上就可以直接看到变量的值,而且调试窗口的分布较细致和合理,而且支持外部脚本调试,zed虽然也能实现,但设置起来比较麻烦一点。

phped的脚本结构功能和zde差不多~不过在对类方面要好一些,细致到了类元素。

但phped的缺点也是很要命的,就是它对中文的支持很差~~甚至选取时都会显示不正常。另外要提醒的是,调试时变量值中文显示可以通过在debugger里面的设置,将语言改成gb就可以了~~否则含有中文的变量值是不能正常显示的~

php expert editor

php expert editor 较新的版本是3.0,比较有特色的功能有:php语法检查,程序段书签,宏功能,代码模版,内建web server,debugger。

pee在代码结构分析上有一个特色就是可以看到每一个变量的分别出现位置,如果要跟踪是再方便不过了。

总的说,pee是一个半调子编辑环境,在补全等方面显得不很方便。

最后给大家再介绍两个小的程序

phpprocessor,一个php代码的优化和保护程序,可以通过去掉注释回车等减少php文件大小,将变量名改为晦涩的新名称降低程序可读性保护程序。内建了ftp工具,完善的备份措施,收费,15天免费适用,有功能限制。如果只是想减小php代码的大小的话,有另外一个免费的选择htmlshrinkerlight,只不过效果不如这个。

因为php是一种开放性的语言,这也导致了开发环境没有强而权威的支持。这里列举一些比较好的编辑工具,希望能给大家开发php程序提供一些帮助。

dreamweaver

从mx开始,dw开始支持php+mysql的可视化开发,对于初学者确实是比较好的选择,因为如果是一般性开发,几乎是可以不写一行代码也可以写出一个程序,而且都是所见即所得的。

所包含的特征包括,语法加亮、函数补全,形参提示等。

However, the code generated by dw is more complicated and the security is average. In terms of handwriting, the convenience is average, and the performance in the debugging environment is unsatisfactory. Not suitable for more complex programming. But it’s perfect for beginners.

zend development enviorment

Zend, which is closest to PHP, launched a PHP IDE, zend development enviorment. The latest version is 2.6, which is also the only PHP integrated development and debugging environment under Linux. Of course, it also has a Windows version.

Unlike other IDEs, zde is written in Java~~ This not only means multi-platform, but also means very slow speed and a strange user interface. Especially its startup speed of nearly half a minute is unbearable!!!!!

zde provides the most complete functions and can be seamlessly integrated with zend and other PHP development tools. It has become a powerful PHP development environment, and ZDE's debugging environment is built into ZDE's own program, unlike other IDEs, which are implemented through PHP debuger.

Includes features: syntax highlighting, complete function completion and help (but only for PHP built-in functions, not valid for custom functions), project management, and zde’s unique PHP code organization, php.ini Visual editing and nested marking, using the latter is very convenient when viewing complex program structures, without having to count the dense {} numbers ~

The debugging functions provided include breakpoints, stack, watches, variables, output buffer, and all available tracking methods.

The main disadvantages are: 1. Slow speed~~ 2. Not very convenient to use.

phped

PHPed was launched by nusphere, a company that has been engaged in PHP development for a long time. The latest version is 3.12.

phped has the best overall performance, starts very quickly, and provides the most functions. Syntax highlighting, function completion, project management, code templates, automatic code completion, visual database management, built-in dav, cvs, ftp, webserver, debugger, and js code list, common html tag set, and phped also supports plug-ins technology.

The installation version also comes with PHP and MySQL manuals (in English). It is worth mentioning the debugging function of phped. Although zde has all its debugging functions, phped is more convenient. For example, you can directly see the value of the variable by placing the mouse on the variable during debugging, and the distribution of the debugging window is more detailed and It is reasonable and supports external script debugging. Although zed can also be implemented, it is a bit more troublesome to set up.

phped’s script structure function is similar to zde’s~ but it is better in terms of classes, down to class elements.

But the shortcoming of phped is also very serious, that is, its support for Chinese is very poor~~it will even display abnormally when selecting. Another reminder is that when debugging, variable values ​​can be displayed in Chinese by setting the debugger and changing the language to gb~~ Otherwise, variable values ​​containing Chinese cannot be displayed normally~

php expert editor

The latest version of php expert editor is 3.0. The more distinctive functions include: php syntax check, program segment bookmarks, macro functions, code templates, built-in web server, and debugger.

One of the features of pee in code structure analysis is that you can see the location of each variable, which is very convenient if you want to track it.

In general, pee is a half-toned editing environment, which is not very convenient in aspects such as completion.

Finally, I will introduce two small programs to you

phpprocessor, a PHP code optimization and protection program, can reduce the size of PHP files by removing comments and carriage returns, and changing variable names to obscure new names to reduce program readability. It has built-in ftp tools and complete backup measures. It is chargeable and free for 15 days. There are functional restrictions. If you just want to reduce the size of the php code, there is another free option, htmlshrinkerlight, but it is not as effective as this one.

php cb-de vel, a program that beautifies the PHP code structure and improves readability. It's very useful. If you use zde, you don't need it. It's free and the speed is good.

That’s all about the tools. In fact, when it comes to programming, tools are just auxiliary. The main thing is up to you, right? Many programmers use editplus or even notepad to write many great programs. So, instead of waiting for a perfect editing tool, it’s better to read more books~~ isn’t it?

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531676.htmlTechArticleBecause PHP is an open language, this also results in the development environment not having strong and authoritative support. Here are some better editing tools, hoping to provide you with a way to develop php programs...
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