2008-9-17 10:54 Wednesday
The back end section is usually where the data pertinent to the application is stored. The back end may include logic which deals with the update and retrieval of this data in the form of server side code, SQL and stored procedures.
The middle ware section is where all the magic happens, typically transforming, manipulating, retrieving, verifying an validating the data before sending it on to the front end.
The front end section is what the user interacts with; it often contains very little logic and simply acts as an engine which initiates the communication with the middle end. Although the front end does not do much in terms of the application logic, it is probably the single most important part of the application. A poorly designed and awkward-to-use front end makes all the magic of the middle ware redundant.
2008-9-7 15:09 Sunday
这些只是Xpath的冰山一角.你可以用Xpath创建超级复杂的查询在你的文档中去寻找任何一种信息.我再次修改一下实例代码,你可以看看Xpath有多么的优雅.
PHP:<?php $xml = simplexml_load_file('xml/library.xml'); ?> <html>
标签: 英语 array php 数组 AJAX Javascript XML DOM Xpath simple XML
2008-9-7 15:06 Sunday
文章太长了,我不得不把文章截了又截,汗一个.这个程序的文本处理能力实在是太差了.
xml->save('xml/library.xml');
// save the whole file
$categories = $xml->saveXML($XMLCategories);
// return a string containing just the categories
以下是用Javascript写成的代码,它展示了在DOM程式化代码中为另一种语言创建端口是多么的容易:
标签: 英语 array php 数组 AJAX Javascript XML DOM Xpath simple XML
2008-9-7 14:58 Sunday
这个系列文章的焦点将会放在XML上,涉及XML在现今的WEB开发中的应用以及PHP是如何填补XML应用的空白.在本文中,我们具体了解一下PHP提供给我们的工具,它们可以帮助我们操纵XML源数据.
什么是XML及为什么要使用它?
XML(可扩展标记语言)是遵循W3C标准设计的,用以实现在WEB应用服务中便捷的数据交换,存储和使用.
标签: 英语 array php 数组 AJAX Javascript XML DOM Xpath simple XML
2008-9-7 14:35 Sunday
我简直要崩溃了,挑了个超难的题目来翻译,本来头就已经很大的说,结果翻译了一半自动保存就出了个大问题,导致已经翻译的文章都丢失了,难怪我的翻译老师说翻译不是人干的活.
废话不说了,只好从头开始翻译了,简要介绍一下我所要翻译的这个系列文章.文章涉及的是使用PHP操作XML的方面,其中有一些算是入门的内容,但是肯定也有一些会谈及高级编程,不管怎么说这篇文章貌似全中国还没有人翻译过,拿它来开刀实在是适合我这样不知道天高地厚的小子.
原文:
标签: 编程 英语 php AJAX Javascript XML DOM Xpath simple XML
2008-9-4 13:27 Thursday