Category Archives: CakePHP


February 16, 2015 6:45 pm

Marketplace with CakePHP 2 & Foundation Demo & Download


Marketplace with CakePHP 2 & Foundation Demo & Download
Recently we have published a series of 6 articles on How to build a Marketplace with CakePHP 2 & Foundation with code snippets and explanation. As you know we always gave you a demo of each application and a free source code to download of that demo. So we have completed demo and download code pages please have a look below to get demo and download code.

[ Read More ]


February 12, 2015 9:06 pm

How to Build a Marketplace with CakePHP 2 & Foundation 6/6


How to Build a Marketplace with CakePHP 2 & Foundation 6/6
This is the last part of turned from knowing nothing about CakePHP to being able to make your own CakePHP applications. In this part we will cover the last thing left in our OffersController is the buy() method and after that you will get demo and download source code links using them you can easily run an ecommerce site.

[ Read More ]


February 12, 2015 9:06 pm

How to Build a Marketplace with CakePHP 2 & Foundation 5/6


How to Build a Marketplace with CakePHP 2 & Foundation 5/6
In the 4th part we have discussed about the OffersController and in this part we will finish OffersController module and move to the last part of this series of a very nice and helpful application so lets start part 5 of this series, you will get all tutorial source and demo after completion of this series.

[ Read More ]


February 12, 2015 8:36 pm

How to Build a Marketplace with CakePHP 2 & Foundation 4/6


How to Build a Marketplace with CakePHP 2 & Foundation 4/6
We are setting CakePHP’s components which we will use (Session, Auth) and specifying that when a user logs in he has to be redirected to the index() method of the OffersController and when he logs out he has to be redirected to the same place. It is also important that we specify the hashing mechanism which we use (simplepasswordhasher with sha256) because if we do not specify it here is what will happen.

[ Read More ]


February 11, 2015 6:28 pm

How to Build a Marketplace with CakePHP 2 & Foundation 3/6


How to Build a Marketplace with CakePHP 2 & Foundation 3/6
Now its time to configure Database, routes and configure and run your homepage so make sure that you have correct database credentials to put in cakePHP and properly imported database.sql file in your database, so lets start with with 3rd part of the series of 6 articles.

[ Read More ]


February 10, 2015 9:36 am

How to Build a Marketplace with CakePHP 2 & Foundation 2/6


How to Build a Marketplace with CakePHP 2 & Foundation 2/6
After we have set up the associations of our models, when we fetch a particular table row from our offers table we would also get that offer’s category and the user that posted that offer (as an example of why we need to set up the associations). We would also be able to access the tables that the model that our current controller is using has associations with from within that controller without any additional settings. Furthermore, we make scaffolding (the automatic CakePHP admin panel) possible with almost no additional coding when we set up our models properly.

[ Read More ]


February 8, 2015 8:43 pm

How to Build a Marketplace with CakePHP 2 & Foundation 1/6


How to Build a Marketplace with CakePHP 2 & Foundation 1/6
Hi guys, in these series we are going to create a simple marketplace with CakePHP and Foundation. When a person enters the site, he can only register/login or browse through the offers (he cannot purchase them). When he registers or/and logins, he can browse offers, buy them and add new ones. If the user is admin, he could modify offers and manage orders and users using CakePHP’s scaffolding.Our aim is to turn you from knowing nothing about CakePHP to being able to create your own MVC applications using CakePHP.Here are some photos of how the end website will look like. Of course, you can enhance it visually, fix design issues, add new features or patch security holes and make it a complete production app.

[ Read More ]