开发者

(Model/View/Controller)MVC [closed]

开发者_如何学编程 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

what is the MVC and why i use it in Struts


MVC is a design pattern on which Struts is based. You can read more about it here.


MVC is one of the architectural pattern (see: http://en.wikipedia.org/wiki/Architectural_pattern_(computer_science) )

It is used because it allowe to separate application logic from GUI (in fact this is little more complicated). Thanks to that each part of the application (GUI and app logic) can be developed separately.

Whole pattern is very well described on Wikipedia: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