首页 > 编程知识 正文

介绍php的英文经典之作(php是最好的语言出处)

时间:2023-12-21 10:48:49 阅读:318690 作者:QFHM

本文目录一览:

求一篇php方面的英文论文,最好带中文翻译的!

The DEVELOPMENT of PHP

PHP began life as a way to manage a small personal website and was imagined and realized by just one man, Ramsus Lerdorf. Originally dubbed Personal Home Page Tools, PHP quickly evolved over the years from the basic scripting engine for a personal website into a highly competitive, extremely robust code engine that is deployed on millions of websites across the globe. PHP’s fast, effective engine; its widespread, open-source developer base; and its platform flexibility have all come together to create one of the world’s most effective online scripting languages.

Throughout the years PHP has continued to improve on its foundations, providing increased functionality and scalability. Because of PHP’s standard of listening to the community, fresh functionality is consistently added to every new release, allowing for more versatile code and upgrades to its already substantial library of built-in methods. For years, people have been using the PHP 4 series of code to create robust and powerful applications.

There is always room for improvement, however. Although PHP 4 is considered to be an object-oriented programming (OOP) language, the class functionality found within it was not entirely as flexible as some developers wanted it to be. Older OOP languages that have had more time to grow have some strong functionality that PHP simply was not able to roll out in its PHP 4 releases.

But that was then, and this is now. A very exciting occasion occurred for PHP developers everywhere on July 13, 2004: PHP released its long-anticipated version 5. Sporting a new object model powered by the already superb Zend II engine, PHP was ready to bring OOP to a new level with this release.

On top of new, more powerful class structures and functionality, PHP 5 has introduced many exciting features, some of which the community has been clamoring about for ages.Say “hello (world)” to proper exception handling; new, simple-to-implement XML support;more verbose Simple Object Access Protocol (SOAP) functionality for web services; and much,

much more.

As the Internet continues to evolve, so too does the necessity for a language that addresses the functionality needs of the Internet’s web viewers. Over time, some programming languages have come and gone, and others have continued to evolve. Several languages have moved into the lead in the race for supremacy. Although languages such as ColdFusion,ASP.NET, and CGI certainly have their advantages, PHP seems to be the developer’s choice for a versatile, open-source solution.

PHP最初只是为了管理一个小小的个人网站,而且它的构想和实现都是由一个人完成的,他就是Ramsus Lerdorf。PHP最初称为俱主页工具(Personal Home Page Tools),但经过多年的发展,它很快从最早面向个人网站的基本脚本引擎演变成为一个有很强竞争力、相当健壮的编码引擎,目前全世界已经有数百万的网站部署了这个引擎。PHP有很多优点,它是一个快速、有效的引擎,拥有广泛的开源开发人员群体,而且具有平台灵活性,所有这些使得PHP成为世界上最有效的在线脚本语言之一。

多年来,PHP在其原有基本之上还在继续发展,不断提供更丰富的功能和更大的伸缩性。由于PHP的宗旨是以开发群体为本,所以每一个新版本中都会增加全新的功能,从而支持开发功能更强大的代码,并对原本就已经很丰富的内置方法库不断升级。人们早在多年前就已经开始使用PHP4系列的代码创建健壮而强大的应用程序。

不过,总是还有改进的余地。尽管PHP4被认为是一种面向对象的程序设计语言,但它提供的类功能还不是太灵活,尚未达到一些开发人员的期望。相比之下,较早的OOP语言发展时间比较长,因此具备一些强大的功能,而这些功能对于PHP4版本来说还力不能及。

但那是很早以前的事情了,如今情况已经大不相同了,对于世界各地的PHP开发人员来说。2004年7月13日是一个让人激动的日子:PHP发布了人们翘首以待的PHP5.通过提出一个新的对象模型,再加上高级ZendII引擎更使之如虎添翼,PHP蓄势待发,要通过这个版本将OOP推向一个全新的高度。

在更新、更强大的类结构和功能基本上,PHP5引入了许多令人兴奋的特性,其中一些是开发人员渴望已久的。比如,适当的异常处理;全新的、易于实现的XML支持;面对WEB服务的更全面的对象访问协议(Simple Object Protocol,SOAP)功能等,当然还远不止这些。

