in many projects large scale GWT apps the command pattern comes in handy.
It provides a central point for chaching, batching, retrying of flaky
connections - and also functionality for undo operations.
Great :)
But what about Command pattern for REST interfaces (possibly using
JSON)? There are some excellent options such as resy-gwt. But as
client side developer I am still used to my plain old command pattern.
I am not sure if anybody is interested, but I released an alpha
version of my rest (json) command pattern at google code. It is fully
functional, completed with testcases and can be built out of the box
using maven.
Any feedback would be appreciated :)
Thanks,
Cheers,
Raphael
A tiny detail was missing... The url... :
http://code.google.com/p/gwt-json-commandpattern/
Again - any feedback would be appreciated :)
Thanks!
Raphael
>
>
> Thanks,
>
>
> Cheers,
>
>
> Raphael
>
>
>
> Thanks,
>
>
> Cheers,
>
>
> Raphael
>
--
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-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
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