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.

Share the Post:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Photo of R1S with axe

Rivian R1 Dual Standard Is Gone: New Starting Prices, Last Lease Deals, and the R2 Launch

Rivian has officially confirmed the end of the Dual Standard configuration for the R1T and R1S, raising the entry price by $7,000 across the board. Between LFP battery calibration failures, the upcoming R2 reveal, and a potential pricing strategy shift, there’s a lot more going on here than a simple trim cut. Here’s what it means for buyers — and what it could signal about where Rivian is headed.

Read More