Cargando…

Laravel Design Patterns and Best Practices /

In Detail 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 u...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Kilicdagi, Arda
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2014.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Authors; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Design and Architectural Pattern Fundamentals; Design patterns; Elements of design patterns; Classification of the design patterns; Creational patterns; Structural patterns; Behavioral patterns; What is MVC?; Summary; Chapter 2: Model in MVC ; What is the Model?; Purposes of the Model; Model Instances; The Model in Laravel; Fluent Query Builder; Eloquent ORM; Relationships; Mass assignment; Soft deleting; Eager Loading; Timestamps; Query scopes; Accessors and mutators.
  • Model eventsModel observers; Migrations; Database seeders; Summary; Chapter 3: View in MVC; What is a View?; View objects; View in Laravel; Summary; Chapter 4: Controllers in MVC; What is a Controller?; The purpose of the Controller; Controllers in Laravel; Routes; Using Controllers inside folders; Summary; Chapter 5: Design Patterns in Laravel; The Builder (Manager) pattern; The need for the Builder (Manager) pattern; The Factory pattern; The need for the Factory pattern; The Repository pattern; The need for the Repository pattern; The Strategy pattern; The need for the Strategy pattern.
  • The Provider patternThe Facade pattern; Summary; Chapter 6: Best Practices in Laravel; Basic practices; Advanced practices; The Factory pattern; The Builder pattern; Strategy pattern; The Repository pattern; Summary; Index.