Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 11 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
我也遇到了同样的情况,我开始使用 CodeIgniter。它自然地引导我进入 oop(我喜欢它)。
...所以通过使用 CI 教程,我个人认为您可以实现您的目标。
哈
I was in the same situation and I started to use a CodeIgniter. It naturally guided me into oop (and I LOVE it).
...so by using the CI tutorials I personnaly think you can reach your goals.
hth
也许您应该看看 Matt Zandstra 所著的《PHP 对象、模式和实践》,第三版。我其实不喜欢这本书的写作风格;它以难以理解的方式介绍了困难的概念,然后希望你在讨论本书的后续材料时能够永远轻松地理解它们。尽管如此,通过一些工作,它肯定会帮助您远远超出由“三角形”和“方形”子级(等)扩展的 Shape 基类的普遍示例。它针对的是过程型 PHP 程序员,因此它可能对您非常有用。
Martin Fowler 的《企业应用程序架构模式》也受到高度评价,尽管它用 Java 演示了其代码示例,而我自己从未读过它。
Perhaps you should look at 'PHP Objects, Patterns and Practise' by Matt Zandstra, 3rd Edition. I actually dislike the writing style of the book; it introduces difficult concepts in a hard-to-digest manner and then expects you to be forever comfortable with them when discussing the books' later material. Nonetheless, with some work, it will certainly help take you far beyond the ubiquitous example of a Shape base class being extended by 'Triangle' and 'Square' children (etc). It is aimed at procedural PHP programmers, so it may be very useful for you.
Martin Fowler's 'Patterns of Enterprise Application Architecture' is also given high esteem although it demonstrates its code examples in Java and I have never read it myself.
我自己从未读过,但我听说 Head First Java 是一本学习 OOP 原理的好书,可能对你有帮助
http://www.amazon.com/Head-First-Java-Kathy-Sierra/ dp/0596009208
I've never read it myself but I've heard that Head First Java is a good book to learn OOP principles and might be helpful to you
http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208
这本书应该对您有好处 http://www.amazon.com/Object-Oriented -Analysis-Design-Applications-2nd/dp/0805353402(我只读过第一版)。
我建议您远离特定于 php 的书籍和在线教程,因为它们中的大多数都是纯粹的垃圾。
This book should be good for you http://www.amazon.com/Object-Oriented-Analysis-Design-Applications-2nd/dp/0805353402 (I've read only the first edition).
I'd advise you to keep away from php-specific books and online tutorials, because most of them are sheer rubbish.