随着互联网的不断发展,必须有一种语言来解决互联网的网站中观众需求的必要性。随着时间的推移,已经出现了一些编程语言,和其他语言继续发展。几种语言都已经进入了在一场激烈的竞争导致。虽然例如ColdFusion,ASP.NET语言,和CGI,固然有其优势,但PHP的似乎是一个多功能,开放源码的解决方案开发人员的选择。

什么是PHP,PHP能干什么,为什么使用PHP

在学习任何东西之前,我们都得了解这门东西究竟是什么,有什么用。学习PHP一样如此。

一、什么是PHP

PHP,全称 Hypertext Preprocessor ,中文翻译“超文本预处理器”。

在PHP的官网是这样介绍PHP的:

PHP is a popular general-purpose scripting language that is especially suited to web development.

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

照顾英文能力较差的同学,以下为中文版

PHP是一种被广泛应用的开源通用脚本语言,尤其适用于 Web 开发。

拥有快速,灵活,实用的特点,PHP能做任何事,包括你的个人博客甚至是全球性的大型站点系统。

PHP内核由C开发,因此在语法上跟C有不少相似之处。但PHP绝对不是C。

PHP语法除了跟C有相似之处外,还跟Java、Perl比较流行的编程语言存在相似的地方。因此,如果你有上述语言基础,PHP入门会更加快速。

二、PHP能干什么

PHP能干任何事!

PHP能直接嵌入HTML语言中,与HTML混编。PHP开发的目的主要是允许 web 开发人员快速编写动态生成的 web 页面,但 PHP 的用途远不只于此。

PHP还包含了命令列执行接口(command line interface),和产生图形使用者接口(GUI)程式。

PHP能干任何事!

PHP能干任何事!

PHP能干任何事!

重要的事情要说3遍!

三、为什么选择PHP

1、PHP开源免费,没有任何收费的项目。你可以随便修改他的内核然后用于自己的商业使用。

2.、PHP开发组件丰富(对于新手来说一堆IDE也是够选择困难症纠结的)

3、社区成熟,85%以上的问题能在社区找到相应的解决思路。

4、PHP学习成本低,不想某门语言要学就得三件套。见效快,学1个月基本能入门

5、开源库丰富,基本所有类型均有开源产品

6、PHP7.0基本不输任何一门语言~!这是重点

7、与MySQL近乎完美的支持

8、找工作容易

9、连Facebook都在用php,你还什么理由不用?

求一篇关于php技术的英文文献

PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Simple answer, but what does that mean? An example:

Example 1.1. An introductory example

html

head

titleExample/title

/head

body

?php

echo "Hi, I'm a PHP script!";

?

/body

/html

Notice how this is different from a script written in other languages like Perl or C -- instead of writing a program with lots of commands to output HTML, you write an HTML script with some embedded code to do something (in this case, output some text). The PHP code is enclosed in special start and end tags that allow you to jump into and out of "PHP mode".

What distinguishes PHP from something like client-side JavaScript is that the code is executed on the server. If you were to have a script similar to the above on your server, the client would receive the results of running that script, with no way of determining what the underlying code may be. You can even configure your web server to process all your HTML files with PHP, and then there's really no way that users can tell what you have up your sleeve.

The best things in using PHP are that it is extremely simple for a newcomer, but offers many advanced features for a professional programmer. Don't be afraid reading the long list of PHP's features. You can jump in, in a short time, and start writing simple scripts in a few hours.

PHP is a reflective programming language originally designed for producing dynamic web pages. PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

The main implementation is produced by The PHP Group and released under the PHP License. It is considered to be free software by the Free Software Foundation. This implementation serves to define a de facto standard for PHP, as there is no formal specification.

History

PHP was written as a set of CGI binaries in the C programming language by the Danish/Greenlandic programmer Rasmus Lerdorf in 1994, to replace a small set of Perl scripts he had been using to maintain his personal homepage. Lerdorf initially created PHP to display his résumé and to collect certain data, such as how much traffic his page was receiving. Personal Home Page Tools was publicly released on 8 June 1995 after Lerdorf combined it with his own Form Interpreter to create PHP/FI (this release is considered PHP version 2).

Zeev Suraski and Andi Gutmans, two Israeli developers at the Technion IIT, rewrote the parser in 1997 and formed the base of PHP 3, changing the language's name to the recursive initialism PHP: Hypertext Preprocessor. The development team officially released PHP/FI 2 in November 1997 after months of beta testing. Public testing of PHP 3 began and the official launch came in June 1998. Suraski and Gutmans then started a new rewrite of PHP's core, producing the Zend Engine in 1999.They also founded Zend Technologies in Ramat Gan, Israel, which actively manages the development of PHP.

