MVC Revisited (Struts)

by @im_a_muppet on October 29, 2007

So after implementing some of my design I wanted to make it more maintainable. I started to read up on some patterns that might help. I was going to use the Command Pattern which certainly would help. While researching this pattern however, I read about the Struts Framework which implements the Command Pattern.

Here is a diagram of some of my use cases implemented using the Struts Framework
ERD-1.jpg

Here the Actions (the brown boxes) represent the commands. This framework/pattern promotes maintainability and decoupling of concerns. It connects the View with the Model. The Actions represent the Controller.

This way a website designer can design the front end (View) and not be concerned with how the application is implemented.

Ref: MVC, MVC/Struts

blog comments powered by Disqus
Tweet