Saturday, March 16, 2013

Re: Aw: what kind of MVP to use, what is "current" best practice

Thank you very much for this discussion. I found it very helpful in clarifying Activities, Places, and MVP.

I've got my server side architecture figured out mostly (other than Guice/DI). Now this helps me to put into place my client side architecture (other than GIN/DI).

Now I just need to spend some more time wrapping my head around DI and how exactly to make it work for my project. I've looked at most of the examples on the GIN and Guice project pages but I just haven't really been able to tie them into my project cleanly yet. Perhaps it will be easier for me to do on the client side while using MVP + Activities and Places.


On Wednesday, April 27, 2011 11:45:28 AM UTC-4, Thomas Broyer wrote:


On Wednesday, April 27, 2011 4:55:06 PM UTC+2, tanteanni wrote:
Is it possible (or probably preferable) to "aid" the implementation of MVP by a MVP-Framework (like those mentioned above)? or would this raise some conflicts with gwt's places and ativities?

GWTP and Mvp4g both do much more than just "MVP" (because you really don't need any kind of framework for MVP: just create two interfaces, two implementations of those interfaces and you're done; the hard part is the lifecycle of your "components", and how you "plug" them together, and this is where activities, GWTP and Mvp4g chime in), so they indeed "conflict" with the activities framework (that's the deal with frameworks vs. toolkits/libraries).
In the end, you'll have to choose one of them three. My choice is activities, but YMMV, and both GWTP and Mvp4g are very good frameworks (made by really nice and skillful guys). It's just that I don't like frameworks, and "activities" is so lightweight that it's hardly more than a toolkit: if there's a part of it you don't like, you can very easily replace it with your own, because you still have to do the bootstrap yourself (contrary to most said "frameworks"; see, with GWTP your EntryPoint is almost empty, and with Mvp4g you don't even have your own EntryPoint!)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate