MVC - (base display on model, not controller) 4 MODEL...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
ANNOUNCEMENTS No posting of code in the forum Check class announcements daily 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MODEL-VIEW-CONTROLLER (MVC) Model for GUI programming (Xerox PARC ’78) Separates GUI into 3 components 1. Model application data 2. View visual interface 3. Controller user interaction Model View Controller
Background image of page 2
MVC MODEL OF GUI DESIGN Model Should perform actual work Should be independent of the GUI But can provide access methods Controller Lets user control what work the program is doing Design of controller depends on model View Lets user see what the program is doing Should not display what controller thinks is happening
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (base display on model, not controller) 4 MODEL VIEW-CONTROLLER How should we design our systems using this model? Example: AverageComputation.html Example: AverageComputationMVC.html Lets think about our projects and the use of MVC 5 INNERHTML PROPERTY Property defining: HTML code Text occurring between the opening and closing tags of the element Allows you to modify/define HTML content Example: GetContent.html Example: ModifyContent.html What happens if you keep selecting the Modify button? PROJECT #3 Quick overview of what you need to do Any questions? 6 IN-CLASS LAB 7...
View Full Document

Page1 / 7

MVC - (base display on model, not controller) 4 MODEL...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online