On Tue, 23 Nov 2010 14:09:11 -0200, Piero Sartini <p...@sartini-its.com>
wrote:
It's my choice in projects where tapestry would be overkill.
For example ?
Projects where the component model does not pay off the increased
complexity.
What complexity? Creating one class per page?
Maybe its just because I am doing webapps for so long that action
based is more natural to me..
Of course, we always are more productive with the tools we already are
used to them. But this doesn't mean you couldn't be more productive if you
learn a better tool.
but my feeling is that its much easier
to utilize third party products like jQuery UI and others if you do
not need to care about components and life cycles.
starting with wrapping javascript widgets inside your
components.
You don't need to create components to use JavaScript at all. If you don't
think you need to write components, don't write them. Just use jQuery UI
or any other JavaScript package directly in your pages.
Anyway, you don't need to worry about lifecycles in Tapestry unless you're
writing something more complex, and that doesn't happen everyday, and
lifecycles in Tapestry (page and components) are not complex, specially
when compared to JSF, for example.
To build a tapestry project you need more work/thinking in the
beginning,
This is a very good thing! :)
IMHO this pays off if your project is getting very complex
and you can heavily re-use your components. Or on the other side for
very small projects, where you don't need to tweak the UI and can rely
on the standard components provided.
All projects eventually get bigger and more complex as time passes.
I respect your reasons, but I disagree with them.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org