Re: What sripts,helpers to use for AJAX

From: Date: Thu, 08 Mar 2007 17:35:12 +0000
Subject: Re: What sripts,helpers to use for AJAX
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-250095@lists.php.net to get a copy of this message
'Better' is a little subjective and prone to generate a flame war, but I'll risk my opinion. You might want to check Yahoo User Interface (YUI). The Connection Manager at http://developer.yahoo.com/yui/connection/ provides reliable cross-browser JavaScript code for the client side. You might want to check the YUI for other goodies as well. It only deals with client-side Javascript which lets you handle the sever side pretty much whichever way you want it so you are not forced to buy into a whole framework, client and server side, when you don't really need that much. Unless you have good reasons to serve data in XML format, to keep life simple, I would also sugest you use JSON, which is easy to generate (recent PHP versions have json_encode() and json_decode()) and is native JavaScript. On the client (JavaScript) side, I would recomend this functions: http://blog.davglass.com/files/yui/docs/YAHOO.Tools.html instead of those at http://www.json.org/js.html, though the later site is good in terms of explaining and it has a comparison of different JSON functions for PHP, in case your version does not support it. Satyam ----- Original Message ----- From: "Otto Wyss" <otto.wyss@orpatec.ch> To: <php-general@lists.php.net> Sent: Thursday, March 08, 2007 6:11 PM Subject: [PHP] What sripts,helpers to use for AJAX
I want to add some AJAX communication to my pages and would like to know, what scripts, helpers you would recommend. I don't want to use a full featured framework, just something to do the AJAX work. So far I've come across the following solutions http://prajax.sourceforge.net/ http://sanjer.berlios.de/ yet they both doesn't seem very much used. Does anybody know these or knows better alternatives? O. Wyss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.7/713 - Release Date: 07/03/2007 9:24


« previous php.general (#250095) next »