WPS - your story so far Seems incredible complicated, already

Slides:



Advertisements
Similar presentations
1 CGICGI Common Gateway Interface Server-side Programming Lecture.
Advertisements

Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
Multiple Tiers in Action
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
CS 290C: Formal Models for Web Software Lecture 1: Introduction Instructor: Tevfik Bultan.
Software Engineering in Media Engineering ObjectivesCoursesSkills.
Where Do I Start REFERENCE: LEARNING WEB DESIGN (4 TH EDITION) BY ROBBINS 2012 – CHAPTER 1 (PP. 3 – 14)
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
VS.NET Syllabus By Peter Huang.
Java Omar Rana University of South Asia. Course Overview JAVA  C/C++ and JAVA Comparison  OOP in JAVA  Exception Handling  Streams  Graphics User.
Introduction to Internet Programming (Web Based Application)
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
Working with scripts. HTTP Was too limited Not dynamic.
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
Web Interfaces, Forms & Databases Databases Snyder p HTML Basics Snyder p JavaScript Snyder Chapter 18.
Architecture of the web Client Server retrieved or generated web page.
Session I Chapter 1 - Introduction to Web Development
Case Study Dynamic Website - Three Tier Architecture
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
Web Development Process The Site Development Process Site Construction is one of the last steps.
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
Ajax for Dynamic Web Development Gregory McChesney.
Rich Web Applications for the Enterprise... Creating RWA from Your Oracle Database Presented By: John Krahulec Bizwhazee SEOUC Charlotte February 2009.
Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
The basics of knowing the difference CLIENT VS. SERVER.
JavaScript & Introduction to AJAX
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 13 A & B Programming Languages and the.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Presented by Alexey Vedishchev Developing Web-applications with Grails framework American University of Nigeria, 2016 Intro To MVC Architecture.
G046 – Lecture 2A Recognising Web-Technologies Mr C Johnston ICT Teacher
Dive into web development
Web Technology Solutions
Introduction to.
Web Technologies Computing Science Thompson Rivers University
Design Patterns Source: “Design Patterns”, Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides And Created.
JavaScript and Ajax (Ajax Tutorial)
Chengyu Sun California State University, Los Angeles
Google Web Toolkit Tutorial
Development of Web Applications – Introduction revisited
Chapter 2 Client/Server Applications
AJAX and REST.
MVC and other n-tier Architectures
Design Patterns: Model View Controller
AJAX.
AJAX.
PHP / MySQL Introduction
Introduction to Internet Programming
Web Systems & Technologies
HTML5 Level I Session I Chapter 1 - Introduction to Web Development
Lecture 1: Multi-tier Architecture Overview
Web Application Architectures
Secure Web Programming
Web Application Architectures
Architecture of the web
DR. JOHN ABRAHAM PROFESSOR UTPA
State Handling CS 4640 Programming Languages for Web Applications
Web Technologies Computing Science Thompson Rivers University
生物資訊程式語言應用 Syllabus 2009 Summer
UFCEUS-20-2 Web Programming
Client-Server Model: Requesting a Web Page
Web Application Architectures
State Handling CS 4640 Programming Languages for Web Applications
Web Application Development Using PHP
Presentation transcript:

Introduction to Model-View-Controller (MVC) Web Programming Mukhtar Hakaale, 03.09.2018

WPS - your story so far Seems incredible complicated, already xhtml x2 css javascript dom, dynamic html java applets cgi/perl php x2 web usability x2 xml x2 Seems incredible complicated, already But still not everything (by far not!) How to possibly get it all under one hood? What did you like?

Course of this lecture What is web programming? What is model-view-controller?

Webapps summary Accessed with a Web Browser (client) Over a network Code is mainly run on server Exception: Javascript (also: Java, Flash,..) Code is loaded from server Data is mainly stored on server Webapps can be updated easily… ..without updating the clients!

General 3 tiered structure First tier: client side code (web-browser), e.g. (X)HTML, Javascript, Java, Flash Second tier: server side code, e.g. C/C++, Perl, PHP, Java, Ruby, Python Third tier: server side database

2. Model View Controller Architectural Pattern from Smalltalk (1979) Decouples data and presentation Eases the development

First thought (ok, but not far enough): Server Client Database First thought (ok, but not far enough): Tier 1: View (Client) Tier 2: Controller (Server) Tier 3: Model (Database)

Presentation: Data: View is the user interface (e.g. button) Database Presentation: View is the user interface (e.g. button) Controller is the code (e.g. callback for button) Data: Model is the database

Example Control Flow in MVC User interacts with the VIEW UI CONTROLLER handles the user input (often a callback function attached to UI elements) CONTROLLER updates the MODEL VIEW uses MODEL to generate new UI UI waits for user interaction

Summary Web applications Model – View – Controller Client, Server, Database Easy to maintain, harder to write Model – View – Controller Eases web application development