Hi Thomas, I checked this URL http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html, for GWT 2.1 but didnt find much information about Activities. Is it explained somewhere else. Can you share such info/link so i can look into it dont reinvent everything. I am about to start implementing "switch view only when ready" pattern but if its present in 2.1 then i would love to use it instead of writing my own.
Thanks, Ravi. On Jun 17, 10:59 am, Thomas Broyer <t.bro...@gmail.com> wrote: > On 16 juin, 15:31, Tristan <tristan.slomin...@gmail.com> 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 google-web-tool...@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.