Home > Information Technology > Mvc Design Pattern

Mvc Design Pattern

October 1st, 2011

Mvc Design Pattern


Free Online Articles Directory




Why Submit Articles?
Top Authors
Top Articles
FAQ
ABAnswers

Publish Article

0 && $.browser.msie ) {
var ie_version = parseInt($.browser.version);
if(ie_version Login


Login via


Register
Hello
My Home
Sign Out

Email

Password


Remember me?
Lost Password?

Home Page > Computers > Programming > Mvc Design Pattern

Mvc Design Pattern

Posted: Nov 14, 2008 |Comments: 0
| Views: 907 |




]]>

MVC Design Pattern

 

Model-view-controller

 

Model-view-controller (MVC) is an architectural pattern used in software engineering. In complex computer applications that present a large amount of data to the user, a developer often wishes to separate data (model) and user interface (View) concerns, so that changes to the user interface will not affect data handling, and that the data can be reorganized without changing the user interface. The model-view-controller solves this problem by decoupling data access and business logic from data presentation and user interaction, by introducing an intermediate component: the controller.

]]>

 

Pattern description

 

It is common to split an application into separate layers: presentation (UI), domain, and data access. In MVC the presentation layer is further separated into view and controller. MVC encompasses more of the architecture of an application than is typical for a design pattern.

 

Model
The domain-specific representation of the information on which the application operates. It is a common misconception that the model is another name for the domain layer. Domain logic adds meaning to raw data (e.g., calculating if today is the user’s birthday, or the totals, taxes and shipping charges for shopping cart items).
Many applications use a persistent storage mechanism (such as a database) to store data. MVC does not specifically mention the data access layer because it is understood to be underneath or encapsulated by the Model.
View
Renders the model into a form suitable for interaction, typically a user interface element.
Controller
Processes and responds to events, typically user actions, and may invoke changes on the model.

 

MVC is often seen in web applications, where the view is the actual HTML page, and the controller is the code which gathers dynamic data and generates the content within the HTML. Finally the model is represented by the actual content, usually stored in a database or XML files.

 

Though MVC comes in different flavors, control flow generally works as follows:

 

1. The user interacts with the user interface in some way (e.g., user presses a button)
2. A controller handles the input event from the user interface, often via a registered handler or callback.
3. The controller accesses the model, possibly updating it in a way appropriate to the user’s action (e.g., controller updates user’s shopping cart).
4. A view uses the model to generate an appropriate user interface (e.g., view produces a screen listing the shopping cart contents). The view gets its own data from the model. The model has no direct knowledge of the view.
5. The user interface waits for further user interactions, which begins the cycle anew.

Watch your traffic increase just by submitting articles with us, click here to get started.
Liked this article? Click here to publish it on your website or blog, it’s free and easy!

TuVinhSoft .,JSC -
About the Author:

TuVinhSoft – Software Development Company from Vietnam provides Offshore software development, Software Outsourcing, Staff augmentation, Application Software Development, Web Design and Development, Business Process Outsourcing, Search Engine Optimization to USA, UK, Japan etc.

]]>
Questions and Answers

Ask our experts your Programming related questions here…

Ask

200 Characters left

What are the design patterns in .net ?
How many types of design patterns in java ?
What are the design patterns used in spring ?

Rate this Article

1
2
3
4
5

vote(s)
1 vote(s)

Feedback

Print

Re-Publish

0) {
ch_selected = Math.floor(Math.random()*ch_queries.length);
if(ch_selected == ch_queries.length) ch_selected–;
ch_query = ch_queries[ch_selected];
}
}catch(e){
ch_query = document.title;
}
]]>

Source:  http://www.articlesbase.com/programming-articles/mvc-design-pattern-643233.html

Article Tags:
mvc design pattern, mvc model view controller, framework

Related Videos

Related Articles

Latest Programming Articles
More from TuVinhSoft .,JSC


How Web Application Development Evolved

In this video, I go over the evolution of Web application development. You will discover how it progressed from simple HTML-based documents into Rich Internet Applications, where the user interface controls the flow of the application and makes simple requests for data and business logic. In this paradigm, server-side code is not generating new HTML pages every step of the way. (03:49)


