Category Archives: Projects


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 ]


January 29, 2015 11:30 am

Building A URL Shortener Website using Laravel 4 – Part 2


Building A URL Shortener Website using Laravel 4 - Part 2
This tutorial in continuation to the previous tutorial Building A URL Shortener Website using Laravel 4 - Part 1 where we saw how to start a web application using Laravel, database design, migrations, creating a view for user inputs and model to use Eloquent ORM feature of Laravel. In this tutorial we will see how we can validate the input submitted by the user, saving the data to the database, giving feedback to the user after submission and getting URL from database using shortened url.

[ Read More ]


January 28, 2015 11:07 am

Building A URL Shortener Website using Laravel 4 – Part 1


Building A URL Shortener Website using Laravel 4 - Part 1
Todays we are going to start a series of tutorials about building a URL shortener website using Laravel 4 framework. I hope this tutorial helps to understand laravel features through practical example. We will see how to build a URL Shortener website with Laravel 4 framework. This whole tutorial is going to be divided into sub topics.

[ Read More ]