Are there any books that can teach a good/useful PHP framework to build an ecommerce site? Please recommend.


PHP 5 e-commerce Development starts by creating a simple MVC-style framework, then continues to teach you how to build an e-commerce system with PHP.

Effortless E-Commerce with PHP and MySQL teaches custom e-commerce development with PHP.

WordPress 2.9 E-Commerce shows how to use PHP, WordPress, and the WP-Commerce plugin to build an e-commerce site.

Joomla! E-Commerce with VirtueMart builds an e-commerce site using Joomla.

Drupal E-commerce with Ubercart 2.x demonstrates e-commerce site builds using Drupal.

Building PHP Applications with Symfony™, CakePHP, and Zend® Framework gives an overview of working with three popular PHP frameworks, with concepts that could be applied to developing a shop.

  • Since there are so many frameworks out there, which would you use to create a simple ecommerce site (complete with checkouts, users, etc)? Or would you just create it from scratch? – cfarm54 Jun 9 '11 at 17:25
  • I've built online shops with WordPress, CodeIgniter, and custom PHP, and find doing it from scratch easiest. You code only what you need, have a better understanding of what every line does, and need not worry about the initial learning curve or inevitable code refactoring when YourFramework 3.0 comes out. – Nick Jun 9 '11 at 17:35
  • Thanks, is there a place that I can learn to do this with custom PHP? – cfarm54 Jun 9 '11 at 20:51

The Zend framework can help you with your project. A good book is "Zend Framework in Action". Get it here.

  • That's not a book. It's software. – John Conde Jun 8 '11 at 22:00
  • I also don't think it's a Framework, but since I'm new to php I could be wrong... – cfarm54 Jun 8 '11 at 22:26
  • Changed my answer to be more in line with the question asked. – Chris Ting Jun 8 '11 at 22:43

Any particular reason why you're looking for a framework to aid you with this task?

I'd say with the complexity of e-commerce applications (Yes, you can make a 'simple' one, but it's still going to be pretty complicated by the time you're done with frontend/backend, order management, payment gateways, etc etc) that you might want to consider possibly writing your own framework so you fully understand what your code is doing - this way you can also ensure what you're doing is 'secure' - which is pretty key when it comes to money changing hands.

Granted, Magento uses the Zend framework, but it's all heavily customized etc to be their own.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.