aspose file tools*
The moose likes Struts and the fly likes Model 2 based Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Model 2 based" Watch "Model 2 based" New topic
Author

Model 2 based

Servo Alvo
Greenhorn

Joined: Jan 13, 2010
Posts: 24
Hi,

Is Struts the most canonical Model 2 framework ?

Thanks!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Canonical in what sense?

It's certainly been popular, particularly Struts 1. Personally I look to older Smalltalk GUI frameworks for canonical MVC implementations.
Servo Alvo
Greenhorn

Joined: Jan 13, 2010
Posts: 24
Exactly that sense: like the old Smalltalk GUI frameworks....

So, Struts 1 and 2 are the most conformant to it ?

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

And just how do you measure that? What metric should we use?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Servo Alvo
Greenhorn

Joined: Jan 13, 2010
Posts: 24
Actually I have no metrics. I just picked up (and trusted) information on Brian's page. Does it procede?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

Well, without metrics, how can on say that one framework has more MVC-ness than another?

They're all just approximations anyways. True MVC, just isn't possible on the web. Model 2 is just a good approximation.
Servo Alvo
Greenhorn

Joined: Jan 13, 2010
Posts: 24
Bear, I'm a newbie. Maybe you can tell me some metrics and some ranks on them (there must be a rank!)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

That's my point. There aren't any metrics that measure "MVC-ness". So trying to measure it, or to assign "rank" isn't really an exercise with a point.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Model 2 based