<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 04 Dec 2008 14:59:30 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype]]></title>
      <guid>http://www.phpdeveloper.org/news/10060</guid>
      <link>http://www.phpdeveloper.org/news/10060</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's <a href="http://www.phpbuilder.com/columns/jason_gilmore20080425.php3">a new tutorial</a> posted showing how to combine the Javascript power of Prototype along side PHP's adaptability to create a simple, ajax-driven shopping cart for your site.
</p>
<blockquote>
In the latest installment of this ongoing PHP series, I'll show you how to build a shopping cart using PHP, session handling, and the Prototype JavaScript library. The cart allows users to add and delete products from the cart, as well as change cart quantities. And of course, the interaction is seemingly instantaneous, allowing for the user to continue shopping without waiting for the page to reload.
</blockquote>
<p>
They start from the ground up - making the database tables, inserting some data - before writing up the simple PHP class with methods like deleteFromCart and getCart. This lays the foundation for the next article in the series where they add in a splash of ajax to make it a bit more user-friendly.
</p>]]></description>
      <pubDate>Tue, 29 Apr 2008 08:48:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DeveloperTutorials.com: PHP and MySql with PayPal]]></title>
      <guid>http://www.phpdeveloper.org/news/9059</guid>
      <link>http://www.phpdeveloper.org/news/9059</link>
      <description><![CDATA[<p>
DeveloperTutorials.com has a <a href="http://www.developertutorials.com/tutorials/php/php-and-mysql-with-paypal-7-11-14/page1.html">new tutorial posted</a> today about making the connection between a PHP/MySQL application and PayPal through the GoLive interface (don't worry - the source code's there too).
</p>
<blockquote>
This tutorial is meant to show how GoLive users can integrate their PHP/MySql dynamic data with PayPal to create a simple online store with some advanced pricing features. This tutorial assumes that you are already familiar with using dynamic content in GoLive and aren't too terrified of working with source code.
</blockquote>
<p>
They start with the SQL to hold the item information (including price) and show briefly how to set it up with the Inspector helper in GoLive. They show how to grab the HTML off of the PaylPal site to link to the object and how to make this add it to the shopping cart on the PayPal website. To finish it off and make it look a little nicer, they also show how to add images to the layout for each of the items.
</p>]]></description>
      <pubDate>Fri, 16 Nov 2007 08:48:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Willbanks' Blog: E-Commerce Frameworks?]]></title>
      <guid>http://www.phpdeveloper.org/news/8352</guid>
      <link>http://www.phpdeveloper.org/news/8352</link>
      <description><![CDATA[<p>
While frameworks seem to be popping out of the woodwork, <i>Mike Willbanks</i> has <a href="http://blog.digitalstruct.com/2007/07/28/e-commerce-frameworks/">noticed something lacking</a> - a good e-commerce framework that helps the developer do simple things like work with shopping carts or connect with payment APIs.
</p>
<blockquote>
So here is my question, besides the really shitty shopping cart objects out there is there any true components for a framework that utilizes this functionality? I say shitty shopping cart objects because just about every single open source PHP shopping cart has some of the worst design aspects I have ever seen.
</blockquote>
<p>
<a href="http://blog.digitalstruct.com/2007/07/28/e-commerce-frameworks/">His complaint</a> is that most of the shopping cart software out there is really just procedural (or bad) code shoved into classes and called good. He suggests a more patterned approach - maybe using a Factory on top of a base abstract model.
</p>]]></description>
      <pubDate>Mon, 30 Jul 2007 14:12:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype]]></title>
      <guid>http://www.phpdeveloper.org/news/7167</guid>
      <link>http://www.phpdeveloper.org/news/7167</link>
      <description><![CDATA[<p>
On Developer.com, <i>Jason Gilmore</i> has posted <a href="http://www.developer.com/lang/jscript/article.php/3656001">This new tutorial</a> that steps you through the creation of an ajax-enabled shopping cart that combines PHP and Prototype.
</p>
<blockquote>
In the latest installment of this ongoing PHP series, I'll show you how to build a shopping cart using PHP, session handling, and the Prototype JavaScript library (<a href="http://www.developer.com/open/article.php/3648396">introduced in an earlier installment</a>). The cart allows users to add and delete products from the cart, as well as change cart quantities. And of course, the interaction is seemingly instantaneous, allowing for the user to continue shopping without waiting for the page to reload.
</blockquote>
<p>
He <a href="http://www.developer.com/lang/jscript/article.php/3656001">creates the database table</a> first (bottom up approach), then moves to the PHP code to handle the request/responses for the shopping cart, and with a little bit of session magic to connect the cart to the user and the Prototype tossed in, the cart is complete.
</p>]]></description>
      <pubDate>Fri, 26 Jan 2007 07:46:00 -0600</pubDate>
    </item>
  </channel>
</rss>
