ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 初学PHP

初学PHP

原创 Linux操作系统 作者:sherrylso 时间:2009-04-25 22:12:51 0 删除 编辑

以前一直知道PHP这个东西,不过一直没有理解用来干什么的。今天只是发现OpenSocail的shindig有两种版本的实现JAVA版与PHP。加上前段时间发现我们的LotusLive的实现也用到了PHP,所以从slideshare上查了篇介绍,看了一下。首先最大的理解来自于PHP用于放在WEB SERVER后面的用来动态产生静态页面的服务器端编程语言, 一下是我摘抄出来的一些有用的片段:

Why use PHP?

1)PHP is a server-side interpreter which is Open Source and free;
2)So is a growing number of PHP web applications;
3)PHP provides familiar syntax to C, Perl and Java developers;
4)PHP has fast connections to popular databases;
5)PHP has fast native connections to the Open Source MySQL database;            6)PHP runs reliably on Windows, Linux and Mac servers and clients;
7)PHP web pages run reliably on all the popular browsers;
8)PHP's associative arrays are very useful for UI and database apps;
9)PHP's object oriented classes are easy to understand;
10)PHP has been very promiscuous-linking to PDF, SWF, XML, Java, etc, etc.

HTML/JS  VS PHP

1) JavaScript. = ClientSide; PHP = ServerSide
2) With php you can have the remote time, with js you can have user time...
3) with php the source is not lookable in the source code with js the source can be see in the source code of the page.
4) Javascript. NOT EQUAL TO PHP

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17131144/viewspace-591816/,如需转载,请注明出处,否则将追究法律责任。

下一篇: H2 Java Database
请登录后发表评论 登录
全部评论

注册时间:2009-01-13

  • 博文量
    16
  • 访问量
    32375