News Feed
Sections




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

NETTUTS.com:
Asynchronous Comments with PHP, jQuery, and JSON
February 23, 2009 @ 12:52:35

The NETTUS.com site has a new tutorial posted today looking at the combination of PHP, jQuery and the JSON format for messages to create a "more web 2.0" version of the traditional comment form.

In this article, we're going to look at how we create a simple but effective means of capturing and displaying visitor comments using a blend of jQuery, PHP and JSON. In the public forum that is the blogosphere, the ability to capture and display visitor comments on your blogs can give you instant feedback and opinions from the people that matter most '" those that read your blog.

Their script (check out the demo here) acts as an interface between a MySQL database and the HTML front end. Both the display and submission of the comments are handled by Javascript with the submission being handled by the ajax method in jQuery.

You can also download the source here.

3 comments voice your opinion now!
tutorial jquery mysql asynchronous comments json database


blog comments powered by Disqus

Similar Posts

PHP in Action: Real programming with PHP 5.3 (part 1): array processing

Derick Rethans' Blog: Distributions: Please Don't Cripple PHP or Red Hat: Stop Fucking Around

Artur Ejsmont's Blog: How to build mongodb pecl extension in 32bit for PHP 5.2 on OSX Snow Leaopard

The Bakery: CakePHP's routing explained

Ralph Schindler's Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard


Community Events





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


application install bugfix wordpress release language api series library community introduction unittest configure code list podcast developer laravel interview threedevsandamaybe

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