search
HomeBackend DevelopmentPHP Tutorial关于PHP未来发展的N个严肃思考

我很悲愤,大过年的,也没人散个分。。。长此以往,让用PHP的孩子们怎么混。。。

祝大家新年快乐,
男phper钱多得象代码里的$,艳福多得象代码里的. 
女phper钱多得象代码里的$,老公的艳福少得象代码里的bug.........咳咳,这个bug怎么总是消灭不光,去了旧的,来了新的..

先来的多分点,新年假期坚持上PHP论坛的值得表扬。。。。

什么,标题党?!难道新年祝福这个不是很严肃的事情?

哦哦,要发技术贴,对对,技术....

-----------------------------------------------------------

PHP5.6.0火热开发中,已放出alpha1版本,据可靠消息(手册),新增功能有:
常量表达式初始化:
const ONE = 1;
const TWO = ONE * 2;
可变参数函数简易写法"
function f($req, $opt = null, ...$params)
新调试模块phpdbg
上传文件可超过2G
......
更多内容敬请期待




注:回复里讨论分割线下方内容的不得分。。。。


回复讨论(解决方案)

楼猪新年快乐,红包拿来

楼主新年快乐    

楼主新年快乐

正在迟疑,到底学的什么呢?

祝大家新年快乐,马上有所有!

又开始上班了,新年快乐,新的一年收入多多

哈哈,楼主新年快乐,大家新年快乐,一切又恢复正常了。

新年快乐

新年快乐  2014开始了

马年行大运,话说马年是我大学里最重要的一年哦,祝福各位也祝福我马年有所作为吧。

马上解决所有问题~~

新年快乐!又开始上班鸟!

目前所有的产品能在PHP5.3上面正常运行已经很不错了。

很少有某个产品说能在PHP5.4上面运行,更不用说PHP5.5、PHP5.6这些高版本了。

楼猪。新年快乐。

nice

新年快乐..
话说普及新版本不知道要等个几年...我现在还用的5.3

版本并非越高越好.

其实,我觉得PHP用起来挺好的,但维护起来就有点头疼了,而且漏洞什么的着实让人无语。

PHP好处我觉得是门槛低,而且修改什么的也方便。但不足之处,是觉得结构太松散了,代码是否可维护完全取决于开发人员的自律,但正像刚才说的,门槛低,所以这个自律就纯粹是摆设了。

对于快速的web开发,PHP的确是不错的选择,但对于后期维护以及扩展等,随着项目的复杂度上升,如果先期没做好规划以及为扩展等留下余地的话,那基本就是悲剧了。

但对于J2EE的话,虽然说是企业级的产品,但说实话,如果真的用过,就知道这东西实在是过度设计~~写了一堆东西,可能真正涉及业务逻辑的就一行代码。然而,PHP的话,又是另一种情况,太灵活了,如果没有严格的代码规范,基本很难做到协同开发或者后期维护等等~因为你可以把业务逻辑写在页面上,也可以把你的代码放在其他的php页面上然后导入。对于Java,即使写得再烂,至少不会跳出这个约束,还能知道到哪里去找代码。PHP么~~呵呵~~

当然,我只是随便说说而已,PHP的易用性还是值得肯定的。

新的一年,好好奋斗

楼猪。新年快乐。
我是来拿红包的...

还在用的老版本,php孩纸们新年快乐

新年快乐

2014票子马上天天有

祝大家新年快乐,马上有所有!

码农更关心学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
PHP Performance Tuning for High Traffic WebsitesPHP Performance Tuning for High Traffic WebsitesMay 14, 2025 am 12:13 AM

ThesecrettokeepingaPHP-poweredwebsiterunningsmoothlyunderheavyloadinvolvesseveralkeystrategies:1)ImplementopcodecachingwithOPcachetoreducescriptexecutiontime,2)UsedatabasequerycachingwithRedistolessendatabaseload,3)LeverageCDNslikeCloudflareforservin

Dependency Injection in PHP: Code Examples for BeginnersDependency Injection in PHP: Code Examples for BeginnersMay 14, 2025 am 12:08 AM

You should care about DependencyInjection(DI) because it makes your code clearer and easier to maintain. 1) DI makes it more modular by decoupling classes, 2) improves the convenience of testing and code flexibility, 3) Use DI containers to manage complex dependencies, but pay attention to performance impact and circular dependencies, 4) The best practice is to rely on abstract interfaces to achieve loose coupling.

PHP Performance: is it possible to optimize the application?PHP Performance: is it possible to optimize the application?May 14, 2025 am 12:04 AM

Yes,optimizingaPHPapplicationispossibleandessential.1)ImplementcachingusingAPCutoreducedatabaseload.2)Optimizedatabaseswithindexing,efficientqueries,andconnectionpooling.3)Enhancecodewithbuilt-infunctions,avoidingglobalvariables,andusingopcodecaching

PHP Performance Optimization: The Ultimate GuidePHP Performance Optimization: The Ultimate GuideMay 14, 2025 am 12:02 AM

ThekeystrategiestosignificantlyboostPHPapplicationperformanceare:1)UseopcodecachinglikeOPcachetoreduceexecutiontime,2)Optimizedatabaseinteractionswithpreparedstatementsandproperindexing,3)ConfigurewebserverslikeNginxwithPHP-FPMforbetterperformance,4)

PHP Dependency Injection Container: A Quick StartPHP Dependency Injection Container: A Quick StartMay 13, 2025 am 12:11 AM

APHPDependencyInjectionContainerisatoolthatmanagesclassdependencies,enhancingcodemodularity,testability,andmaintainability.Itactsasacentralhubforcreatingandinjectingdependencies,thusreducingtightcouplingandeasingunittesting.

Dependency Injection vs. Service Locator in PHPDependency Injection vs. Service Locator in PHPMay 13, 2025 am 12:10 AM

Select DependencyInjection (DI) for large applications, ServiceLocator is suitable for small projects or prototypes. 1) DI improves the testability and modularity of the code through constructor injection. 2) ServiceLocator obtains services through center registration, which is convenient but may lead to an increase in code coupling.

PHP performance optimization strategies.PHP performance optimization strategies.May 13, 2025 am 12:06 AM

PHPapplicationscanbeoptimizedforspeedandefficiencyby:1)enablingopcacheinphp.ini,2)usingpreparedstatementswithPDOfordatabasequeries,3)replacingloopswitharray_filterandarray_mapfordataprocessing,4)configuringNginxasareverseproxy,5)implementingcachingwi

PHP Email Validation: Ensuring Emails Are Sent CorrectlyPHP Email Validation: Ensuring Emails Are Sent CorrectlyMay 13, 2025 am 12:06 AM

PHPemailvalidationinvolvesthreesteps:1)Formatvalidationusingregularexpressionstochecktheemailformat;2)DNSvalidationtoensurethedomainhasavalidMXrecord;3)SMTPvalidation,themostthoroughmethod,whichchecksifthemailboxexistsbyconnectingtotheSMTPserver.Impl

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor