Understanding the basic need of MVC architecture
In this post i would like to explain about basic need of MVC architecture while develop the complex applications. What is MVC is explained in my earlier post. I will explain this approach with small example.
Target : Identify the Red ball in the box from the three balls ( red, green and white )
Case 1:
In this case all balls are in the one box. Identify the all red balls is very difficult. Here we can find it in the first pick or we have to check the all balls in the box. It is very time consuming. And not easy to identify.
Understanding the basic need of MVC architecture | Anil Labs
Case 2:
In this case we have two boxes. First box contains red and white balls. Second box contains green bals.Compare to first case it is easy to identify. But there is confuse in identify the target in first box. Here also we to spend less time compare to first case but spend time to identify. We can find it first pick or check all balls in the box. Here identify the red balls from two balls so it very to identifying.
Understanding the basic need of MVC architecture | Anil Labs
Case 3:
In this case we have three boxes. First box contanins red balls, second one is white balls and third one is green balls. It is very easy to identify the red balls in this case. With very less time compare to above two case we can identify. There is no confuse while choosing or identify the red balls.
Understanding the basic need of MVC architecture | Anil Labs
Comments
Post a Comment