Hi Stefan,

2012/6/27 Stefan Krenz <stefan.kr...@mayflower.de>
>
> there is a situation for overwriting one class with multiple files in
> one module.
> If you have one class which overwrites the price calculation. And
> another which overwrites the product (article) picture lookup. For a
> strict separation of the two functions, it's good to place them in
> separate files and classes. This is a part of "Separation of Concerns".
>

But you are still extending THE one article object. I am with the guys,
which say, that your idea is a lot to much of overengineering in the oxid
context. I think it would be much cleaner, to let the article object
delegate your "concerns" to some helpers. That would be my preferred way.

Regards,
Björn
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to