OO PHP解释对于死灵n00b [英] OO PHP explanation For a braindead n00b

查看:49
本文介绍了OO PHP解释对于死灵n00b的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经写PHP大约六年了,到现在我觉得我应该做更多的事情来编写更好的代码.我知道面向对象的代码是必经之路,但是我无法理解这个概念.

I've been writing PHP for about six years now and have got to a point where I feel I should be doing more to write better code. I know that Object Oriented code is the way to go but I can't get my head around the concept.

任何人都可以用白痴可以理解的术语,OO及其在PHP中的工作方式进行解释吗?还是可以向我介绍白痴指南教程?

Can anyone explain in terms that any idiot can understand, OO and how it works in PHP or point me to an idiots guide tutorial?

推荐答案

我一直在穿你的鞋子,但是看完这本书后(几次!),我看到了曙光. .apress.com/book/view/9781590599099"rel =" nofollow noreferrer> http://www.apress.com/book/view/9781590599099 读完这篇文章后,我真的明白了",没回头.您将在Amazon上获得它.

I have been in your shoes, but I saw the light after I read this book (a few times!) http://www.apress.com/book/view/9781590599099 After I read this, I really "got" it and I haven't looked back. You'll get it on Amazon.

我希望你坚持,接受并喜欢它.在一起时,它会让您微笑.

I hope you persist, get it, and love it. When it comes together, it will make you smile.

构图胜过继承.

这篇关于OO PHP解释对于死灵n00b的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