News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

EasyPHPWebsites.com:
Gluing jQuery and PHP Together with JSON
June 24, 2009 @ 10:28:22

The EasyPHPWebsites site has posted the next tutorial in their series looking at combining PHP and Ajax to make more powerful applications. In this new article they look at the combination of PHP and jQuery as connected by JSON messages.

The ability to create powerful Web interfaces using AJAX is accomplished thanks to the marrying of a server-side language such as PHP and the client-side JavaScript language. But how is data passed between a script executing on the server and another executing within the user's browser, all without going through the usual request-response process which requires the page to reload?

The jQuery/JSON "glue" is one alternative and the option he explores. He briefly introduces JSON and its format before getting into the jQuery use of it or the PHP code behind it. Thankfully, PHP has a handy function to make things easier for the developer - the json_encode and json_decode functions.

0 comments voice your opinion now!
tutorial json jquery


blog comments powered by Disqus

Similar Posts

Przemek Sobstel: Preventing the Dogpile Effect

Bob Majdak's Blog: Compile That PHP-GTK2, and More

Matthew Weier O'Phinney's Blog: Responding to Different Content Types in RESTful ZF Apps

William's Blog: A Popurls Clone with PHP, jQuery, Awesomeness

Vidyut Luther's Blog: Adding Subscribers to Campaign Monitor Lists using PHP5 and SOAP


Community Events





Don't see your event here?
Let us know!


code podcast interview zendserver conference threedevsandamaybe community deployment bugfix language tips laravel release symfony framework introduction api voicesoftheelephpant series list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework