search

分类:人生杂谈时间: 2015年12月23日

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

1、PHP是前端语言,JAVA是后台语言。我觉得有几点原因。一是PHP可能比较简单,简单程度和前端语言相似。PHP非常的灵活,便捷。你可能需要的他都已经帮你做好了。这也是PHP为什么能那么流行的原因之一吧,或许也是为什么那么多程序员追捧的原因之一。二是PHP和前端联系太密切,基本像网页相关的WEB开发PHP占有绝对优势。现在基本PHP程序员基本都会WEB前端开发。以至于不仔细区分根本就忽略了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带向更高的一个境界。

标签: 生活闲谈

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
Working with Flash Session Data in LaravelWorking with Flash Session Data in LaravelMar 12, 2025 pm 05:08 PM

Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

Build a React App With a Laravel Back End: Part 2, ReactBuild a React App With a Laravel Back End: Part 2, ReactMar 04, 2025 am 09:33 AM

This is the second and final part of the series on building a React application with a Laravel back-end. In the first part of the series, we created a RESTful API using Laravel for a basic product-listing application. In this tutorial, we will be dev

cURL in PHP: How to Use the PHP cURL Extension in REST APIscURL in PHP: How to Use the PHP cURL Extension in REST APIsMar 14, 2025 am 11:42 AM

The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

Simplified HTTP Response Mocking in Laravel TestsSimplified HTTP Response Mocking in Laravel TestsMar 12, 2025 pm 05:09 PM

Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

12 Best PHP Chat Scripts on CodeCanyon12 Best PHP Chat Scripts on CodeCanyonMar 13, 2025 pm 12:08 PM

Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

Notifications in LaravelNotifications in LaravelMar 04, 2025 am 09:22 AM

In this article, we're going to explore the notification system in the Laravel web framework. The notification system in Laravel allows you to send notifications to users over different channels. Today, we'll discuss how you can send notifications ov

Explain the concept of late static binding in PHP.Explain the concept of late static binding in PHP.Mar 21, 2025 pm 01:33 PM

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

PHP Logging: Best Practices for PHP Log AnalysisPHP Logging: Best Practices for PHP Log AnalysisMar 10, 2025 pm 02:32 PM

PHP logging is essential for monitoring and debugging web applications, as well as capturing critical events, errors, and runtime behavior. It provides valuable insights into system performance, helps identify issues, and supports faster troubleshoot

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),