On Fri, 02 Dec 2011 13:42:52 -0200, Xybrek <xyb...@gmail.com> wrote:
Speaking of back-end, is you back-end loosely-coupled with the
front-end, I mean, is it something like a "service", I am planning to
migrate my full-blown GWT app, with services: connect, disconnect,
createAccount, etc. all connecting to another server. However, I haven't
actually worked with "services" with Tapestry.
Tapestry-IoC services are the same as what Spring and EJB call beans and
are back-end code. UI components are only coupled to the back-end if you
program write them that way.
I don't know much about BeanEditForm, is it customizable, I mean, when I
did the tutorial, the edit form is wrapped with a yellow box?
Yes, very customizable, and the styles are overridable by CSS.
I mean, when I do things in GWT, a registration form is made up of a
panel with input textbox widgets on it and some button like ok and
cancel. I also included a ReCaptcha widget ;-)
Tapestry users component composition, just like you described.
BeanEditForm creates a full form, but you can use BeanEditor to quickly
and easily generate form fields for the properties of a class.
I am not sure if this is "easily" achievable with Tapestry just like
with GWT.
Yes.
In any case, I just want to keep the loose-coupling that I have with my
GWT app when migrating to tapestry, that is the client side code and the
server side code is separate. Or, tapestry does not work that way?
Tapestry works that way. Of course, the code you write needs to be
loosely-coupled too. ;) Anything Tapestry provides out-of-the-box is *not*
coupled with anything in the back-end (which I'm considering here to be
services, beans, databases, anything that isn't purely UI).
I guess the difficulty you'll eventuall have with Tapestry isn't with
Tapestry itself, but for coming from a GWT background. It would be the
same if you were learning any other non-GWT, non-Echo2, non-Echo3,
non-single page web framework.
--
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