[Newbies] How does one decide which Class to use as a model?
andy.burnett at knowinnovation.com
Sun Aug 17 23:19:16 UTC 2008
The HPI Seaside tutorial shows the data models as subclasses of Object, and
I have seen that elsewhere. However, some examples talk about finding the
closest class to use as your starting point. I am curious what experienced
Subclassing Object presumably gives maximum flexibility, but perhaps means
that one ends up building in functionality that already exists further down
the tree. On the other hand, taking a more specific class, might be a bit
like premature optimisation?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners