I, for one, do not agree with getting rid of XML altogether. There needs to be a way to support both. It should be abstracted. Why not create an abstract metadata facility which allows you to plugin MetadataProviders?
On 5/17/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
Valid point - how is that different from today? If our designer chnaged the file structure layout of the templates we'd be screwed. Actually we would not let her do it. While it's great that designer and developer don't trip over each other in Tapestry land there has to be *some* mutual understanding on these issues before something flies over the fence! Geoff On 5/17/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I've been looking around trying to mesh two parts of Tapestry and T5 > comments together - hopefully I'm missing something somewhere. > > A stated design of T5 is the negation of page and jwc files - > Annotations rule the day. > > With that in mind, where is the connection from HTML to Java? Or will > there only be a connection from Java to HTML? > > Scenario: > > Designer mocks up a site with the following structure: > index.html > blah.html > secure/ > index.html > account.html > > This is then approved and thrown over the wall to the developers to > integrate into their "back end" with the following package structure: > > com.company.tapestry > com.company.tapestry.pages > com.company.tapestry.secure > . > . > . > > - From what I've gleaned from the T5 discussions, after taking into > account "no more page files" and "no more jwc files", I don't see how > the designer could change the layout of the HTML without a recompile of > the Java code to support the changes. With XML, it would require changes > to configuration, but without them? Am I missing something obvious? Or > is this the "reduce flexibility" that mandates "you start with this > structure, we map it to package structure appended to your stated > 'starting point' - period."? For example: > > .application > <meta page-classes = "com.company.tapestry"/> > > index.html == com.company.tapestry.Index > blah.html == com.company.tapestry.Blah > secure/ > index.html == com.company.tapestry.secure.Index > account.html == com.company.tapestry.secure.Account > > [curious to know if this is the plan, or if it's the Java annotations > defining the mapping] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (MingW32) > > iD8DBQFEa1isaCoPKRow/gARAoioAKDyJHd2n/bIEJfd+KaLxD/vqeJE1ACgk/4I > bfiQQ36Si0OZrxz6yEbw++8= > =A4VU > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
