Re: pages vs components... use model still the same or has it evolved any ?

2011-09-09 Thread Peter Stavrinides
00 Athens, Bucharest, Istanbul Subject: Re: pages vs components... use model still the same or has it evolved any ? This is less to do with Tapestry and more to do with general OO practises and your personal preference towards it. e.g. When writing a Java class, you could write everything in a s

Re: pages vs components... use model still the same or has it evolved any ?

2011-09-09 Thread Steve Eynon
This is less to do with Tapestry and more to do with general OO practises and your personal preference towards it. e.g. When writing a Java class, you could write everything in a single method, but to gain efficient reuse you usually refactor it out into multiple methods. Similarly, you split your

RE: pages vs components... use model still the same or has it evolved any ?

2011-09-08 Thread Ken in Nashua
I guess I am wondered in other peoples ideas over pages and components. Though my take on them... pages NEED to persist properties across request boundaries... and components persist those page properties thru their well defined parameter interface. Does this mean that components should never h

Re: Pages vs Components

2009-01-16 Thread Onno Scheffers
> > I don't understand when I would use a Component and what they are for. Typically a web-application is built from a number of pages. And each page is different. Many elements on the pages will be the same or similar though. For those elements it is usually wise to create a separate component

Re: Pages vs Components

2009-01-16 Thread Howard Lewis Ship
On Fri, Jan 16, 2009 at 1:42 PM, Christian Edward Gruber wrote: > In some ways, a Page is just a Component that has no parent. A page is a top level component. Technically, the page component is actually the root component of the actual page (true pages are a concept internal to Tapestry) but it

Re: Pages vs Components

2009-01-16 Thread Christian Edward Gruber
In some ways, a Page is just a Component that has no parent. I'm not 100% sure why they're separated, except that it's a historical artifact. Components (and pages being a special-case component) are a piece of java software that renders itself (usually as tags and possibly with a body, w