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 4: Layout and Views

Previous parts of this tutorial:

This will be the last part of the Creating a Blog using Laravel series, In this part, we will cover the layout and views for the Blog Application we are creating. Let’s see what we have already covered:

  • Laravel Setup
  • Laravel Migrations
  • Model creation using Eloquent ORM
  • Database Seeding
  • Controllers
  • Routing

View: The V in MVC

Views in a MVC web framework are used to isolate the presentation logic from the business, and the application logic. In a typical MVC web framework, whenever a request is received, the routing component parses the request and figures out the right controller action to handle the request. The controller action, then fetches the requested data from the model and passes it to the view. And finally, a response is returned containing the HTML markup generated by the view to present the data. Continue reading Creating a Blog Using Laravel 4 Part 4: Layout and Views