This book delivers what the social media evangelists promised to deliver but forgot. A lot of people talk about how cool Laravel is but don’t give you step by step instructions and explanations on how to get things done. This book delivers just that.
The first three chapters are probably the most important ones for PHP programmers who are completely new to Laravel 4. The first chapter addresses the basics of MVC frameworks, talks about composer and reasons why you should love Laravel 4. I strongly recommend this chapter for the non believers in the power of Laravel
One of the frustrations most people have with Laravel is how to get started; it’s not just downloading the code and diving straight into it the way it is with other frameworks like Code Igniter. The second chapter is written for such people. Chapter two walks you through the steps of downloading and installing composer and how to use it to download and install dependencies for Laravel
If there is a better example to hello world then it has to be a Create Read Update Delete (CRUD) example. Chapter 3 of the book leverages the power of artisan utility in Laravel to speed up the process of developing a basic CRUD application. What I particularly liked about this chapter is how it takes into consideration real world useful things such as SEO friendly URLs via the routes. It also talks about HTTP Verbs such as PUT and DELETE and how you can make use of them.
It’s a perfect example that has the side effects of making you a professional web developer who adheres to best practices of modern web apps.
Chapters four (4) through to seven (7), take you through the process of creating a real world application. I recommend these chapters for developers who already know the basics of Laravel and would like to know how to create complete advanced applications with functions like shopping carts, admin sections and newsletter subscriptions etc. The downside of this chapter is that the source code contains minor bugs which can be frustrating when working through the examples. To get the most of these chapters, I recommended you download the book source code and work with the errata submissions found on the website. Other than that, they are great chapters with explanations on how things work.
Chapter 8 is perhaps my favorite chapter in the book. Who doesn’t love RESTful APIs? Gone are the days when systems kept all the information to themselves and ritualistically allowed only the admin to add data to the database. This chapter takes you through the process of creating a RESTful API that exposes existing resources and allows modifying, adding or deleting them.
What I love about this chapter is that it takes RESTful APIs best practices into consideration. Things like API versioning and users’ authentication are included. As if this isn’t sinful enough, the chapter also has a client application that consumes the API resource and incorporates Google maps to display the results.
The last chapters 9 through to 11 talk about optimization and security, deploying Laravel apps and creating workflow and useful Laravel packages respectively.
In conclusion, it’s a solid book on Learning Laravel 4 Application Development. I strongly recommend it to PHP developers with a basic understanding of PHP. If you are completely new to PHP then I suggest you brush up your knowledge on advanced topics in PHP such as namespaces and a good foundation in object oriented programming.
We encourage you to buy a copy of the book and unleash the Laravel 4 developer in your
Our rating on a scale of 1 to 5 with 5 been the highest, we give it a rating of 4.5
You can get the eBook from the PacktPub Website at a lower price