LaravelDesignPatternsandBestPractices
- 资料大王PDF
-
0 次阅读
-
0 次下载
-
2024-09-23 21:38:14
微信
赏
支付宝
文档简介:
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
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
accurac......
评论
发表评论