In May 2000, PHP 4, powered by the Zend Engine 1.0, was released. The most recent update released by The PHP Group, is for the older PHP version 4 code branch which, as of May 2007, is up to version 4.4.7. PHP 4 is currently still supported by security updates for those applications that require it.

On July 13, 2004, PHP 5 was released powered by the new Zend Engine II. PHP 5 included new features such as:

Support for object-oriented programming

The PHP Data Objects extension, which defines a lightweight and consistent interface for accessing databases

Performance enhancements

Better support for MySQL

Embedded support for SQLite

Integrated SOAP support

Data iterators

Error handling via exceptions

The latest stable version, PHP 5.2.3, was released on June 1, 2007.

Usage

PHP generally runs on a web server, taking PHP code as its input and creating Web pages as output, however it can also be used for command-line scripting and client-side GUI applications. PHP can be deployed on most web servers and on almost every operating system and platform free of charge. The PHP Group also provides the complete source code for users to build, customize and extend for their own use.

Server-side scripting

Originally designed to create dynamic web pages, PHP's principal focus is server-side scripting. While running the PHP parser with a web server and web browser, the PHP model can be compared to other server-side scripting languages such as Microsoft's ASP.NET system, Sun Microsystems' JavaServer Pages, mod_perl and the Ruby on Rails framework, as they all provide dynamic content to the client from a web server. To more directly compete with the "framework" approach taken by these systems, Zend is working on the Zend Framework - an emerging (as of June 2006) set of PHP building blocks and best practices; other PHP frameworks along the same lines include CakePHP, PRADO and Symfony.

The LAMP architecture has become popular in the Web industry as a way of deploying inexpensive, reliable, scalable, secure web applications. PHP is commonly used as the P in this bundle alongside Linux, Apache and MySQL, although the P can also refer to Python or Perl. PHP can be used with a large number of relational database management systems, runs on all of the most popular web servers and is available for many different operating systems. This flexibility means that PHP has a wide installation base across the Internet; over 19 million Internet domains are currently hosted on servers with PHP installed.

Examples of popular server-side PHP applications include phpBB, WordPress, and MediaWiki.

谁能帮我翻译一篇关于php的英文介绍

一个PHP应用程序的组件

为了处理和开发动态网页,你需要理解和使用多种技术。有三个主要组件创建动态网页:Web服务器,服务器端编程语言和数据库。这是一个好主意,有一个网络的三个组成部分使用PHP开发的基本认识。开始与一些历史和Apache的目的(您的Web服务器)基本的了解,PHP的(您的服务器端编程语言)和MySQL(数据库)。这可以帮助您了解它们如何在Web开发与之相适应。

请记住,动态网页拉同时从几个来源的资料,包括了Apache,PHP,MySQL和层叠样式表(CSS),我们将谈论以后。

1.2.1。 PHP的诞生

PHP的前身是一个人们需要开发和维护的网站包含动态的客户端服务器的功能。 1994年,拉斯穆斯Lerdorf创建的,他个人使用的开放源码的Perl脚本集合,而这些最终被改写成C和PHP是什么今天开启。到1998年,PHP是在其发布的第三个版本,将其变成一个Web开发工具,它可以竞争,如微软的Active Server Pages(ASP)或Sun的Java服务器页面(JSP)的同类产品中。

PHP的真正的美在于它的简单与权力相结合,以及它是一种解释语言,而不是编译之一。

PHP是无处不在,与所有主要的操作系统兼容。这也很容易学习,使之成为网络编程初学者的理想工具。此外,你能利用社区的努力,让人们更容易网络发展的优势。 PHP的创造者开发的基础设施,让有经验的C程序员扩展PHP的能力。因此,现在的PHP集成了诸如XML,XSL和微软的COM的先进技术。在此关头,正在使用的PHP5.0。

1.2.5。兼容性

如Firefox,Netscape和IE网络浏览器都作出处理HTML,所以无所谓什么操作系统上运行的Web服务器。阿帕奇,PHP和MySQL支持的操作系统种类繁多,这样你就不会局限于一个特定的操作系统在服务器或客户端。虽然你不必担心软件的兼容性,文件格式和各种不同的语言纯粹的多,聚在一起的确需要一些时间来适应。

