You are here: Re: Trying to get to grips with OOP! Classes. « PHP Programming Language « IT news, forums, messages
Re: Trying to get to grips with OOP! Classes.

Posted by armando padilla on 10/16/64 11:34

Hi Simon,

I briefly reviewed the code you posted but i totally agree that this
model is flawed. I think (in your example Actors/Actor) there should
be a class called Film and each film will have an array (collection) of
Actor objects as a member. This would remove the "Actors" class and
just force the developer to create instances of each actor to place
into the Film.


let me know if i totally lost anyone..lol

Armando Padilla

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация