MVC (Model View Controller): StopStarting From Scratch
In this article we will explorer the concept of pattern and pattern programming.Go into the depth of MVC (Model View Controller) pattern and how it has beenimplemented in context of web application development.
What are Patterns?
A pattern is a solution to a problem in a given context. As it becomes reliable itcan be followed over and over.We apply patterns in our day to day behavior; in fact human brain is pattern recognizingmachine. It is so brilliant at a pattern creating and pattern recognizing that we hardly ever think twice about pattern that we are applying.Do we ever think about the route that we are going to follow when we move from home tooffice? Well that’s because pattern is in working.So patterns are very normal to human, and why not apply patterns to the programming aswell. With the introduction of high level language and programming become more andmore specific to domains we can see that several patterns are formed and applied tocomputer programming as well.
What is Pattern Programming?
Before moving further lets clear this out that, No pattern programming is not alibrary or class or even a piece of code.Pattern programming is set of method to apply a standard solution to a specific type of problem in your code. They are simply guidelines, not hard and fast rules. Other peoplemight have run across the same type of problems that all programmers run across, andthey developed some good methods to handle those problems. These are called patterns. Now once these common sets of solutions to the problems have been set, they can beshared and talked about in common way by programmers across the world. When programmers hear a specific patterns being talked about then they instantly have an idea