Laravel Episode 1: Starting A New Project

My first time streaming on livecoding.tv. I wanted to share with people how I use the Laravel framework. I decided to create a fictious project and call it Storedemo. It’s pretty much a demo of an online store. I chose this because it will provide different case studies. Being my first time, I ran into some technical difficulties. Fortunately, a support staff joined the room and was able to provide assistance. I had to cut the stream. That’s why you’ll see two episodes/videos. Below are the links where you can watch them. Hopefully in the future I can embed them.

episode1

Episode 1 Part 1
episode1 part2

Episode 1 Part 2

Here is a summary of what I discussed in the videos.

Introduction

  • Why am I doing this?
    • To give an example of how someone develops in Laravel.
    • Help give a direction to newcomers of the framework.
    • Not meant to be a “best practice” or “this is how you should…”

Development Environment

  • OS X Version
  • Homebrew
    • PHP
    • PHP Mcrypt
    • MySQL
    • Composer
    • Git
  • Describe the directory structure
    • ~/apps/laravel/project_name
  • Laravel 5.1.x LTS
  • IDE
    • Sublime Text 3
    • PHPStorm
  • Sequel Pro

Create A New Project

composer create-project laravel/laravel=5.1 storedemo
php artisan --version
php artisan

Project Directory Structure

Talk about different directories and files of interests.

Using PHP Built-in Webserver

php artisan serve

Show how the route and views work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s