On Wed, Dec 22, 2010 at 7:16 AM, zixzigma <[email protected]> wrote: > Thank you Raphael, > What a great project. > > can you please explain some of your stragies > for implementing "caching" and "batching" ? > > some tips/high level overview of how you are going to design them ?
Currently, the dispatcher is only designed to be the one and only entry point to implement stuff. In my projects, we have different strategies. Eg. collecting many requests, then waiting some time (Javascript/GWT timer), then assembling one request that can be understood by the server and sending it. It really depends on what you can do on the server side.The same applies for caching. You can do it via a hashmap and equals comparisons, but you can also you LocalStorage or other fancy HTML5 stuff. The idea is, that you can do it easily and have a central point where to add and experiment with stuff (supported by meaningful GWTTestCases). Not how you actually do it. But - hey! If you have any suggestions how to add stuff let me know :) And I guess it's not my invention at all - it's simply command pattern :) Thanks for your feedback! Cheers, Raphael > > Thank You > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
