Showing Articles for Laravel Routing

Nov 30, -0001

Routing in Laravel 5

Working with laravel routes

Routes in Laravel provides an easy way to create dynamic URL, Lets see how simple it is to work with Routes.

Nov 30, -0001

Named Routes

How to use named routing in application

In a large scale application, where too many routes are defined it becomes nightmare to maintain them, but here is the solution.

Nov 30, -0001

Route Model Binding in Lravel 5

Keep your Controllers clean and simple

Route model binding is easy way to inject Model instance for associated data such as id, slugs, etc, in your controllers, We will discuss about model and bind methods of Router class and how to use it.

Apr 19, 2015

Route Caching in Laravel 5

Route Caching will encode and serializes the results of the application routes.php file.

Apr 12, 2015

Create Middleware in Laravel 5

How to create a new middleware

Laravel 5 included a new feature middleware, Which does not let entering within app until user passed several conditions. creating a middleware which allow users to download files.

Nov 30, -0001

Using Forms in Laravel 5 Blade Templating Engine

Getting Form Facade to work with Laravel 5

Form Facades has beem removed from laravel 5 as core feature of laravel, but we can still get it as separate package using composer.

May 3, 2015

Blade templating engine in laravel 5

Writing html code with standard php where you write too many php and html tags. This type of code may be complicated, messy and less readable. That's why lot of developers using blade templates in laravel.

May 4, 2015

Blade master pages

There are some parts of a web page content that don’t really change across each pages. But blade is capable of to contain those contents in one place and call them every time.

Nov 30, -0001

Eloquent ORM Basic Usage

Easy and Simple Eloquent.

Eloquent ORM(Object Relational Mapper) has wonderful mechanism for querying from the database, Every database table has a mapping model or each Eloquent model represents a single database table.

Apr 17, 2015

Form Model Binding

Clean and Simple way to display old input value in forms.

With the model binding, We can instantly get form fields with the values from the associated table row.