|
Posted by Andy Dingley on 03/12/07 10:26
On 10 Mar, 09:17, "bkard...@gmail.com" <bkard...@gmail.com> wrote:
> DUML (Document Update Markup Language) is a new, simple decalrative
> approach to AJAX which allows the server to send markup back to the
> client and have it interpreted in order to update the DOM tree.
I really hate this. It couples content (server-AJAX client
communications) with presentation (HTML DOM) in a horrible manner. If
you work with AJAX today then you soon recognise the existence of good
AJAX patterns (client-side application of appropriate presentation to
a pure-content AJAX document) and bad AJAX patterns ('90s-style HTML
supplied in dribbles). This DUML is clearly in the later group.
As a server application, I don't _want_ to know anything about any
sort of client-side feature like a DOM. I'm looking at SOA here,
where the _client_ has control over the server and the transactions.
The server's task is just to respond with what it's asked for, as a
suitably entitled client demands it. It's not the server's task to
assemble "an application" out of all these fragments. This gives a
very clean and simple server implementation and it also allows a lot
of client-side flexibility as to how sophisticated the app wishes to
be (often tailored according to local interface abilities).
This is the sort of ugly server-push technology (anyone remember
Marimba?) that belongs back in the late-90s and before AJAX.
Navigation:
[Reply to this message]
|