How to build Java applications using Servoy Developer

Learn how to build portable Java apps. Servoy has a lot to offer Java developers and a nice way to deploy multiuser Web 2.0 applications from a single code base.
Pros:
• All open source tools and methods here.
• A very rich visual programming environment that can quickly build apps.
Cons: There is a lot to get used to and the user interface is a bit hard to navigate.
Servoy USA, 299 W. Hillcrest Drive Suite 115, Thousand Oaks, CA 91360
(805) 624-4959, http://www.servoy.com
(03:32)


Learn about the EventDemo User Interface in ASP.NET

Overview at the EventDemo User Interface. (03:44)


How to Set the Various User Interface Properties with ASP.NET Site Builder

Learn how to set the various User Interface with ASP.NET Site Builder. (04:31)


How to Build User Interface Design With Visual Studio Toolbox

Learn how create a Graphical User Interface with Visual Studio Toolbox. (07:49)

Simple J2ee Model View Controller Type II Framework

Application presents content to users in numerous pages containing various data. Also, the engineering team responsible for designing, implementing, and maintaining the application is composed of individuals with different skill sets.
One of the major concerns with the web applications is the separation between the logics that deal with Presentation itself, the data to be presented and the one that controls flow of logic. It is as an answer to such concerns that the Model-View-Controller or MVC pattern was designed.
This paper provides the solution to modularize the user interface functionality of a Web application so that individual parts can be easily modified, that is model view controller framework.

By:
Madhusudan Pagadalal

Computers>
Information Technologyl
May 27, 2007
lViews: 475

CakePHP and Code Igniter – Two Best PHP frameworks to Build Solid Applications

If you want to create an application that gives your work solid support and provides good yielding power then PHP is the way to go about. There are various frameworks within PHP like CakePHP, Code Igniter and Zend that work on MVC to bring out the best from a developer and help them create amazing applications.

By:
Nidhi Agarwall

Internet>
Web Designl
Sep 16, 2011

Factors to look at while choosing a PHP Framework

The world of PHP frameworks has grown wide and large. Developers have numerous choices of frameworks to choose from. There is no silver lining to decide on the right framework.

By:
optisoll

Internet>
Web Designl
Sep 15, 2011

Is Zend Framework Development the Best Framework?

There might be a difference of opinion here, but statistics and surveys conducted in the past couple of years suggest that Zend Framework is the most popular development frame work among developers and designers. The rising demand for Zend Framework experts supports this point of view.

By:
Eric Johnsonl

Computers>
Softwarel
Mar 23, 2011

Latest Web Development Features for Zend Framework

Latest Web Development Features for Zend Framework, About Zend Framework, Advantages of using Zend Framework, Zend framework based development / customization / solution.

By:
Osd Indial

Computers>
Softwarel
Sep 01, 2008
lViews: 514

Build Great Application For iPhone Using COCOS2D

Outsource iPhone development teams a can now build great apps for all models of the iPhone. This software can now facilitate iPhone application development by simplifying the creation.

By:
dharmeshtalaviyal

Computers>
Programmingl
Oct 01, 2011

Important Branding Tips For Sharepoint 2010

The knowledge framework for sustaining the SharePoint 2010 implementations. It is therefore essential to know how SharePoint 2010 operates when creating various branding tips. Companies can consult about SharePoint 2010 implementation so as to satisfy the needs for maintaining proper documentation. It was only possible to develop a gallery layout with the folder list that is always visible on the left side. With the newly invented SharePoint development.

By:
dharmeshtalaviyal

Computers>
Programmingl
Sep 30, 2011

Is HTML5 Development proving to be a risk for Flash and Silverlight?

HTML5 is a groundbreaking upgrade to how the web was being presented and can serve to be an effective game-changer to the era of web application development. So where do RIA technologies like Adobe Flash, Microsoft Silverlight, etc. stand?

By:
Elan Technologiesl

Computers>
Programmingl
Sep 29, 2011

The Benefits of Ecommerce Design Kent

A good business website should be attractive and user friendly for the viewer/customer, but should also be easy for the business owner. Building a great website shouldn’t be left to chance.

