日历
标签
分类
存档
最新评论
Twitter
  • 我胡汉三又回来了!
    2008-12-11 22:51
  • 面向大海,面向未来,面向对象.
    2008-11-07 11:37
  • php貌似比英语还难学!
    2008-09-30 18:59
  • 生活因翻译而多彩,翻译因我而流畅!
    2008-09-07 15:14
  • 较早的»
最新日志
链接
搜索
博客信息
  • 日志数量:21
  • 评论数量:5
  • 引用数量:0
  • 今日访问:69
  • 总访问量:19335
订阅Rss

2008-9-17 10:54 Wednesday

    鉴于这个博客程序的文本存储很差,我自行更改了数据库中文本存储的类型,改为了超长文本类型,应该可以存下很大的文章了吧.我接下来要翻译的这篇文章貌似有点儿太长了,光英文就有4页多,翻成汉语估计我就要疯掉了.
 
原文:
 
An Introduction to AJAX
In the first part of this series, we took a look at how PHP 5 can be used to manipulate and parse XML files. In this installment, we are going to focus on Ajax, one of the most useful and topical applications of XML.
Initially, we are going to introduce Ajax and learn how to use the XMLHTTP object provided by most modern web browsers to create a live email validation form. Then we will pick up where we left off with the theme of XML and introduce XSLT, which we will use to transform our library XML from the previous article into valid XHTML code.
What is AJAX?
There exists today a huge number of web applications that do everything from manage your photos, to mission-critical distributed systems. The majority of these applications exist in three parts.
  • 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.

标签: 编程 英语 php AJAX Javascript XML XSLT html xhtml