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.
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. Read more…
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.
In Laravel we create controllers by extending
BaseController class present inside app/controllers directory. All of our controller classes reside inside app/controllers directory.
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.
In this article we will create a simple blog using Laravel 4. Our blog application will have the following features:
ZURB’s Foundation is a light weight framework for designing responsive web applications, it comes packed with: CSS3 media queries, The Grid, reusable HTML5 components and several jQuery plugins to aid interactivity. Furthermore, Foundation is built with mobile-first approach and allows the stacking of content by default using predefined break points. Or, in other words, we can say that it is responsive by default. Read more…