Re: Objects
| From: | Tony Marston | Date: | Wed, 25 Jul 2007 17:46:42 +0000 |
| Subject: | Re: Objects | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259533@lists.php.net to get a copy of this message | ||
Design patterns will just confuse the issue. If you come from a non-OO
background (just like me) and want to know what all this OO stuff is about
you might want to take a look at the following:
http://www.tonymarston.net/php-mysql/good-bad-oop.html
http://www.tonymarston.net/php-mysql/hero-or-heretic.html
http://www.tonymarston.net/php-mysql/oop-for-heretics.html
http://www.tonymarston.net/php-mysql/what-is-oop.html
http://www.tonymarston.net/php-mysql/databaseobjects.html
http://www.tonymarston.net/php-mysql/databaseobjects2.html
I wrote these for the simple reason that, just like you, I found too many
articles with lots of theory but no substance. Unfortunately too many of
these theories conflicted with my past experience, so I chose to ignore most
of them, and achieved far better results.
You can download my sample application from
http://www.tonymarston.net/php-mysql/sample-application.html
which provides
a working implementation which you can study at your leisure.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Nathan Nobbe"" <quickshiftin@gmail.com> wrote in message
news:7dd2dc0b0707250839j4d43272boea44f0ccf5fe6148@mail.gmail.com...
> eric is exactly right; design patterns are key; and so is that book ;)
>
> -nathan
>
> On 7/25/07, Eric Butera <eric.butera@gmail.com> wrote:
>>
>> On 7/25/07, Suporte - DPRJ Sistemas <suporte@dprj.eng.br> wrote:
>> > Hello!
>> >
>> > Is there anyone here interested in teaching (lond distance, off course)
>> OOP?
>> >
>> > I would like to learn how to use objects (I have been working all my
>> life using structured language). All the books I have tried just "talk"
>> about theory not practical issues.
>> >
>> > I intend to pay for the classes.
>> >
>> > Thank you
>> >
>> > Deleo
>> >
>>
>> Do yourself a favor and read up on "design patterns." I think that
>> they go hand in hand alonside learning OOP. The reason I say this is
>> because people can talk about encapsulation and polymorphism all day
>> long, but until I see some concrete examples with real world
>> implementations it won't stick in my head.
>>
>> I really enjoy this book: http://www.oreilly.com/catalog/hfdesignpat/
>> It is for Java, but the idea behind patterns is that they are ways of
>> doing things and not syntax. This means that you aren't really tied
>> to any given language because once you know how to build a factory you
>> just implement the best way you can given the structure of the
>> language.
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>