php[world] 2015 training - laravel from the ground up

Post on 22-Jan-2017

482 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Laravel from the Ground Up

Joe Ferguson

https://joind.in/14750

Who Am I?

Joe Ferguson

PHP Developer

Twitter: @JoePFerguson

Organizer of @MemphisPHP

@NomadPHP Lightning Talks

Passionate about Community

Before we beginHave Virtualbox (virtualbox.org) Installed

Have VirtualBox Extension Pack Installed

Have Vagrant (vagrantup.com) Installed

run: vagrant box add laravel/homestead

The Plan

Brief overview of Laravel

Local Development Environment

Build an Application

Testing Your Application

Deploying Your Application

Brief overview of Laravel

Love beautiful code? We do too.

The PHP Framework For Web Artisans

Elegant applications delivered at warp speed

Expressive, beautiful syntax

Database ORM

Routing

Layouts and views

Validation

Application Structure

Local Development Environment

Laravel Homestead“Laravel Homestead is an official, pre-packaged Vagrant "box" that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine.”

What’s in the box:

• Ubuntu 14.04• PHP 5.6• HHVM• Nginx• MySQL• Postgres• Redis

• NodeJS• Bower• Grunt• Gulp• Beanstalkd• Memcached• Laravel Envoy

Fabric + HipChat Extension + more!

Getting Homestead

Install the box:vagrant box add laravel/homestead

Clone the Repository:git clone https://github.com/laravel/homestead.git Homestead

Configure HomesteadDefault: Hello World:

Update /etc/hosts192.168.10.10 hello-world.app

Ready to vagrant up

Our code will be shared from our host machine

And mapped to the vagrant machine

~/PhpstormProjects/hello-world

/home/vagrant/hello-world

How I use Homestead

Install Homestead

http://laravel.com/docs/5.1/homestead#per-project-installation

$ vagrant up

Application Features

User Login

User Management

on user reg queue admin email

contact us saves to DB and emails admin

layout with menu extending

Feedback!

https://joind.in/14750

Joe FergusonTwitter: @JoePFergusonEmail: joe@joeferguson.meFreenode: joepferguson

Contact Info:

top related