An Introduction to MVC

As a programmer, you can take on one or more architectural patterns and one that you may have heard of is the Model View Controller (MVC) pattern. If you are planning on building a functional web application that is easy to test and expand, then you might want to consider using this pattern. I have worked with several PHP frameworks and virtually all of them promote the use of MVC, but you can apply the following information to anything that is based on this architecture.

As a programmer, you can take on one or more architectural patterns and one that you may have heard of is the Model View Controller (MVC) pattern. If you are planning on building a functional web application that is easy to test and expand, then you might want to consider using this pattern. I have worked with several PHP frameworks and virtually all of them promote the use of MVC, but you can apply the following information to anything that is based on this architecture.

To help you understand what each component is for, we will be pretending that we are going to build a simple library application where we will be cataloging books.

Continue reading “An Introduction to MVC”