免用XmlHttpRequest的AJAX

| | Comments (0)

Ajax & PHP without using the XmlHttpRequest Object
根据 AJAX 的定义,XmlHttpRequest 在 AJAX 里面扮演前后台沟通很重要的地位。

不过拿掉 XmlHttpRequest 做法更是把 AJAX 又推回更古早以前大家就广泛使用的技术了。
不是说这样有什么不好,而是画面跟程序逻辑没有一个共享的沟通接口,完全看画面有什么就塞什么进去,很容易把网站的逻辑架构给混在一起。
以知名的韩国 Blog 软件 TatterTools 就是使用类似的概念,甚至目前很多 AJAX (使用 XmlHttpRequest ) 的 Framework 或 library 都有画面跟程序逻辑混乱的毛病,与其这样还不如就舍弃 XmlHttpRequest ,改用「Ajax & PHP without using the XmlHttpRequest Object」的方式还比较干净些。

Leave a comment

About this Entry

This page contains a single entry by CcChen published on November 27, 2005 3:06 AM.

何谓避险基金 was the previous entry in this blog.

无缘的POQUE is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Google Ads