Re: MVP vs PureMVC

2011-04-12 Thread gianni
We've been using PureMVC at organization for many years, and when I
created our first GWT project, I decided to keep things consistent. So
far, it's been smooth sailing, however I haven't done any memory
profiling.

Overall though if you've used PureMVC before, then you'll be able to
dive right in and start building your project. GWT projects being no
different than any of the other platforms PureMVC has been ported for.

On Apr 10, 3:55 pm, Y2i  wrote:
> I use MVP as described 
> herehttp://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd...
> together with 
> RFhttp://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.htmland
> editorshttp://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html
>
> So far there are no major complaints.  Activities and places are nicely
> integrated with the browser history.  I also like the fact that MVP support
> does not exist in GWT but can be easily created as described in the first
> link.

-- 
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-toolkit@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.



Re: MVP vs PureMVC

2011-04-10 Thread Y2i
I use MVP as described here 
http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html
together with RF 
http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html and 
editors http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html

So far there are no major complaints.  Activities and places are nicely 
integrated with the browser history.  I also like the fact that MVP support 
does not exist in GWT but can be easily created as described in the first 
link.

-- 
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-toolkit@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.



Re: MVP vs PureMVC

2011-04-10 Thread Rodolphe Gomes
No opinion or experience of production of one of theses solutions ?
Thanks for any help

On Apr 8, 8:36 am, Rodolphe Gomes  wrote:
> I am talking abouthttp://puremvc.org/(NOT the concept MVC).
> There is a sample 
> :http://trac.puremvc.org/Demo_Java_MultiCore_GWT_EmployeeAdmin
>
> I have used it during one year on RCP (Eclipse plugin) and it is
> wonderfull. So I wonder if it is not better than MVP, wich is young
> and just a way to develop (not a complete library or framework).
>
> I thin mediator inPureMVCare like the EventBus...
>
> On 8 avr, 04:27, Brian Lough  wrote:
>
>
>
>
>
>
>
> >http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> > http://www.youtube.com/watch?v=PDuhR18-EdM
>
> > Hope those url's work, if you
> > haven't seen them already.
>
> > I'm leery of what you might mean by "pureMVC" as like more IT concepts, it
> > can get muddled: MVP being no exception.  I've implemented or worked with a
> > bunch of MVC implementations, J2EE and otherwise.  MVP is worth the effort
> > required to move to it, though, like MVC, there is no "pure" implementation
> > of it.  David Chandler gives a great synopsis of it in the first url: Ray
> > Ryan's video is the second.
>
> > No MVC implementation I've worked with since 1988 has been easy or less than
> > onerous to test, really at any level.  There is always too much inbreeding
> > of the layers.  MVP doesn't solve this, but can, if done right.  With MVP, I
> > typically get 90%+ code coverage on unit tests.  I can't get anywhere near
> > that with standard J2EE "Best Practices" MVC.
>
> > On Thu, Apr 7, 2011 at 7:55 AM, Rodolphe Gomes 
> > wrote:
>
> > > Hello,
>
> > > I am still having doubts between integrating MVP orPureMVC.
> > > Does anyone has any production experience - drawbacks  ?
>
> > > Thanks a lot
>
> > > --
> > > 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-toolkit@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.

-- 
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-toolkit@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.



Re: MVP vs PureMVC

2011-04-07 Thread Rodolphe Gomes
I am talking about http://puremvc.org/ (NOT the concept MVC).
There is a sample : 
http://trac.puremvc.org/Demo_Java_MultiCore_GWT_EmployeeAdmin

I have used it during one year on RCP (Eclipse plugin) and it is
wonderfull. So I wonder if it is not better than MVP, wich is young
and just a way to develop (not a complete library or framework).



I thin mediator in PureMVC are like the EventBus...


