Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Model 2 based

 
Servo Alvo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is Struts the most canonical Model 2 framework ?

Thanks!
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And just how do you measure that? What metric should we use?
 
Servo Alvo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic