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

Patricks' Blog:
Writing a Simple AJAX/PHP Shopping Cart
Dec 01, 2005 @ 13:58:17

On our sister site, AjaxDeveloper.org today, there's a new pointer to a blog post from Patrick on the creation of a Simple AJAX/PHP Shopping Cart.

I recently read an article from John Wiseman on creating a MySQL connection with AJAX (article link). Being a newcomer to the AJAX world I’ve found many tutorials and code libraries to be rather bloated and presumptious. John’s article however was right on target and really got me going in the write direction to start thinking about AJAX and how it should work.

Given that article I started tinkering around and wound up creating a simple shopping cart application for a client. Below is a scaled down version of said application that hopefully can help you along in your AJAX travels.

There's plenty of code here to get you started, including the database structure, all availible for download. He doesn't explain much of it, but he does show where the Ajax is used - adding/removing/etc products from the shopping cart...

tagged: ajax shopping cart ajax shopping cart

Link:


Trending Topics: