introduction to laravel 4, developer conference - digital world 2014

22
INTRODUCTION TO

Upload: mozammel-haque

Post on 20-Aug-2015

562 views

Category:

Software


0 download

TRANSCRIPT

INTRODUCTION TO

INTRODUCTION TO

form an experienced Java developer

Who am I ?

Started career back in 2005 working with Java and Apache StrutsMoved to Spring/Hibernate with frontends like GWT/Flex later onGot busy with managing offshore development house of VantageA ScrumMaster who enjoys being the Scrum expert of 5 development teams involving php/Java/C,C++/Javascript and whatever needed for our products.

Joined the Laracon 2014 at NY

Had lunch with Taylor Otwell there,creator of Laravel

The Plot

A brand new teamWith freshly baked team members straight out of universitiesReady to take on real world challenges but cluelessReady to take on real world challenges, but clueless at the same time about where to startA product that needs to be in production by 5/6 monthsNeeds to be a php application

Now What ?

Needed a framework that is easy to start withClean and simple in designQuick development and deploymentW ll d t dWell documentedHas potentiality to grow as maturity of the developers expandsEmbraces the best practices followed in Java and other development eco systems.

What do you want from your development environment?

What do you want from your development environment?

Dependency management

What do you want from your development environment?

Dependency managementMVC

What do you want from your development environment?

Dependency managementMVCDependency injection / IoC

What do you want from your development environment?

Dependency managementMVCDependency injection / IoCA t S i P idAccess to Service Providers

What do you want from your development environment?

Dependency managementMVCDependency injection / IoCA t S i P idAccess to Service ProvidersORM

What do you want from your development environment?

Dependency managementMVCDependency injection / IoCA t S i P idAccess to Service ProvidersORMUnit tests

Composer

A PHP dependency managerDependencies stored in a JSON file composer.jsonSimilar to pom.xml if you are using Maven in Java projectsprojects

Composer

Installing dependencies are as simple as

mvn installcomposer installcomposer install

Spring MVC

Laravel MVC

Did the team deliver?

They completed their project in 3 monthsYou can find their work at: http://photowall.digitalsports.com/Currently it has 4 304 059 media files where 4869Currently it has 4,304,059 media files where 4869 are video files (rest are photo)

photowall.digitalsports.com

Let’s get dirty (in a good way!)

Install composer from getcomposer.orgcomposer create-project laravel/laravel your-project-name --prefer-distphp artisan servephp artisan serveYou know what? Let’s open the damn terminal.

Get in touch with local Laravel Community

Must see: https://laracasts.com/FB/groups/LaravelBangladeshhttps://www.facebook.com/groups/LaravelBanglaDesh/Desh/Installing Laravel on Ubuntu 13.10 (Bangla)http://go.bdcyclists.com/InstallLaravel