简单的php问题 [英] the simple php question

查看:65
本文介绍了简单的php问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

php的重要性是什么?

what is the importance of php?

推荐答案

这只是我自己的意见(其他任何事情都没有意义,因为重要性纯属社交术语,任何客观答案是不可能的):



有许多弱者或懒惰的程序员,以及一般工人,他们不想学到太多东西,不明白,如果你想要得到好的东西,那就永远不会太容易了。这就是为什么像PHP这样邋,,小而简陋的工具有时会变得非常受欢迎。除了少数几件事之外,PHP没有什么好处:它非常容易学习到可以开始制作应用程序的程度,而且它非常轻巧。同时,它是基本的,不遵循严格的编程原则,没有新鲜或优雅的想法,很多临时工具。这种语言没有什么特别之处,没有一个有趣的功能,但是很多真正过时的技术,比如基于模块化的内容。并没有什么特别的吸引力。



但是一旦这种语言在一些快速而肮脏的工作中得到了普及,另一个强大的因素开始发挥作用:与其他服务器端技术不同,它默认情况下,即使是最便宜(甚至免费)的托管计划。这个经济因素使PHP具有吸引力:有时您希望以非常低的成本获得最低限度支持的Web站点,但是如果没有服务器端编程则无法创建它:您至少需要一些通信页面,或块引擎,或者最小的聊天,或类似的东西。对于这样的功能,您可以在一段时间内容忍PHP,直到您完成工作。好吧,可能会更糟。实际上,很多人用PHP创建了非常重要的大工作,不是因为它很好,而是因为它的成本低,并且有许多免费组件可用。



-SA
This is just my own opinion (and anything else would make no sense, because "importance" is a purely social term, any "objective" answer is impossible):

There are many weak or lazy programmers, and workers in general, who don't want to learn much, and do not understand that if you want to get something good, it's never too easy. That's why some sloppy, small and rudimentary tools like PHP become sometimes very popular. There is a nothing really good about PHP, except just few things: it is extremely easy to learn to the extent where you can start making some application, and also it is quite light-weight. At the same time, it is rudimentary, don't follow strict programming principles, with no fresh or elegant ideas, a lot of an ad hoc tool. There is nothing special about this language, not a single interesting feature, but a lot of really obsolete techniques like modularity based in inclusion. And nothing specially attractive.

But once the language got some popularity in some quick and dirty work, another powerful factor came into play: unlike other server-side technologies, it comes by default even with the very cheapest (or even free-of-charge) hosting plans. This economic factor makes PHP attractive: sometimes you want to have a minimally supported Web site at really low cost, but you cannot create it without server-side programming at all: you need at least some communication page, or a block engine, or a minimal chat, or stuff like that. For such functionality, you could tolerate PHP for a while, until you complete the job. Well, it could be worse. Actually, many create really serious big work with PHP, not because it's good, but due to its low cost and availability of many free components written in it.

—SA


PHP是一种服务器语言,这意味着用该语言编写的语句由服务器在PHP服务器上执行并最终转换为客户端(Web浏览器) )。还有其他语言扮演相同的角色,其中许多语言为程序员在调试,易读性,可读性等方面提供了更好的条件.PHP非常动态,这使得测试和发现错误变得困难。
PHP is a server language this means that the statements written in the language are executed at the server by a PHP engine and eventually translated to the client (web browser). There are other languages who played the same role and many of these provide better conditions for the programmer in terms of debugging, legibility, readability, etc. PHP is extremely dynamic this makes it difficult to test and find errors.


这篇关于简单的php问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