You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Kunal Ashar <ku...@consultant.com> on 2005/05/05 16:41:42 UTC
Components vs Pages?
Are there are guidelines or user experiences out there that help users decide when to use pages and when to use components?
In my project, I'm trying to find the right reason(s) for developers to develop a page instead of a component or vice versa, instead of arbitrarily selecting one or the other based on individual preferences.
One way to look at the problem is from a component and page initialization perspective. Does the order in which each is initialized/loaded affect the decision to use either? Or some definite combination of both?
What could be the other influencing/deciding factors?
Thanks in advance,
Kunal
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Components vs Pages?
Posted by Ivano <i....@mclink.it>.
As far as I know a first discriminator should be reusability:
- components should focus on characteristics related to his own
features and scope, in this way they can be reused in several contexts
(different pages, embedded in other components...)
- pages are usually more specific in their function and less reusable
Kunal Ashar wrote:
>Are there are guidelines or user experiences out there that help users decide when to use pages and when to use components?
>
>In my project, I'm trying to find the right reason(s) for developers to develop a page instead of a component or vice versa, instead of arbitrarily selecting one or the other based on individual preferences.
>
>One way to look at the problem is from a component and page initialization perspective. Does the order in which each is initialized/loaded affect the decision to use either? Or some definite combination of both?
>
>What could be the other influencing/deciding factors?
>
>Thanks in advance,
>Kunal
>
>
--
Ivano Pagano
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org