On 8 avr, 04:27, Brian Lough  wrote:
> http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> http://www.youtube.com/watch?v=PDuhR18-EdM
>
> Hope those url's work, if you
> haven't seen them already.
>
> I'm leery of what you might mean by "pureMVC" as like more IT concepts, it
> can get muddled: MVP being no exception.  I've implemented or worked with a
> bunch of MVC implementations, J2EE and otherwise.  MVP is worth the effort
> required to move to it, though, like MVC, there is no "pure" implementation
> of it.  David Chandler gives a great synopsis of it in the first url: Ray
> Ryan's video is the second.
>
> No MVC implementation I've worked with since 1988 has been easy or less than
> onerous to test, really at any level.  There is always too much inbreeding
> of the layers.  MVP doesn't solve this, but can, if done right.  With MVP, I
> typically get 90%+ code coverage on unit tests.  I can't get anywhere near
> that with standard J2EE "Best Practices" MVC.
>
> On Thu, Apr 7, 2011 at 7:55 AM, Rodolphe Gomes 
> wrote:
>
>
>
>
>
>
>
> > Hello,
>
> > I am still having doubts between integrating MVP or PureMVC.
> > Does anyone has any production experience - drawbacks  ?
>
> > Thanks a lot
>
> > --
> > 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-toolkit@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.

-- 
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-toolkit@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.



Re: MVP vs PureMVC

2011-04-07 Thread Brian Lough
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6a47d4ac1bb9a3b3

http://www.youtube.com/watch?v=PDuhR18-EdM

Hope those url's work, if you
haven't seen them already.

I'm leery of what you might mean by "pureMVC" as like more IT concepts, it
can get muddled: MVP being no exception.  I've implemented or worked with a
bunch of MVC implementations, J2EE and otherwise.  MVP is worth the effort
required to move to it, though, like MVC, there is no "pure" implementation
of it.  David Chandler gives a great synopsis of it in the first url: Ray
Ryan's video is the second.

No MVC implementation I've worked with since 1988 has been easy or less than
onerous to test, really at any level.  There is always too much inbreeding
of the layers.  MVP doesn't solve this, but can, if done right.  With MVP, I
typically get 90%+ code coverage on unit tests.  I can't get anywhere near
that with standard J2EE "Best Practices" MVC.

On Thu, Apr 7, 2011 at 7:55 AM, Rodolphe Gomes wrote:

> Hello,
>
> I am still having doubts between integrating MVP or PureMVC.
> Does anyone has any production experience - drawbacks  ?
>
> Thanks a lot
>
> --
> 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-toolkit@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.
>
>

-- 
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-toolkit@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.



Re: MVP vs PureMVC

2011-04-07 Thread Isuru Madusanka
Drawbacks of MVC
 Increased complexity

If reading this page doesn’t convince of you the complexity of this pattern,
consider all of the auxiliary patterns that co-occur with MVC.
 Close coupling of views and controllers to model

Changes to the model interface require parallel changes in the view and may
require additional changes to the controller. certain code changes become
more difficult.
 Potential for excessive updates

The change propagation mechanism can be inefficient when frequent model
changes require many change notifications. This is generally not as much of
a problem if a passive model is used.
 Close coupling between view and controller

strict separation is difficult if not impossible.


There is a great article on MVC
http://www.phpwact.org/pattern/model_view_controller

To be honest, in my projects I never faced any troubles using MVC.

On Thu, Apr 7, 2011 at 8:25 PM, Rodolphe Gomes wrote:

> Hello,
>
> I am still having doubts between integrating MVP or PureMVC.
> Does anyone has any production experience - drawbacks  ?
>
> Thanks a lot
>
> --
> 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-toolkit@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.
>
>

-- 
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-toolkit@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.



MVP vs PureMVC

2011-04-07 Thread Rodolphe Gomes
Hello,

I am still having doubts between integrating MVP or PureMVC.
Does anyone has any production experience - drawbacks  ?

Thanks a lot

-- 
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-toolkit@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.