Laravel 作者推荐的提高 PHP 技能方法
每个人都会遇到自己的技术瓶颈. 每当这个时候, 如果有大牛能指点一下方向, 是很重要的.
刚才查看资料, 看到了这样的一次采访, Laravel 作者做了如下的回答.
原文
Q: To someone who wants to become a better PHP developer, what is your advice?
A: Learn good design patterns. This does not necessarily depend on PHP. You can learn and use these patterns in any language. In particular, learn all five of the S.O.L.I.D. patterns thoroughly. These five patterns will take you far as a developer, and I think about each of them almost every time I code.
中文版
对于想成为更好的PHP开发人员的人,您的建议是什么?
学习好的 design patterns
。这不只适用于 PHP。您可以用任何语言学习和使用这些模式。尤其是S.O.L.I.D. patterns
。把这个 5 个彻底学好。这五种模式将使您成为大牛,我几乎每次敲代码时都会考虑它们。
也许, 你和大牛就差个 S.O.L.I.D. patterns
。
这是什么?
同问
@doobi
@dope2008 单一功能、开闭原则、里氏替换、接口隔离以及依赖反转
@chaofei 谢谢