from-apprentice-to-artisan
《From Apprentice To Artisan》这本书是 Laravel 作者 Taylor Otwell 写的,里面详细介绍了 Laravel 框架涉及的各种软件理念和工具,如 DI、IoC、SOLID 等。
最近才发现这本书,本想着手翻译,才发现有大神在三年前就翻译好了,所以只贴个目录在这儿吧~
英文正版链接:https://leanpub.com/laravel zgldh 大神翻译的中文版链接:https://my.oschina.net/zgldh/blog/389246 huanghua581 大神制作的 Gitbook 版:https://huanghua581.github.io/FATA/
目录
Dependency Injection 依赖注入
The Problem 遇到的问题
Build A Contract 建立约定
Take It further 更进一步
Too Much Java? 太像Java了?
The IoC Container 控制反转容器
Basic Binding 基础绑定
Reflective Resolution 反射解决方案
Interface As Contract 接口约定
Strong Typing & Water Fowl 强类型和小鸭子
A Contract Example 约定的范例
Interface & Team Development 接口与团队开发
Service Provider 服务提供者
As Bootstrapper 他是引导程序
As Organizer 作为管理工具
Booting Providers 服务提供者的启动过程
Providing The Core 核心也是服务提供者的模式
Application Structure 应用结构
Introduction 介绍
MVC Is Killing You MVC是慢性谋杀
Bye, Bye Models 再见,模型
It's All About The Layers 核心思想就是分层
Where To Put "Stuff" 东西都放哪儿?
Applied Architecture: Decoupling Handles 实用做法:解耦处理函数
Introduction 介绍
Decoupling Handlers 解耦处理函数
Other Handlers 其他处理函数
Extending The Framework 扩展框架
Introduction 介绍
Managers & Factories 管理者和工厂
Cache 缓存
Session 会话
Authentication 身份认证
IoC Based Extension 使用容器进行扩展
Request Extension 请求的扩展
以下是 SOLID 的讲解。
Single Responsibility Principle 单一职责原则
Introduction 介绍
In Action 实践
Open Closed Principle 开放封闭原则
Introduction 介绍
In Action 实践
Liskov Substitution Principle 里氏替换原则
Introduction 介绍
In Action 实践
Interface Segregation Principle 接口隔离原则
Introduction 介绍
In Action 实践
Dependency Inversion Principle 依赖反转原则
Introduction 介绍
In Action 实践
Last updated