By:
Grahaml

Computers>
Programmingl
Sep 28, 2011

Making Use of the Skills and Expertise of your Programmers

Of course, other programming language can be used but you should be able to know which one will work best for your web application development; this will not only save you time but also resource and effort.

By:
Jimmy Hiltonl

Computers>
Programmingl
Sep 28, 2011

Enjoying Halong Bay – a Masterpiece of Nature

Nowadays, Vietnam is well-known to friends around world with many beauty-spots, historical sites and friendly people, as one of the safest countries. Halong Bay is one of the most impressive destination of our country, where has not only the masterpiece beauty of nature but also marked the national history.

By:
TuVinhSoft .,JSCl

Travel>
Cruisingl
Jun 02, 2011

Joomla Website Development

Joomla is an open source Content Management System that helps in building websites and web applications. At TuVinhSoft we provide Joomla for patron’s expediency and flexibility to manage website on own. The flexibility comes from ali – on modules provided which can be easily installed as and when required. Joomla also comes with a user frienuly administrative system that allows a patron to alter the content and the layout as and when required.

By:
TuVinhSoft .,JSCl

Internet>
Web Designl
Jul 22, 2010

Offshore Development Center In Vietnam

What is an ODC? Offshore development center (ODC) is one of the business models by which a provision of offshore programming is undertaken.

By:
TuVinhSoft .,JSCl

Business>
Outsourcingl
Mar 15, 2010

Flex Development Vietnam

TuVinhSoft Flex developers offer complete web development solutions for creating and delivering Rich Internet Applications (RIA) using Flash, Flex and Adobe-Flash Media Server. TuVinhSoft’s flex developers have a rich experience in the application of various graphical and multimedia tools that make your project unique. The expertise of our Flex Developers in offering Flex Development Services will definitely make your project technically extraordinary and more interactive and engaging.

By:
TuVinhSoft .,JSCl

Business>
Outsourcingl
Dec 16, 2009

LAMP Application Development Vietnam

TuVinhSoft provides offshore development and Outsourcing services based on several years of experience in executing projects based on Linux, Apache, MySQL and PHP (LAMP) technologies.

By:
TuVinhSoft .,JSCl

Business>
Outsourcingl
Oct 22, 2009

Add new Comment

Your Name: *

Your Email:

Comment Body: *

 

Verification code:*

* Required fields

Submit

Your Articles Here
It’s Free and easy

Sign Up Today


Author Navigation

My Home
Publish Article
View/Edit Articles
View/Edit Q&A
Edit your Account
Manage Authors
Statistics Page
Personal RSS Builder
My Home
Edit your Account
Update Profile
View/Edit Q&A
Publish Article
Author Box


TuVinhSoft .,JSC has 14 articles online

Contact Author

Subscribe to RSS

Print article

Send to friend

Re-Publish article

Articles Categories
All Categories

Advertising
Arts & Entertainment
Automotive
Beauty
Business
Careers
Computers
Education
Finance
Food and Beverage
Health
Hobbies
Home and Family
Home Improvement
Internet
Law
Marketing
News and Society
Relationships
Self Improvement
Shopping
Spirituality
Sports and Fitness
Technology
Travel
Writing

Computers

Computer Forensics
Computer Games
Data Recovery
Databases
E-Learning
File Types
Hardware
Information Technology
Intra-net
Laptops
Networks
Operating Systems
Programming
Security
Software

]]>

Need Help?
Contact Us
FAQ
Submit Articles
Editorial Guidelines
Blog

Site Links
Recent Articles
Top Authors
Top Articles
Find Articles
Site Map
Mobile Version

Webmasters
RSS Builder
RSS
Link to Us

Business Info
Advertising

Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2011 Free Articles by ArticlesBase.com, All rights reserved.

TuVinhSoft – Software Development Company from Vietnam provides Offshore software development, Software Outsourcing, Staff augmentation, Application Software Development, Web Design and Development, Business Process Outsourcing, Search Engine Optimization to USA, UK, Japan etc.

Information Technology ,

  1. No comments yet.
  1. No trackbacks yet.

Powered by Yahoo! Answers