How do you manage static contents/pages along with gwt?

6 views
Skip to first unread message

Y2Kenny

unread,
Nov 4, 2010, 11:46:38 PM11/4/10
to Google Web Toolkit
I have been using Django with GAE/Python and recently I have been
considering switching to GAE/J and GWT. My questions are

1) Is there a way to do hierarchical templating similar to the Django
template system?

2) How do you manage static contents with/along with GWT in general?

I have been digging around quite a bit but I haven't been able to find
something satisfactory. Here's a summary of the possible solution (I
don't know if my conclusion of them are accurate though since I am not
that familar with java tech.)

a) Use various java frameworks/template engine (Spring, FreeMarker,
StringTemplate, Velocity, etc) but is it possible to mix use these
with GWT?

b) Use Django with Jyphon... but then I am not really using GWT
+servlet any more right? (And lose things like GWT RPC?)

c) Use JSP straight ... but there doesn't seem to be hierarchical
template. As I type this I did some search and some have referenced
Tile (http://stackoverflow.com/questions/490390/jsp-template-
inheritance) does that work well with GWT?

d) Use GWT UiBinder. Base on the description of the dev guide, this
seems to be exactly what I needed but then the examples I see are
small and it seems to be best suited for layout of widget as oppose to
a page. And using UiBinder means that the page is still js generated
right? (not crawlable, etc?)

Again, some of the conclusion above could be wrong since I am new to
the server side java tech. Please correct me if they are inaccurate.
Reply all
Reply to author
Forward
0 new messages