Apr 30, 2015

Simple Sidebar navigation example using angular

Creating Sidebar navigation with hide and reveal functionality using angular

We will use directive and controller together in AngularJS to create sidebar navigation while keeping seperation of concern.

Apr 29, 2015

Has Many Relationship( One to many )

One to many relationship is is most commonly used relationship, Where in this example I will show you a book has only one author, But author can have many books.

Apr 27, 2015

One to one relationship in laravel

One to one relationship of two objects in which one can only belongs to the other. Using of belongsTo() method.

Apr 24, 2015

Using Interfaces in Laravel

Interface is a contract or boundary where two independent systems are meet or bind to communicate with each other.

Apr 22, 2015

Dependency Injection Laravel 5

Dependency solutions through service container simplifies the dependency injection logic for your controller by configuring the container. This really becomes crystallise if one class depends on a service, that service depends on other services and those services could also depend on more services, the container will manage that dependency results.

Apr 19, 2015

Route Caching in Laravel 5

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

Apr 18, 2015

Using Cookies in AngularJS

Utilizing cookies to store data to persist states

AngularJS provides ngCookies Module for cookie manipulation, we are going to create navigation bar with options to select theme, using cookieStore function we will store theme and load theme when browser reloads.

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.

Apr 17, 2015

Flash messaging in laravel

Session provides a way to transfer information about the user across requests.

Flash messages is information response for intended actions of the user.

Apr 14, 2015

Working with .env(Environment) file in laravel 5

Setting environment configuration in laravel

Set ENV variables in Laravel 5. You can find this file as name of .env.example into the root folder of your application and can be rename file to .env and put it into local or production.