On Tue, Apr 1, 2008 at 10:37 AM, tedd <[EMAIL PROTECTED]> wrote:

> Ajax can be very simple.
>
>
No doubt but that PHP can be a prolific author of Javascript without things
becoming overly complicated. Lately I have been using a home-grown
PHP/Javscript helper for Ajax contexts. It emits a content-type:
application/javascript header upon instantiation and has some convenience
methods that echo javascript snippets for the browser to execute.  I can say
$js->message('Foo!") and the element whose id is 'message' is updated to say
Foo!

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

The subtle source is clear and bright
The tributary streams flow through the darkness
_______________________________________________
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

Reply via email to