`
haohappy2
  • 浏览: 315062 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Thinking in PHP

    博客分类:
  • PHP
 
阅读更多

今天也是被突如其来的灵感激发,写一篇PHP相关的感触,也是作为两年多PHP程序员的感触吧。谈到PHP无非就是一些很诙谐的事情,也把被玩坏的PHP这个作为本篇文章的标题。好吧,到这也让今天的文章有些喜感。说了这么多,被玩坏的PHP究竟是什么样呢?

1、PHP是前端语言,JAVA是后台语言。我觉得有几点原因。一是PHP可能比较简单,简单程度和前端语言相似。PHP非常的灵活,便捷。你可能需要的 他都已经帮你做好了。这也是PHP为什么能那么流行的原因之一吧,或许也是为什么那么多程序员追捧的原因之一。二是PHP和前端联系太密切,基本像网页相 关的WEB开发PHP占有绝对优势。现在基本PHP程序员基本都会WEB FrontEnd Develop。以至于不仔细区分根本就忽略了PHP也是后台语言这一点。
2、还有人说PHP是拍黄片的,因为可能因为拍黄片的首字母是PHP。这也让太强求了,也让PHP这个语言更加幽默。后面又出了很多搞笑的场景,比如上 《非诚勿扰》,一个男嘉宾说自己是PHP程序员,结果女嘉宾全灭灯。后面问女嘉宾为什么灭灯,一个女嘉宾说我以为是拍黄片的就把灯灭了。
在我眼中PHP是最好的语言。因为我个人选择PHP注定会坚定自己的选择,也因为我对PHP的热爱和了解,更因为PHP开源,无数人为他添砖加瓦,让她与时俱进,日趋稳健,也让更多的人因为PHP接触互联网。
PHP在项目开发中是非常便捷的,他有非常丰富的函数库。在其他语言中可能的自己写的函数,PHP核心都已经包含了。PHP程序员更加专注业务逻辑和程序 其他方面的因素,比如整体性能和代码维护性等等。我觉得这些做好了,以后PHP程序员可以做一个优秀的项目经理。这也是PHP程序员比较幸运的地方。
在性能上,可能PHP不如JAVA。因为很多大型WEB网站类项目,考虑到性能和维护都会抛弃PHP,当然这不是绝对,你知道的Facebook为PHP 开发了HHVM。我们公司之前一个项目用户也不是非常的多,十万多左右。在规划后面的时候,在网上找PHP做到更好的性能时却发现到处都是Java相关的 解决方案。这个我亲身经历的一个对PHP的打击。
另外,在开源上,PHP是从始至终做的最好的。语言开源,很多CMS也是开源的。PHP在Tiobe编程语言排行榜上的表现也还是比较不错的,基本在第五名左右。
今天,这篇文章不是去维护PHP,只是想用善意的眼光发现更多的美。任何事存在必有其合理性。任何编程语言还有人用就说明他还是在某些领域能提供价值。我们不要去把精力放在争论那个语言好。而应该更多的是我擅长那个语言来解决问题,带来更多的经济效益。
本文纯属饭后消遣,准确性有待验证。希望大家能有更好的心态,把玩坏的PHP发展得更好,更要感谢这么多编程语言,让当今的社会发生巨大的改变。再次也感谢前段时间PHP7的发布,把PHP带向更高的一个境界。

分享到:
评论

相关推荐

    thinking in c++

    Thinking in C++(2nd) http://download.chinaitlab.com/program/files/1790.html http://www.7880.com/Download/Thinking-in-C++-9836.html参考资料:http://www.shubulo.com/viewthread.php?tid=32&extra=page=2

    PHP.and.Algorithmic.Thinking.for.the.Complete.Beginner.1503015

    None of those books, unfortunately, bothers to teach you the first thing that a novice programmer needs to learn, which is "Algorithmic Thinking." Algorithmic Thinking involves more than just ...

    PHP & MySQL For Dummies 3rd edition

    Been thinking of creating a high-quality interactive Web site? This book is just what you need to get started! Here's the fun and easy way(r) to develop a Web application in PHP 4, 5, ...

    Sams Teach Yourself Microsoft Expression Web 3 in 24 Hours.pdf

    When I started writing this book, I spent a lot of time thinking about you, the reader; more specifically how to ensure that after reading this book, you would walk away with not only an understanding...

    nusoap php webservices 类

    * and I was thinking of writing one. I am working on my site at * http://timba.host.sk/ and when I am through with it, I would be putting * the documentation there. * * Written by: * Tim ...

    ReactJS.Blueprints.1785886541

    It provides a different way of thinking about how you should develop your apps, and has already gained a massive adoption among web developers. Join the revolution, build web apps faster, and have ...

    Laravel 5.x Cookbook (Packt 2016)

    Using tests to think through your code TDT (Test Driven Thinking) 236 Getting your code onto GitHub 244 Using VCR for API testing 247 Using Travis to run tests with every push 252 Launching Gulp watch...

    WordPress 2.8 Theme Design.pdf

    Out of the box model thinking 129 The road to validation 132 Advanced validation 135 This material is copyright and is licensed for the sole use by Gay Anschultz on 5th December 2009 21844 ...

    Crystal Reports 9 - The Complete Reference.part1

    坏链接电子书1Die G11 Story1Practical Stress Analysis in Engineering Design, Third Edition1Lonely Planet Cantonese Phrasebook1Statistical Thinking in Sports1Gastrointestinal Pathology: An Atlas and ...

    system mechanic Activator v1.0

    05. In case SysMech cannot be installed because of the message "You cannot install a trial version of System Mechanic over the top of an older licensed version": >Before installing SysMech run the ...

    alixcpp::man_in_tuxedo:??

    :thinking_face: 我正在寻找有关帮助 :high_voltage: 有趣的事实:我从未有过iPhone :video_game: 我的爱好是玩games 我使用的大多数语言| 仅在资源库中,而不是我擅长的语言 操作系统 工作区规格 与我联系

    carolinacobo:主页

    :thinking_face: 接下来我要学习的是React和PHP 。 如果您想取得联系: box工具箱 :nerd_face: 编程语言 :books: 库和框架 :open_book: 数据库(进行中) 版本控制,托管和其他工具 :chart_increasing:...

    adepanges.github.io

    :thinking_face: 我每天使用.js 、 .ts 、 .vue 、 .sql 、 no.sql 、 .php ; :seedling: 我目前在打字稿,单元测试; :speech_balloon: 有任何问题都可以问我,我很乐意提供帮助; :memo: ;

Global site tag (gtag.js) - Google Analytics