Home > php教程 > php手册 > body text

写出高质量的PHP程序

WBOY
Release: 2016-06-13 12:03:11
Original
1086 people have browsed it

一、安全
无论程序写的如何,首先安全是第一位的,没有安全保障的程序根本不能谈高质量。
二、稳定
无论你代码写的再烂,必须要能稳定运行。
三、用户体验
用户的体验直接决定着一个程序的命运,根本不懂用户体验的程序高质量便无从谈起。
四、商业体验
开发应用的目的自然是为了赚钱,我认为,再优秀的程序,不赚钱也等于是一个废物。
五、效率
这是最后一个了,一直认为性能是最次要的,PHP程序本身的效率就不是太高,只所以能如此流行主要是开源和开发成本低而已。这个问题不想再去说,有的程序员想从PHP代码上来提高性能,呵呵,有点可笑,如果代码不是写的太烂,那么一个代码能提高多少效率呢?如果想提高系统的效率还是用.NET或者JSP吧。
至于PHP的效率只是比ASP要快一些,再说,效率的提高也绝对不是单单能从代码上来解决的,还有很多的要素,比如基础设施等等。

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!