The system I'm building at the moment has almost everything pushed down into
components.  Most of the functionality is achieved by a single base page
which takes a component in its constructor.

For Bookmarkable pages, I extend this base page, and pass a component to the
super.

How do _you_ separate concerns?  Is there a best practice?

A benefit of using a page is that it can be accessed with "getPage()"
regardless of how deep in the hierarchy you are... so I guess it could be
useful for storing the primary model for that section of the site.

Anyway, I'm interested in hearing how others deal with Page vs Components,
and how they structure their applications.

So many ways of skinning a cat :)

Rgds

Ned
-- 
View this message in context: 
http://www.nabble.com/Pages-or-components...-how-do-u-decide--tp20016807p20016807.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to