LaravelDesignPatternsandBestPractices - (EPUB全文下载)

文件大小:0.42 mb。
文件格式:epub 格式。
书籍内容:

Laravel Design Patterns and Best Practices
Table of Contents
Laravel Design Patterns and Best Practices
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Design and Architectural Pattern Fundamentals
Design patterns
Elements of design patterns
Classification of design patterns
Creational patterns
Structural patterns
Behavioral patterns
What is MVC?
Summary
2. Models in MVC
What is a 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 events
Model observers
Migrations
Database seeders
Summary
3. Views in MVC
What is a View?
View objects
View in Laravel
Summary
4. Controllers in MVC
What is a Controller?
The purpose of the Controller
Controllers in Laravel
Routes
Using Controllers inside folders
Summary
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 pattern
The Facade pattern
Summary
6. Best Practices in Laravel
Basic practices
Advanced practices
The Factory pattern
The Builder pattern
The Strategy pattern
The Repository pattern
Summary
Index

Laravel Design Patterns and Best Practices

Laravel Design Patterns and Best Practices
Copyright © 2014 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information ............

书籍插图:
书籍《LaravelDesignPatternsandBestPractices》 - 插图1
书籍《LaravelDesignPatternsandBestPractices》 - 插图2

以上为书籍内容预览,如需阅读全文内容请下载EPUB源文件,祝您阅读愉快。

版权声明:书云(openelib.org)是世界上最大的在线非盈利图书馆之一,致力于让每个人都能便捷地了解我们的文明。我们尊重著作者的知识产权,如您认为书云侵犯了您的合法权益,请参考版权保护声明,通过邮件openelib@outlook.com联系我们,我们将及时处理您的合理请求。 数研咨询 流芳阁 研报之家 AI应用导航 研报之家
书云 Open E-Library » LaravelDesignPatternsandBestPractices - (EPUB全文下载)