PHP 过时了吗?PHP只适用于小公司吗?
PHP可能不是最佳或最现代的编程语言,但这并不意味着它已经死了。根据W3Techs的数据,使用已知的服务器端编程语言的所有网站中,有78.9%使用PHP 。在Internet上访问的每十个网站中,几乎有八分之一正在以某种方式使用PHP。
Introduction
- Open source server-side scripting language used for web development, commanl-line execution(用于Web开发,命令行执行的开源服务器端脚本语言)
- PHP has a great documentation,big community(PHP有一个很棒的文档,很大的社区)
- Composer -- Dependency managerment tool for php(Composer-php的依赖管理工具)
- PECl(PHP Extension Community Library) (PHP扩展社区库)
- PEAR(PHP Extension And Application Repository)(PHP扩展和应用程序存储库)
- It supports mostly all the detabase (Relation and non-relation)它支持几乎所有的detabase(关系和非关系)
Numbers of Frameworks build on PHP
- Laravel
- Symfony
- Zend Framework
- CodeIgniter
- FuelPHP
- Yii 2
- Phalcon
- Slim
- PHPixie
Numbers of CMS build on PHP
- WordPress
- Joomla
- Drupal
- Magento
- OpenCart
- SilverStripe
- Modx
- Concrete5
- PHP Fusion
- PHPWiki
Companies
Why big company investing time and money and resources ?(大公司为什么要投入时间,金钱和资源?)
- Companies like Google, Facebook, Microsoft, Amazon Continuously Developping library for PHP(像Google,Facebook,Microsoft,Amazon这样的公司不断开发PHP库)
- Payment getway provider developing library for PHP(支付网关服务商开发PHP库)
- SMS getway provider developing library for PHP(SMS getway 服务商开发PHP库)
- Email service provider developing library for PHP(Email service 服务商开发PHP库)
What's new in PHP
Perference of PHP is increased by 50%(PHP的性能提高了50%)
Security(Somewhere I have read hackers are 10x smarter then developer)(我了解到的黑客比开发人员聪明10倍)
* PHP has deprecated many vulnerable function,library(PHP已弃用了许多易受攻击的函数,库)
* Input fields validation(Sanitization/Escaping)(输入字段验证(消毒/转义))
* Cross site scripting(XSS)(跨站点脚本)
* SQL Injection Attacks(SQL注入)
* Cross site request forgery XSRF/CSRF(跨站点伪造)
* Session Hijacking(会话劫持)
* Hide Files from the Browser(从浏览器隐藏文件)
* Securely Upload Files with all possible validations(通过所有可能的验证安全地上传文件)
* Use SSL Certificates For HTTPS(对HTTPS使用SSL证书)
Feature of PHP web developer
It's totally my points of view:
- You can get a framework specific jobs
- You can get CMS speific jobs
- DevOps jobs
Jobs will always be there for a PHP Developer but may be there is a chance of low pay as compared to other programming language like java, .net, Python etc.