News Feed
Sections




News Archive
feed this:

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

NETTUTS.com:
How to Build a Shopping Cart using CodeIgniter and jQuery
December 15, 2009 @ 10:10:20

Over on NETTUTS.com today there's a new tutorial about combining the CodeIgniter framework with the jQuery javascript library to make a simple, dynamic shopping cart application.

CodeIgniter is an open source PHP web application framework with a lot of features. Recently, thanks to the latest update, a new feature was added to this framework, called the Cart Class. In this tutorial, we're going to take advantage of this new class, and write a shopping cart system, with a touch of jQuery added in.

You'll probably want to be a bit familiar with CodeIgniter and how it works before getting started, but it wouldn't take much. Configuration file changes and code snippets for the model, view and controller of the cart are all provided. You can also download the source if you want to get started right away.

0 comments voice your opinion now!
shopping cart tutorial codeigniter jquery


Stefan Mischook's Blog:
PHP Shopping Cart Video Tutorial Course - available for download.
September 22, 2008 @ 16:21:22

Stefan Mischook has made his entire video series detailing the creation of a simple shopping cart in PHP available for download:

After teasing you guys for a week or so, I've released the entire video tutorial course on building a PHP based shopping cart. There is a small charge ($19.99) to download the entire course, but it is more than worth it since you get 140 minutes of top notch nerd training...and we include the source code too.

The course walks you through the creation of the cart - what technology you'll need, building the simple catalog page, making the "add to cart" page, as well as the cart itself (including calculating the costs and shipping costs). It also includes an integration method for hooking into PayPal's IPN setup to change the customer for the goods.

1 comment voice your opinion now!
video tutorial shopping cart paypal download buy


Stefan Mischook's Blog:
PHP Shopping Cart Tutorial
September 10, 2008 @ 08:49:35

New on the KillerPHP blog today is a video tutorial by Stefan Mischook that introduces some of the key concepts and code required to make a simple cart.

I just released a new PHP shopping cart video tutorial for beginners. In this series of videos, you learn how to build a PHP based shopping cart that works with Paypal.

The result is an object-oriented cart script that can interface with PayPal via XML messages. You can find other great video tutorials in the PHP videos section of the site.

0 comments voice your opinion now!
video tutorial shopping cart paypal oop xml


PHPBuilder.com:
Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2
May 05, 2008 @ 07:58:21

PHPBuilder.com has continued their series looking at building an Ajax-driven shopping cart with part two posted today (part one here). Last time they laid the PHP foundation for the example app, this time they add another layer - the Ajax functionality to manage the current contents of the cart.

Finally, a link to the shopping cart is provided, although you could just as easily have displayed the cart contents on the same page. For the sake of brevity I'll just show you how to integrate the add feature, and will leave the subtraction mechanism to you as an exercise.

The Ajax frontend calls a managecart.php backend file that calls addToCart and deleteFromCart based on which type of "task" is passed to it.

1 comment voice your opinion now!
shopping cart prototype tutorial ajax backend javascript


Lukas Smith's Blog:
Oracle goes shopping. Do we have an answer?
February 16, 2006 @ 06:51:02

Lukas Smith has a new post over on his blog with his take on the moves that Oracle has been taking with several Open Source companies out there (such as Sleepycat).

The topic at hand is Oracle buying one dual license open source company after another. This is getting a lot of people worried. Of course it also got me thinking.

Dual licensing is a business model associated with companies distributing their code under two very different licenses. However the same code is also provided through some open source license, usually one of the so called reciprocal licenses (GPL and friends).

That system is pretty nice on many levels. Everybody gets the code with the license they prefer. The dual licensing company benefits through a cheap open source style distribution model. However they can still make money with selling licenses which is a very lucrative business model, while they can also make money through support.

He continues, mentioning some of the serious flaws with this dual license model, including the inability for a company, at any time, to move to a more closed-source method of development. He even mentions a situation where a project could loose all developers.

And, in his words: So are we up for the challenge if we are faced with such an exodus?

0 comments voice your opinion now!
oracle shopping open source dual licensing exodus developers oracle shopping open source dual licensing exodus developers


CyberDummy's Blog:
Drag Drop Shopping Cart - PHP
December 29, 2005 @ 06:30:44

On CyberDummy's blog today, there's a quick post that points to a handy script over on the script.aculo.us library - a drag-and-drop shopping cart.

Just discovered the the excellent script.aculo.us drag and drop shopping cart. It is implemented with the script.aculo.us javascript library and ruby on rails. It is a perfect fit for a project I am working on but I needed a PHP version here is the rough first draft with source code.

I can definitely see something like this being the next step in ecommerce sites. No more hitting "Add to Cart" and waiting for the page to refresh, view the cart, then hit "Continue Shopping". Simply drag it in and it pops right up...

0 comments voice your opinion now!
drag-and-drop shopping cart script.aculo.us drag-and-drop shopping cart script.aculo.us


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



Community Events





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


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

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