Posted by
Abdullah Shaikh on
URL: http://ofbiz.116.s1.nabble.com/OFBiz-GWT-Projects-for-bulding-user-interface-with-GWT-tp1570621p1588593.html
Yes, OpenTaps takes hours to compile because of the gwt modules in it. And
the other thing is GWT application itself shoud be a single project but
incase of OpenTaps there are multiple applications embeded in pages to
provided different functionalities, but I guess that is fine, bcoz hoing by
how GWT works we can't create a single monolithic application which can
provided all of ofbiz as it will be a huge task.
GWT is a client side application which stores the data on client but ofbiz
makes use of server to store data, we make use of session, request
parameters, request attributes in ofbiz.
Although using GWT will minimise the load on server as the state is
maintained on client side and only required data is fetched.
There are 2 options :
1) Make the whole of ofbiz in GWT (huge task)
2) Make use of other ajax toolkits (jquery etc), to provided ajax features,
and not by using GWT as done by OpenTaps, as it takes hours to compile
I feel 2 option will be good.
Also there is a issue of SOP (Same Origin Policy), which restricts the
browser from making request to other servers and even to the same server
using different port, and this will restrict us in switching between http &
https which we currently do in ofbiz so easily
SOP -
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_SOPThere is a way to avoid this by using JSONP, but I don't have much idea on
it.
As Chris asked, "Do you intend to make GWT an option for rendering the ofbiz
screen and form
definitions?"
I guess this won't be possible becoz the java code is converted to
javascript which gets rendered in browser, making use of ofbiz screen and
form widgets which run on server side won't work.
Google Maps & GMail doesn't use GWT but Google Wave, Google Adwords & Speed
Tracer (a tool to profile GWT applicatios) makes use of GWT
Thanks,
Abdullah
On Thu, Mar 11, 2010 at 4:33 AM, Tim Ruppert <
[hidden email]>wrote:
> Man I hope not! That's one of the reasons that ever working with OpenTaps
> sucks. If someone wants to do that, please put it somewhere where most of
> us don't have to get it so that we can continue to develop in a cleaner
> environment. This is a huge one that would need to be discussed before it
> got dumped in IMO.
>
> Cheers,
> Ruppert
>
> On Mar 10, 2010, at 3:58 PM, chris snow wrote:
>
> >
> > Hi Chatree,
> >
> > Do you intend to make GWT an option for rendering the ofbiz screen and
> form
> > definitions?
> >
> > Many thanks,
> >
> > Chris
> > --
> > View this message in context:
>
http://n4.nabble.com/OFBiz-GWT-Projects-for-bulding-user-interface-with-GWT-tp1570621p1588182.html> > Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>