here's an example i wrote that walks through place service, hope that helps with place service concepts. note that I got feedback that two types of place events that i implemented here are not necessary and that one would be sufficient, but i haven't had the time to refactor yet. it should however capture the essence of what a place service does. I too am waiting for 2.1 to settle and see where Google wants to go with that, in the mean time this is a production system description:
http://code.google.com/p/handlebars/wiki/PlaceServiceOverview 2010/6/17 Jaroslav Záruba <jaroslav.zar...@gmail.com> > I searched too but have found only this: > > http://code.google.com/p/google-web-toolkit/source/browse/branches/2.1/bikeshed/src/com/google/gwt/app/place/ > <http://code.google.com/p/google-web-toolkit/source/browse/branches/2.1/bikeshed/src/com/google/gwt/app/place/>It > seems to be missing in 2.1 m1 yet. > > > On Thu, Jun 17, 2010 at 12:30 PM, Ravi Sharma <ping2r...@gmail.com> wrote: > >> 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<google-web-toolkit%2bunsubscr...@googlegroups.com> >> . >> 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 google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > 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 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.