Download MVC - Western Washington University

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Cascading Style Sheets wikipedia , lookup

URL redirection wikipedia , lookup

Transcript
MVC
Greg Phelps
Trent Spangler
AGENDA

What is MVC

Web Forms vs MVC

Example

Learn More!
Model:
The business rules, logic, and data.
Controller:
Handles the user interaction and input logic.
Example: procedures, methods, functions
View:
Representation of model data.
Examples: any user interface, web page, application
WEB FORMS vs MVC?
WEB FORMS (PROS)


Rapid Application Development (RAD)
•
Drag and drop controls
•
Mechanisms behind controls and pages are hidden
Maturity
•
Smaller learning curve for developers
•
More robust legacy framework
WEB FORMS (CONS)

Less control over html produced due to RAD
MVC (PROS)

“Separation of Concerns”, encapsulation, & modularity

Multiple forms on one page*

Similar to other non-Microsoft frameworks

Test Driven Development is facilitated
MVC (CONS)

Developer needs to be fairly competent in HTML
and CSS

The Views are HTML structures that are written
from scratch by the developer

MVC is relatively new

Higher cost

Bigger learning curve
EXAMPLE
WHERE YOU CAN LEARN MORE!