Previous parts of this tutorial:
- Creating a Blog Using Laravel 4 Part 1: Models and Seeding
- Creating a Blog Using Laravel 4 Part 2: Controllers
Topics we have covered so far:
- Laravel Setup
- Laravel Migrations
- Model creation using Eloquent ORM
- Database Seeding
Today we will cover the routing for our blog application. So, let’s get started.
Routing in Laravel
Routing plays an essential role in the core workings of any MVC framework. It specifies a mapping between requests and response generators i.e, controller actions. In other words, routing defines the entry points of a web application. A flexible routing provides a greater control over the flow of a web application.
Laravel has a very powerful routing component built right on the top of Symfony’s routing component, and provides you with a very easy to use interface and a rich set of functionalities. Continue reading Creating a Blog Using Laravel 4 Part 3: Routing