Reply to Re: References between nested objects (PHP4)

Your name:

Reply:


Posted by Chung Leong on 09/06/05 21:52

Markus Ernst wrote:
> Anyway my goal is improving performance at the front end (implementing PEAR
> Cache did a lot there), and I am not sure if separating the admin functions
> is actually worth the effort. I would highly appreciate some quick comments
> about this:
>
> Existing structure: Class trees based on common base classes, such as:
>
> - class common_functions
> - class entity extends common_functions
>
> - class rubric extends entity
> - class page extends rubric
>
> - class gallery extends entity
>
> - class picture extends entity

I'm an advocate for keeping things simple and obvious. Unless there's a
good reason to use inheritance, I generally avoid it. It's easier to
think that a book is a book, than a book being an extension of some
generalized, abstract object.

[Back to original 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

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