struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: [OT] MVC / Model 2 for Microsoft ???
Date Fri, 13 Jun 2003 21:19:19 GMT

The major selling point for me was the separation of the business logic
from both the presentation and data layers, along with the extremely
flexible configuration, via struts-config.xml.

This allows me to have my Struts guru (myself for the time being)
concentrate on the ActionForms, Actions, etc. while my web services guy (or
LDAP guy or Database guy) concentrates on the backend, and my web designer
(with negligible Java experience) can work his magic with the JSP, all more
or less concurrently, giving us a time to market 2-3 times faster than the

The fact that I can work at my Linux workstation while my web designer does
his thing in Windows is pretty nice too... ;)


Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
(614) 213-6100

"Giampiero De Ciantis" <> on 06/13/2003 03:29:56 PM

Please respond to "Struts Users Mailing List"

To:   "'Struts Users Mailing List'" <>

Subject:  RE: [OT] MVC / Model 2 for Microsoft ???

I don't think that the current ASP .NET model is too far off of the MVC
path. Mostly I think that MVC isn't enforced, but the foundation is
inherently there.

If I had to do a mapping from struts to ASP .NET I would put things like

.jsp --> .aspx
ActionForm --> Code behind page of .aspx
Action --> Code behind page of .aspx
Model --> any .NET classes or Com objects that your Code behind page calls.

Now, I now this isn't nearly as strict a decoupling as Struts makes, but
(some of) the principles are still there.

What can be seen as both an up-side and down-side about this is that an
.aspx page is automatically paired with the code that can do the validation
as well as the Actions that will be taken when you submit the form.
Basically, everything that is declarative in Struts is programmatic in ASP
.NET. I am sure we all have heard the pros/cons of both of those

I like using ASP .NET for my personal stuff because I can roll out my code
really quickly. But I think it would be hard to use it in an enterprise
environment because it tends to make me write sloppy code.

Struts is the opposite. Too much architecture for personal web-site stuff
(which is becoming less of an issue as the versions roll on), but great for
enterprise apps.


-----Original Message-----
From: David Graham []
Sent: June 13, 2003 10:58 AM
Subject: Re: [OT] MVC / Model 2 for Microsoft ???

>But this makes complete sense, in a sick way.  In a MS environment,
>portability probably isn't as big a concern,

It's no concern at all because you have nothing to port to.

>and while there are certainly other reasons to use MVC, it strikes me that
>the biggest is to maintain abstractions between the various layers.
>If you're a MS shop, you probably have SQL server, ASP and IIS -- and MS
>has little interest in making it easy to change this.  So why spend time
>building up a MVC framework if you know that you're pretty much married to
>certain technologies?

I don't see any connection between MVC and vendor lock in.  Even if you

an MS shop you still need layers to make the app. maintainable.


>No thanks.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Tired of spam? Get advanced junk mail protection with MSN 8.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

This transmission may contain information that is privileged, confidential and/or exempt from
disclosure under applicable law. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution, or use of the information contained herein (including
any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error,
please immediately contact the sender and destroy the material in its entirety, whether in
electronic or hard copy format. Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message