Why Framework and MVC ?

Why Framework and MVC in Web or Mobile App development

Framework are tools that help simplifies simple and complex task without hard coding .

In software MVC ( Model View Controller ) really matters a lot and without good knowledge on MVC may leads to a great disaster in future .


The view is the presentation layer, which is responsible for interacting with the user, like HTML ,JSP…


The model is the business logic and data, which may contain POJO , EJB and others



Controller is the application code that responds to user events and integrates the model and view usually implemented as Implemented as servlet.


One of the main benefit of MVC is that, it  allows separation for unit testing at each layer, and also lets

different parties work with the layers independently.


How ?


Suppose there is an error with the View layer , it doesn’t affect the Model layer and when there is also an error in the model part , it doesn’t affect the View Layer.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: