NYCPHP Meetup

NYPHP.org

[nycphp-talk] So who's using Ajax anway?

Cliff Hirsch cliff at pinestream.com
Thu Nov 9 15:12:15 EST 2006


You can return xml or text, and that text can be an "innerhtml, json, or
anything else you can dream up. For simply stuff I just return plain
text strings, "innerhtml stuff" or even just a few "switches" and text
in the text response for further Javascript processing. AHAH (async HTML
& HTTP) instead of AJAX.

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of David Mintz
Sent: Thursday, November 09, 2006 2:56 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] So who's using Ajax anway?



For you guys, does the X in AJAX really stand for XML? Or are you
sending
back finished HTML?

When it's finished HTML, dropping it into your page is utter cake, but
the
front/back presentation/biz logic separation is less clean. When it's
XML, you find yourself doing all that DOM stuff and it gets tedious. Why
go to the trouble of generating XML if you never intend to do anything
but
turn it into HTML anyway?

Unless I'm missing something...

---
David Mintz
http://davidmintz.org/

En Nueva York el tránsito de la belleza a la desolación sucede
siempre expeditivamente, como si el principio universal
de máxima eficiencia hubiera aconsejado la supresión de
gradaciones intermedias.

  -- Antonio Muñoz Molina, Ventanas de Manhattan


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php




More information about the talk mailing list