Browser As The New OS
CS520 Web Programming Application can be used from anywhere Introduction to Ajax Easy application distribution and deployment Greatly simplifies system administration Chengyu Sun No software to download, install, and California State University, Los Angeles update Centralized data management
So why it didn’t happen??
Disadvantages of Web Applications Interactivity Issues
Usually requires high bandwidth Conventional GUI application Storing data remotely Rich event model Responsive Privacy No network delay Reliability Partial redraw Limited number of GUI components Web application
Compared to, e.g. Simple request-response model http://java.sun.com/docs/books/tutorial/ui/feature Not so responsive s/compWin.html Send request, wait for response Interactivity issues Full page refresh
HTML Event Models JavaScript
HTML 4 Event Model Interpreted language HTML 4.01 Specification - Originally developed by Netscape http://www.w3.org/TR/REC- html40/interact/scripts.html#h-18.2.3 Syntax is similar to Java Limited but widely supported Web Server Standard Event Model DOM Level 2 HTML Specification - http://www.w3.org/TR/DOM-Level-2- Client-side Core Server-side Events/events.html Browser specific event models Browser
1 Core JavaScript Client-Side JavaScript
Mainly covers language syntax, which is Embed JavsScript in HTML
kind of similar to Java