PHP 101 An Introduction to PHP 5
Rob Richards
http://xri.net/=rob.richards www.cdatazone.org
What Is PHP
Loosely typed
Variables can be of any type Variables set by context Functions can return different types
Dynamic Language
Dynamic typing Run time code modification Interpretation vs compilation
C# .NET Example
XmlDocument doc = new XmlDocument(); XmlElement root = doc.CreateElement("root"); doc.AppendChild(root); XmlElement child = doc.CreateElement("child"); root.AppendChild(child); XmlText textnode = doc.CreateTextNode("childcontent"); child.AppendChild(textnode); Console.Write(doc.OuterXml);
PHP Example
$doc = new DOMDocument(); $root = $doc->CreateElement("root"); $doc->AppendChild($root); $child = $doc->CreateElement("child"); $root->AppendChild($child); $root = $doc->CreateTextNode("childcontent"); $child->AppendChild($root); echo $doc->saveXML();
What Is PHP
Cross Platform Supports numerous types of Web servers Typically run on Web server Also used for command line scripting (CLI) Supports development of cross platform GUI applications (PHP-GTK)
History of PHP
1994 Personal Home Page Created by Rasmus Lerdorf Track Online Resume
History of PHP
1995 PHP/FI version 2 Personal Home Page / Forms Interpreter Growing needs of web pages mSQL support Open Source
History of PHP
1997 PHP 3 PHP: Hypertext Preprocessor Parser re-written by Andi Gutmans and Zeev Suraski needed more for an e-commerce application language was extendable
History of PHP
1999/2000 PHP 4 Core re-write Powered by Zend Engine 1.0 Handle more complex applications Improve modularity of PHP core Support for numerous databases and web servers
History of PHP
2004 PHP 5 Zend Engine 2 New Object Model Better XML and Web service support Better database support Other miscellaneous changes
The Future of PHP
PHP 5.3 (Early 2008)
Namespaces
- javascriptforeach > http://xrinet/robrichards
-
http://xrinet/robrichards
下载该文档 文档格式:PDF 更新时间:2007-11-07 下载次数:0 点击次数:1文档基本属性 文档语言: 文档格式: pdf 文档作者: MC SYSTEM 关键词: 主题: 备注: 点击这里显示更多文档属性 经理: 单位: MC SYSTEM 分类: 创建时间: 上次保存者: tiger 修订次数: 152 编辑时间: 文档创建者: 修订: 加密标识: 幻灯片: 29 段落数: 142 字节数: 875098 备注: 0 演示格式: 在屏幕上显示 上次保存时间:
- 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
- PDF格式下载
- 更多文档...
-
上一篇:extgrid导出excel:ExtAspNet应用窍门技巧
下一篇:前端技术(JavaScript
点击查看更多关于javascriptforeach的相关文档
- 您可能感兴趣的
- foreach phpforeach javaforeach jsforeach smartyforeach mybatisforeach perlforeach jqueryforeach boostforeach jstlforeach
- 大家在找
-
- · 爱情真善美电视剧下载
- · 聚苯胺的制备
- · 驾驶教练员模拟考试
- · 数控车铣床厂家
- · 合工大考研
- · 北京挖掘机司机招聘
- · 7k7k死神vs火影1.1
- · 海南直播海经贸杀人
- · 竞聘ppt模板
- · anyviewv4.0.11
- · 宜宾珙县巡场2手房价
- · lol英文语音包.rar
- · yy语音3.9最新版下载
- · 一级建造师周苏
- · 焦炉炉温管理论文
- · 钢结构厂房造价样本
- · 武汉团购美利达自行车
- · iebho的浏览器源码
- · 传染病学ppt
- · 台式钻床z4125
- · 戴维南定理实验报告
- · 药理学精品课件
- · 电子元件与材料
- · 变频调速供水设备
- · 王家坝精神
- · 汽车cd音乐下载
- · 冷读术完整版txt下载
- · 重庆二级vf上机题库
- · 字模提取5x7
- · 深圳石岩led招聘焊线
- 赞助商链接