2017

Set up the Development Environment for AngulaJS

First, we must set up a development environment before doing anything in AngulaJS. Install Node.js® and npm if not already on your machine. After installing nodeJS run the following command or go to https://cli.angular.io/ for more details npm install -g @angular/cli ng new my-app cd my-app ng serve You will see a successfully compiled message and open …

Set up the Development Environment for AngulaJS Read More »

How to learn Angular?

Angular is JavaScript framework which allow us to create dynamic single page application. In this series of blog post i will try to make clear the basic functionality of AngulaJS. Through out the series i will try explain and cover the following features of Angular: Development Environment Basics Component & Databinding Directives Routing Services & …

How to learn Angular? Read More »

How to run artisan command in shared hosting from route or controller

Laravel is the most modern and popular framework in PHP. One of the most powerful tools in Laravel is artisan command. Most of the time we host our site in shared server and most of the shared server does not support or provide command line interface. So what to do if we need to run artisan command. Here is how we can do it easily in Laravel from route. We will use the call method on the Artisan facade to run command.

Laravel 5.2: How to enable multi session per user in Sentry 2

If you are using Sentry 2 with your favourite Laravel framework then might have a single session per user which is security features. But you may need multi sessions per user. Say you have one account to allow to moderate content in your website from admin panel. And you don’t want to create multiple user …

Laravel 5.2: How to enable multi session per user in Sentry 2 Read More »