On 16 juin, 15:31, Tristan <[email protected]> wrote: > sounds like you're reinventing the place service, with event bus, with > local cache rpc service, but doing it in a new, innovative, complex > and if the code grows on you perhaps unintelligible way. if you're the > only one who will support this ever, that may work. otherwise i would > seriously look into a bunch of mvp-like frameworks out there and look > at how place services/managers, local caches, and event buses are > implemented. you don't need to use the framework, but the concepts are > very helpful to organize the code. they're straightforward and most > people understand the design.
Sure Ravi is "reinventing" the "place service" here. Sure he should move its "cache" to a "local cache rpc service". But the main issue with his code is that he has a "synchronous method" which has to do something "asynchronous". Now, most "place services & MVP" implementations I've seen don't use the "switch view only when ready" pattern. The "activities" coming into GWT 2.1 do that however. -- 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.
