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

Wan Qi Chen: Background jobs with php and resque (Series)

Eran Galperin's Blog: Multiple row operations in MySQL / PHP

WeberDev.com: User Authentication with patUser (Part 3)

PHPBuilder.com: Remote objects and Zend_Amf

Samuel Stenton: Install Node.Js and Ghost on a Laravel Forge Server


Community Events





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


tool podcast list community library language security version opinion symfony conference composer laravel artisanfiles introduction interview voicesoftheelephpant series release framework

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