News Feed
Sections




News Archive
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
December 01, 2005 @ 07: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...

0 comments voice your opinion now!
ajax shopping cart ajax shopping cart


blog comments powered by Disqus

Similar Posts

Joshua Eichorn's Blog: You got AJAX questions I got Answers

Zend Developer Zone: AJAX Chat Tutorial Pt 5: Javascript, Sending Chat Messages, Screen Name Changes

Joshua Eichorn's Blog: Adding AJAX to a Website step by step, Part II

Jim Plush\'s Blog: AJAX, PHP and Javascript Errors - How to get more data

php|architect: December 2006 Issue Released


Community Events





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


install tips language interview symfony release update introduction library framework deployment community zendserver opinion podcast series laravel api list package

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