Do I need to svn checkout to from the gwt to get files for the
UiBinder stuff?
We are using gwt 1.7.1 with ext 2.0.1. unable to find any support
inside gwt 1.7.1


On Oct 26, 5:05 pm, Sripathi Krishnan <sripathi.krish...@gmail.com>
wrote:
> There a couple of approaches you can use, each with its pros and cons.
>
>    1. You can put it in the initial user request with code using jsp/php/asp
>    - but that would mean your initial page load size is going to increase. If
>    the content is really important - you can use this approach; but for things
>    like news and advertisements - its not worth the extra time it is going to
>    take to see the main content of your application.
>    2. You can use UiBinder - but it is a compile time thing. You cannot
>    change the content at run time. But it has the best performance - even
>    better than putting your content within jsp/asp/php.
>    If you don't mind recompiling and redeploying your application whenever
>    content changes, this is the best option.
>    3. You can dynamically download the data using RequestBuilder - but that
>    has the worst performance. It is a new http request to download the html,
>    and perhaps additional requests to download embedded images and CSS. Plus,
>    there are things like Cross Site Scripting to think about (GWT should 
> handle
>    most of it, but you could still get in trouble). But then - it gives you 
> the
>    highest flexibility - no recompilations.
>
> The approach you choose depends on how frequently your content changes, how
> much you care about performance, and how much flexibility you desire.
>
> --Sri
>
> 2009/10/26 jhulford <jhulf...@gmail.com>
>
>
>
> > I would suggest using something like jsp / php / asp to generate your
> > GWT host page and have all the static content loaded directly into the
> > page during the initial user request along w/ the code to load up your
> > GWT module.
>
> > Or if you don't mind using bleeding edge code, you may want to take a
> > look at the new UIBinder stuff in the 2.0 release candidate.
>
> > On Oct 24, 9:32 am, usmanf <linkusma...@yahoo.com> wrote:
> > > I am designing a home page for my website using GWT ext (GXT). It
> > > contains a lot of static contents like news, advert text etc that
> > > usually goes on the home page.
> > > Firstly I tried separating the static content into html files and
> > > reading them using java.io.FileReader to set them on the Panel's
> > > setHtml(). I realized that GWT SDK does not allow to use java.io.* on
> > > the client side. The only way I have now is to place the static
> > > content into hard-coded string values like
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to