finding laravel from a lost advanced beginner of java
TRANSCRIPT
Who am I ?
Started career back in 2005 working with Java and Apache StrutsMoved to Spring/Hibernate with frontends like GWT/Flex later on/Got busy with managing offshore development house of VantageA manager who feels like rip van winkle as he is trying to get back to active development
Best way to get back ?
Getting busy with a productCompany had a new product development requirement which required working with phpframeworksThus I met Laravel, a framework I think heavily influenced by best practices from Java (and other leading standard frameworks)
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
Dependency Injection
Just like Spring Core/Context, foundation of Laravel is its powerful IoC containerSupports decoupling web layer from data layer completelyp y
Dynamic service provider injection?
As Bootstraper Laravel register IoC container bindings for the Service ProvidersLaravel lazy loads service providers for requests, improves performancep p
Framework also supports
One of the most powerful features of the Laravelcontainer is its ability to automatically resolve dependencies via reflectionSupport for singleton instancespp gEloquent ORM makes dealing with database easy and descriptiveUnit test through phpunit
Easy framework to pick up
Coming from a Spring/Java background it seemed natural and easy for me to pickup Laravel internals and best practices suggested by the developersIf any of you look forward to do a project on php, I y y p j p p,strongly suggest looking into Laravel framework, you won’t be disappointed.
Application I’m working with
Photowall: http://photowall.digitalsports.comChotJoldi (Open Source): https://github.com/mozammel/chot-joldi