靠靠靠靠谱 發表於 2019-11-23 10:17:00

什么是PHP?

<p>&nbsp; &nbsp; &nbsp; &nbsp;<strong>PHP</strong>起源于<strong>1995</strong>年,由<strong>Rasmus Lerdorf</strong>开发。到现在,<strong>PHP</strong>已经历了21年的时间洗涤,成为全球最受欢迎的脚本开发语言之一。由于<strong>PHP </strong>5是一种面向对象、完全跨平台的新型<strong>Web</strong>开发语言。所以从开发者角度考虑还是从经济角度考虑,都是非常实用的。PHP语法结构简单、易于入门,很多功能只需一个函数就能实现。<br><strong>1、什么是PHP</strong><br>&nbsp; &nbsp; &nbsp; &nbsp;<strong>PHP</strong>(<strong>Hypertext Preprocessor</strong>,超文本预处理器),是一种服务器端、跨平台、<strong>HTML</strong>嵌入式的脚本语言,其独特的语法混合了<strong>C</strong>语言、<strong>Java</strong>语言和<strong>Perl</strong>语言的特点,是一种被广泛应用的开源式的多用脚本语言,尤其适合<strong>Web</strong>开发。<br>&nbsp; &nbsp; &nbsp; &nbsp;<strong>PHP</strong>是<strong>B</strong>/<strong>S</strong>(<strong>Browser</strong>/<strong>Server</strong>,浏览器/服务器)体系结构,属于三层结构。服务器启动后,用户可以不使用客户端软件,只使用浏览器即可访问,既保持图形化的用户界面,又大大减少了应用的维护量。<br><strong>2、PHP语言的优势<br>&nbsp; &nbsp; &nbsp; PHP</strong>起源于自由软件,既开放源代码软件,使用PHP进行Web应用程序的开发具有以下优势:<br>&nbsp; &nbsp; &nbsp;安全性高:<strong>PHP</strong>是开源软件,每个人都可以看到所有PHP的源代码,程序代码与<strong>Apache</strong>编译在一起的方式让它的安全设定更灵活。<strong>PHP</strong>具有公认的安全性能。<br>&nbsp; &nbsp; &nbsp;跨平台性:<strong>PHP</strong>几乎支持所有的操作平台(如 <strong>Windows</strong>/<strong>UNIX</strong>/<strong>Linux</strong>/<strong>Macintosh</strong>/<strong>FreeBSD</strong>/<strong>OS2</strong>等),并且支持 <strong>Apche</strong>、<strong>IIS</strong>等多种WEB服务器。<br>&nbsp; &nbsp; &nbsp;支持广泛的数据库:可操作多种主流与非主流的数据库,如 <strong>MySQL、Access、SQL Server、Oracle、DB2</strong>等,其中<strong>PHP</strong>与<strong>MySQL</strong>是目前最佳组合,它们的组合可以跨平台运行。<br>&nbsp; &nbsp; &nbsp;易学性:<strong>PHP</strong>嵌入在<strong>HTML</strong>语言中,以脚本语言为主,内置丰富函数,语法简单、书写容易,方便读者学习掌握。<br>&nbsp; &nbsp; &nbsp;执行速度快:占用系统资源少,代码执行速度快。<br>&nbsp; &nbsp; &nbsp;免费:在流行的企业应用 <strong>LAMP</strong> 平台中,<strong>Linux、Apache、MySQL、PHP</strong> 都是免费软件,这种开源免费的框架结构可以为网络经营者节省很大一笔开销。<br>&nbsp; &nbsp; &nbsp;模板化:实现程序逻辑和用户界面分离。<br>&nbsp; &nbsp; &nbsp;支持面向对象和过程:支持面向对象和过程的两种开发风格,并可以向下兼容。<br>&nbsp; &nbsp; &nbsp;内嵌 <strong>Zend</strong> 加速引擎,性能稳定快速。<br><strong>3、PHP 的应用领域</strong><br><strong>&nbsp; &nbsp; &nbsp; PHP&nbsp;</strong>在互联网告诉发展的今天,应用范围非常广泛,主要包括:<br>&nbsp; &nbsp; &nbsp;中小型网站的开发<br>&nbsp; &nbsp; &nbsp;大型网站的业务逻辑结果展示<br>&nbsp; &nbsp; &nbsp;<strong>Web</strong> 办公管理系统<br>&nbsp; &nbsp; &nbsp;硬件管控软件的 <strong>GUI</strong><br>&nbsp; &nbsp; &nbsp;电子商务应用<br>&nbsp; &nbsp; &nbsp;<strong>Web</strong> 应用系统开发<br>&nbsp; &nbsp; &nbsp;多媒体系统开发<br>&nbsp; &nbsp; &nbsp;企业级应用开发<br><br><br></p>
<div data-cke-filler-webkit="end" data-cke-temp="1">&nbsp;</div><br><br>
来源:https://www.cnblogs.com/chenyuphp/p/11915540.html
頁: [1]
查看完整版本: 什么是PHP?