Chapter 2. The Model-View-Controller Design Pattern: Model 2 JSP Development


Chapter 2. The Model-View-Controller Design Pattern: 'Model 2' JSP Development

IN THIS CHAPTER

  • The Model-View-Controller Design Pattern

  • The Origins of Model 1 / Model 2

  • How Struts Implements the Model 2 Pattern

  • Conclusions

Architecting great software takes skill, experience, and a lot of time. Of course, it goes much faster if you start with a significant amount of your code already written ” especially if that code is based on architecture and designs that are time- tested and proven.

The goal of this chapter is to demonstrate how this principle is embodied in Struts. You'll also gain an understanding of the architecture and design patterns that Struts is based on. This will make you a better Struts developer and help you get up to speed faster.

In addition, you'll be presented a summary of the history and development of these design patterns. The perspective this provides will deepen your appreciation for the value that Struts adds to a development project. It will also help you recognize opportunities to reuse the patterns again in the future.

Specifically, in this chapter you will learn

  • The MVC design pattern and how it speeds development and makes managing changes easier.

  • What Model 1 and Model 2 JSP development are and where these terms originated

  • How Struts implements the Model 2 pattern



Struts Kick Start
Struts Kick Start
ISBN: 0672324725
EAN: 2147483647
Year: 2002
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net