php 经典教材

PHP和MySQL Web开发 (原书第4版)——号称PHP和MySQL Web开发 的圣经,必需品。

深入PHP:面向对象、模式与实践(第3版)——进阶用。

PHP语言是什么? 哪位大侠有关于这方面的比较好的资料介绍一下!

PHP 是英文 Hypertext Preprocessor ( 超文本预处理器 ) 的缩写。它是一种服务器端的脚本 编程 语言,其特点是简单、面向对象、解释执行、健壮安全、独立于架构、可移植、动态。自 PHP5 正式发布以来, PHP 以其方便快速的风格、丰富的函数功能和开放的源代码,迅速在 web 系统开发中占有了重要地位,正成为世界上最流行的 web 应用程序 编程 语言之一。

PHP 最初于 1994 年开始设计。 1995 年发布第一版,定名为 PHP Tools ,提供了留言本、计数器等简单功能。同年第二版 PHP 问市,定名为 PHP/FI ,在其中加入了 mSQL 的支持,自此奠定了 PHP 在动态网页开发上的影响力。在 1996 年底,有一万五千个 Web 网站使用 PHP/FI , 1997 年则增加到超过五万个。 1997 年开始了第三版的开发计划,发布时定名为 PHP3 。 PHP3 跟 Apache 服务器紧密结合,几乎支持所有数据库系统,执行效率极高,这使得在 1999 年使用 PHP 技术的网站超过了十五万。 2000 年 5 月, PHP4.0 正式发布。它使用了 Zend 引擎,采用了一些新的语言结构,提供更高的性能,支持更多的 Web 服务器,支持 HTTP Sessions ,支持输出缓存,处理用户输入更安全,运行速度更快。 2004 年 7 月, PHP5 问世。无论对于 PHP 语言本身还是 PHP 的用户来讲, PHP5 发布都算是一个里程碑式的版本。 PHP5 的诞生,使 PHP编程 进入了一个新时代。 Zend II 引擎的采用,完备的对象模型,改进的语法设计,使得 PHP 成为一个设计完备、真正具有面向对象能力的脚本语言。 PHP5 的出现,给整个 Web 开发带来新的革命性的发展。

在编写动态 Web 页面时,用户可以混合使用 PHP 和 HTML 。当客户端浏览到这种页面时,服务器端首先对页面中的 PHP 命令进行处理,然后把处理后的结果连同 HTML 内容一起传送到客户端。 PHP 作为一种源代码开放程序,拥有很好的跨平台兼容性。用户可以在诸如 Windows 系统、 Unix 系统等操作系统上运行 PHP ,而且可以将 PHP 作为 Apache 服务器的内置模块或 CGI 程序运行。

除了能够精确显示 Web 页面的内容,用户还可以使用 PHP 发送 HTTP 报头。用户可以通过 PHP 设置 cookies ,管理用户身份识别,并对用户浏览页面进行重定向。 PHP 还具有非常强大的数据库支持功能,能够访问几乎目前所有较为流行的数据库系统。此外, PHP 还可以与多个第三方系统集成,为用户提供更多的实用功能,如生成 PDF 文件等。

在 Web 页面中,所有 PHP 代码都放置在 “?” 和 “? ”中。此外,用户还可以选择使用 SCRIPT LANGUAGE=php/SCRIPT 的形式。 PHP 引擎会自动识别并处理页面中所有位于 PHP 定界符之间的代码。

PHP 脚本语言的语法结构与 C 语言和 Perl 语言非常相似。用户在使用变量前不需要对变量进行声明。使用 PHP 创建数组的过程也非常简单。 PHP 还具有基本的面向对象组件功能,可以极大的方便用户有效组织和封装自己编写的代码。

PHP 完全免费,可以从 PHP 官方站点 () 自由下载并安装。用户可以不受限制地获得源码,并且可以加入自行开发的功能。中加进你自己需要的特色。

总之, 使用 PHP编程 的最大好处是 编程 语言非常容易,系统功能库非常丰富。用户只需要很少的 编程 知识就能使用 PHP 建立一个真正交互的 Web 站点。 PHP 正迅速变成一种标准的、多用途的、面向对象的脚本语言,成为新一代先进流行的 Web 系统开发技术。

网易有这语言的视频教程,可以去看看!

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。