Sofia, from http://sourceforge.net/projects/salmon/,
is a web framework much like Tapestry I think. I like
Tapestry a lot but still feel the pain that too much
config files to write. Add or remove components
involves 3 places to sync, the web page, the page
spec, and java code.
The day I saw SOFIA I understood we might have our
life simpler. Sofia does not have page spec, and it
uses jsp tag to define a controller class used in the
page, which is pretty much the page class of Tapestry,
and use different jsp tags for different components
with unique names embedded within the controller tag.
In the controller class, all such components are
public fields with same name. This way, the framework
knows every thing to render the page while do not need
a third spec file to describe the relationship. It
also makes it possible to have a generator to generate
the controller class from the page.
I think, probably I am wrong, that it is not hard and
will not cost too much to implement in the future
version of Tapestry without change the framework a
lot. I believe the benifit is huge. :-)

Yunfeng Hou

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to