Creating a Polling Application Using AngularJS and Laravel Part 2

Creating a Polling Application Using AngularJS and Laravel Part 2
Creating a Polling Application Using AngularJS and Laravel Part 2

In the previous part of Creating a Polling Application using AngularJS and Laravel tutorial, we had covered:

  • Application Directory Structure.
  • Modules and Dependency Injection.
  • Routing in AngularJS.
  • Views.

Continue reading Creating a Polling Application Using AngularJS and Laravel Part 2

Creating a Polling Application Using AngularJS and Laravel Part 1

Creating a Polling Application Using AngularJS and Laravel Part 1
Polling Application Screenshots

In this tutorial, we will build a single page polling web application using AngularJS and Laravel. Our application will allow the users to select one of the listed polls and submit their choice. The users will also be able to view the stats of the polls in a graphical form.

We will build the application’s front end using AngularJS, and for the data persistence, we will utilize a RESTful API which we will create using Laravel. The tutorial assumes that you have a basic understanding of AngularJS workings and familiar with concepts like: two-way data binding, scopes, directives etc. Continue reading Creating a Polling Application Using AngularJS and Laravel Part 1

Web Development Environments Using Vagrant on Ubuntu Linux

Setting up Web Development Environments can be an exasperating task. Especially, when you need to work on multiple projects with different dependencies, configurations, library requirements, programming language versions and operating systems. If you have been developing web applications for sometime, then you definitely know the drill.

Vagrant is a tool that helps you in creating and setting up Development Environments quickly in an automated fashion by using virtualization softwares such as VirtualBox and VMware. These environments are then, can be reproduced and redistributed using a single configuration file. To automate the process, Vagrant uses certain provisioning tools like: shell scripts, Chef and Puppet. Continue reading Web Development Environments Using Vagrant on Ubuntu Linux

Creating a Blog Using Laravel 4 Part 2: Controllers

Creating a Blog Using Laravel 4 Part 2
Laravel 4 Blog Tutorial – dashboard Screenshot

In the first part of Creating Blog Using Laravel 4 we had covered: Laravel setup, Laravel Migrations, model creation using Eloquent ORM and Database Seeding. In this part of the tutorial we will cover the controllers for our blog application.

Creating Controllers

In Laravel we create controllers by extending BaseController class present inside app/controllers directory. All of our controller classes reside inside app/controllers directory.

Note:
Laravel does not have any restrictions on the directory structure of the application, we can rearrange the application’s directory structure according to our needs and adjust the composer settings accordingly.

Continue reading Creating a Blog Using Laravel 4 Part 2: Controllers

Database Migrations In Laravel 4

Laravel 4 developed by Taylor Otwell, is indeed a great php framework out there. It is suitable for both small and large scale applications, and has a very active community of really helpful people. I started using laravel more or less four months ago, and I have not searched google for “the best php framework” since then. With its powerful components like: a powerful and flexible routing system, an expressive query builder Fluent, Eloquent ORM, a descent authentication component, an intelligent IoC Container, Blade template engine and Artisan CLI tool, it just rocks (pardon me if I am missing something here).

Database Migrations In Laravel

Database migrations in Laravel provide you with an easy way of managing your application’s database schema. When using migrations, a lot of tasks related to database schema become a lot easier; by using migrations you can change the structure of database tables on the fly Continue reading Database Migrations In Laravel 4