如何让symofny的 controller 里面的代码更干净

WBOY
Release: 2016-06-06 20:43:27
Original
859 people have browsed it

最近在开始用sf 做项目,想实现这样的结构 如何让symofny的 controller 里面的代码更干净

有没有人做过类似的,求代码参考.

以有类似代码:https://github.com/nices/Ghost
求更优秀的

回复内容:

最近在开始用sf 做项目,想实现这样的结构 如何让symofny的 controller 里面的代码更干净

有没有人做过类似的,求代码参考.

以有类似代码:https://github.com/nices/Ghost
求更优秀的

我推荐本书给你吧

《实现领域驱动设计》
http://book.douban.com/subject/25844633/

可以看看这个

https://github.com/laurusCN/Symfony2LoginDemo

Event 跟 AOP

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template