Laravel Design Patterns and Best Practices
- Length: 99 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2014-07-25
- ISBN-10: 1783287985
- ISBN-13: 9781783287987
- Sales Rank: #2871632 (See Top 100 Books)
Enhance the quality of your web applications by efficiently implementing design patterns in Laravel
- Create fully functional web applications using design patterns in Laravel
- Explore various techniques to adapt different software patterns that suit your needs
- Get to know the best practices to utilize when making a web application
- Concise and practical guide to master the MVC approach of Laravel and its benefits
This book covers how to develop different applications and solve recurring problems using Laravel 4 design patterns. It will walk you through the widely used design patterns – the Builder (Manager) pattern, Factory pattern, Repository pattern, and Strategy pattern – and will empower you to use these patterns while developing various applications with Laravel. This book will help you find stable and acceptable solutions, thereby improving the quality of your applications. Throughout the course of the book, you will be introduced to a number of clear, practical examples about PHP design patterns and their usage in various projects. You will also get acquainted with the best practices for Laravel that will greatly reduce the probability of introducing errors into your web applications.
By the end of the book, you will be accustomed to the best practices and the important design patterns used in Laravel to make a great website.
What you will learn from this book
- Learn about the design pattern fundamentals in OOP programming
- Get acquainted with the structure of MVC architecture and use objects in your applications
- Discover Laravel’s approach to MVC and its benefits
- Work with various design patterns used in Laravel such as the Builder (Manager) pattern, Factory pattern, Repository pattern, and Strategy pattern
- Create and maintain web applications using Laravel best practices
- Implement PHP design patterns to solve commonly occurring problems
This book is a practical guide packed with clear examples that will help you get to grips with the best practices in Laravel design patterns to create advanced web applications.
Who this book is written for
This book is intended for web application developers working with Laravel who want to increase the efficiency of their web applications. It assumes that you have some experience with the Laravel PHP framework and are familiar with coding OOP methods.
Table of Contents
Chapter 1. Design and Architectural Pattern Fundamentals
Chapter 2. Models in MVC
Chapter 3. Views in MVC
Chapter 4. Controllers in MVC
Chapter 5. Design Patterns in Laravel
Chapter 6. Best Practices in Laravel