Web Development. HCID 520 User Interface Software & Technology
|
|
- Marcia Wilcox
- 5 years ago
- Views:
Transcription
1 Web Development! HCID 520 User Interface Software & Technology
2
3 Web Browser Timeline 1993: NCSA Mosaic web browser First broadly adopted graphical browser URL bar, back/forward buttons, images, etc Creators go on to found Netscape
4 Web Browser Timeline 1993: NCSA Mosaic web browser First broadly adopted graphical browser URL bar, back/forward buttons, images, etc Creators go on to found Netscape! 1995: JavaScript enables in-page scripting!
5 Web Browser Timeline 1993: NCSA Mosaic web browser First broadly adopted graphical browser URL bar, back/forward buttons, images, etc Creators go on to found Netscape! 1995: JavaScript enables in-page scripting! ~2004: XMLHttpRequest (xhr), allows dynamic content loading, standardized across browsers.
6 Web Browser Timeline 1993: NCSA Mosaic web browser First broadly adopted graphical browser URL bar, back/forward buttons, images, etc Creators go on to found Netscape! 1995: JavaScript enables in-page scripting! ~2004: XMLHttpRequest (xhr), allows dynamic content loading, standardized across browsers.! 2008: Google s V8 and other new JavaScript engines significantly increase performance.
7 Major Browsers Today Name! Layout Engine JavaScript Engine IE Trident Chakra Chrome Blink/WebKit V8 Safari WebKit Nitro (SquirrelFish) Firefox Gecko SpiderMonkey Opera Blink V8! Gecko is derived from Netscape Navigator Blink is derived from Apple s WebKit Chromium is the open-source version of Chrome
8 Web Architecture
9 Server-Side Client-Side Web Server Web Browser Database
10 Server-Side Client-Side Web Server Web Browser Go to URL Database
11 Server-Side Client-Side Web Server HTTP Request Web Browser Go to URL Database
12 Server-Side Client-Side Route Request Web Server HTTP Request Web Browser Go to URL Database
13 Server-Side Client-Side Route Request Process Data Web Server HTTP Request Web Browser Go to URL Database
14 Server-Side Client-Side Route Request Process Data Web Server HTTP Request Web Browser Go to URL SQL Database
15 Server-Side Client-Side Route Request Process Data Build Response Web Server HTTP Request Web Browser Go to URL SQL Database
16 Server-Side Client-Side Route Request Process Data Build Response Send Response Web Server HTTP Request Web Browser Go to URL SQL Database
17 Server-Side Client-Side Route Request Process Data Build Response Send Response Web Server HTTP Request HTTP Response Web Browser Go to URL SQL Database
18 Server-Side Client-Side Route Request Process Data Build Response Send Response Web Server HTTP Request HTTP Response Web Browser Go to URL Get Response SQL Database
19 Server-Side Client-Side Route Request Process Data Build Response Send Response Web Server HTTP Request HTTP Response Web Browser Go to URL Get Response Render Page SQL Database
20 Hypertext Transfer Protocol How browsers and servers talk to each other. Two most common request types! GET: request with all info visible in URL! POST: request with extra data not in URL Example: the contents of a form submission.! To see this in action, type on a command line: telnet google.com 80 then enter GET /!
21 Request Response Headers Content
22 Server-Side Client-Side SQL Web Server HTTP Request HTTP Response Web Browser Database
23 Server-Side SQL Web Server Database Server Technologies Apache (basic server) Java Servlets PHP Ruby on Rails (Ruby) Django (Python) Web Node.js / JavaScript Browser and many others HTTP Request HTTP Response Client-Side Databases MySQL Postgres SQLite MongoDB and many others
24 Server-Side Client-Side Web Server HTTP Request HTTP Response Web Browser SQL What about interactivity? Database
25 HTML Forms <form action= process_form.php method= post > Name: <input type= text name= name ><br> Nationality: <select name= country > <option value= uk >United Kingdom</option> <option value= us >United States</option> </select><br> Agree?: <input type= checkbox name= name ><br> Comments: <textarea name= freetext ></textarea> <br><input type= Submit value= OK > </form>
26 Server-Side Client-Side Web Server HTTP Request HTTP Response Web Browser SQL Database What about interactivity? In the early days, users could submit forms. The server would process the results and return a new page.
27 Server-Side Client-Side Web Server HTTP Request HTTP Response Web Browser SQL Database What about interactivity? In the early days, users could submit forms. The server would process the results and return a new page.! Then, AJAX came along
28 AJAX for Dynamic Content AJAX = Asynchronous JavaScript and XML (Coined in 2005 by Jesse James Garrett) Q: Does anyone actually say this anymore?! Main idea: load new data without having to load an entirely new page. Popularized by new generation of apps: Google Maps, Gmail.! Within JavaScript, use XMLHttpRequest to load data (not just XML! JSON, text, ). then process data and dynamically update page.
29 Single Page Applications With increasing JavaScript performance we can change the relationship of client & server to provide richer web-based applications! Main idea: Never (or rarely) navigate away from a page, instead dynamically load data and update page in-place. Let JavaScript on client (rather than server) manage app flow.! Currently a hot topic and a moving target! Tools include: Backbone.js, Angular, Meteor
30 Server-Side Client-Side SQL Web Server HTTP Request HTTP Response Web Browser Database
31 Server-Side Client-Side Web Server HTTP Request HTTP Response Web Browser SQL Database Model-View-Controller Where is the model? Where is the view? Where is the controller?! It s complicated
32 Model-View-Controller (MVC) What is changing is the relationship of client and server with respect to the MVC pattern!!
33 Model-View-Controller (MVC) What is changing is the relationship of client and server with respect to the MVC pattern!! Forms: Server handles almost all MVC functions. Browser renders HTML (subset of view) and submits forms (subset of controller).!
34 Form Processing SQL Web Server HTTP Request HTTP Response Web Browser Database HTML, CSS, Images! Server provides page content, the browser s job is to render it.
35 Model-View-Controller (MVC) What is changing is the relationship of client and server with respect to the MVC pattern!! Forms: Server handles almost all MVC functions. Browser renders HTML (subset of view) and submits forms (subset of controller).! Single Page Application: Client handles most MVC functions. Client communicates with server to retrieve / update parts of model.!
36 Single Page Application SQL Web Server HTTP Request HTTP Response Web Browser Database Backing Data (JSON)! Server provides access to data. Browser generates HTML; supports interaction & navigation via JavaScript.
37 Model-View-Controller (MVC) What is changing is the relationship of client and server with respect to the MVC pattern!! Forms: Server handles almost all MVC functions. Browser renders HTML (subset of view) and submits forms (subset of controller).! Single Page Application: Client handles most MVC functions. Client communicates with server to retrieve / update parts of model.! In reality, apps often lie in-between!
38 Web Browser as Development Tool
39 Useful Functions to Know Inspect Elements See page structure, see computed CSS values. Modify elements/styles to test or prototype.! JavaScript Console & Debugger Write/test JavaScript directly in browser. Step through your code to find/fix bugs.! Performance Profiling How fast does my site load?
40
41
42
43
44 Discussion
45 Sara: What are WebKits and why are they important?! Taysser: What are XMLHttpRequest objects? What are Style, Layout, and Paint and what is the difference between them? What is DOM nodes?! Zhenxi: how to do web testing under the compatibility across different browsers?! Garrick: What are ways that the usability of the inspector could be enhanced even further for those with less [web dev] experience?
46 Kristen: I'm curious if it is reasonable to imagine a tool where you could create screens in something like Illustrator, tag it with specific functionalities (i.e. input fields, animation, etc.), and then directly translate it into working web/mobile friendly code. If it is not reasonable, what are the barriers to writing tools that allow for greater abstraction when it comes to web/ mobile design?
47 Stuart: In the FAQ section of the Ajax page, one of the questions asked what differentiates Ajax from other asynchronous processing architectures. The answer the developers gave was along the lines of "it's actually being used," in about ten times as many words, and I don't know if I buy that as an explanation. Why did Ajax overtake these solutions so strongly that this ten-year-old architecture is still widely used today?
48 Tobin: json.org has awesome illustrations of how JSON works, which helps to understand how information is sent from client to server these days.
49 JavaScript
50 JavaScript The programming language of the web browser Written by Brendan Eich at Netscape in 10 days. Originally called Mocha, then LiveScript, renamed to JavaScript for marketing purposes. Official standardized name is ECMAScript.! Dynamically-typed scripting language Syntax derived from C; design inspired by Self & Scheme. Has little in common with Java!! Now one of the most widely used languages
51
52 Time to play JavaScript Jeopardy! CATEGORIES:! Hello World! Express Yourself Nothing Compares 2 U Boolean Logic Strung Out Talk Data To Me Variables & Variability Find Your (Control) Flow What s Your Function?
53 Category: Hello World!
54 Category: Hello World! console.log("hello World!");
55 Category: Hello World! console.log("hello World!"); What is console output: Hello World!?
56 Category: Hello World! console.error("uh oh...");
57 Category: Hello World! console.error("uh oh..."); What is console output: Uh oh?
58 Category: Hello World! alert("boom!");
59 Category: Hello World! alert("boom!"); What is an alert dialog stating: BOOM!?
60 Category: Hello World! var num = 5; console.log(num.tofixed(3));
61 Category: Hello World! var num = 5; console.log(num.tofixed(3)); What is console output: 5.000?
62 Category: Hello World! console.log({x:1, y:2});
63 Category: Hello World! console.log({x:1, y:2}); What is console output: Object {x: 1, y: 2}?
64 Category: Express Yourself
65 Category: Express Yourself 2 + 3
66 Category: Express Yourself What is 5?
67 Category: Express Yourself * 5
68 Category: Express Yourself * 5 What is 14? Multiply (*) has higher precedence than add (+).
69 Category: Express Yourself 1 / 2
70 Category: Express Yourself 1 / 2 What is 0.5? Why might some consider this an odd result?
71 Category: Express Yourself 5 % 2
72 Category: Express Yourself 5 % 2 What is 1? This is the modulo (or remainder) operator. It can be very useful.
73 Category: Express Yourself 1 + Math.sqrt(4)
74 Category: Express Yourself 1 + Math.sqrt(4) What is 3? The Math object has many helpful functions and constants.
75 Category: Nothing Compares 2 U
76 Category: Nothing Compares 2 U 5 > 2
77 Category: Nothing Compares 2 U 5 > 2 What is true? JavaScript includes true and false as primitive values of type Boolean.
78 Category: Nothing Compares 2 U 3 <= 3
79 Category: Nothing Compares 2 U 3 <= 3 What is true? The comparison operators are: <, >, <=, >=, ==,!=, ===, and!==
80 Category: Nothing Compares 2 U 2 + 1!= 9 / 3
81 Category: Nothing Compares 2 U 2 + 1!= 9 / 3 What is false?!= is the not-equals operator. Here 3!= 3 is false
82 Category: Nothing Compares 2 U 1 == "1"
83 Category: Nothing Compares 2 U 1 == "1" What is true? Double-equals will convert data types sometimes with odd results!
84 Category: Nothing Compares 2 U 1 === "1"
85 Category: Nothing Compares 2 U 1 === "1" What is false? Triple-equals (a.k.a. strict equal) does not convert data types.
86 Category: Boolean Logic
87 Category: Boolean Logic false true
88 Category: Boolean Logic false true What is true? is the logical OR operator. It is happy if anything is true.
89 Category: Boolean Logic true && false
90 Category: Boolean Logic true && false What is false? && is the logical AND operator. It is happy only if nothing is false.
91 Category: Boolean Logic!true
92 Category: Boolean Logic!true What is false?! is the logical NOT operator.
93 Category: Boolean Logic!(true && false true)
94 Category: Boolean Logic!(true && false true) What is false? && has precedence over, not that it matters here.
95 Category: Strung Out
96 Category: Strung Out "a" + "bc"
97 Category: Strung Out "a" + "bc" What is abc? In addition to adding numbers, + concatenates text strings.
98 Category: Strung Out 'ab' + "c"
99 Category: Strung Out 'ab' + "c" What is abc? Strings can have either single or double quotes.
100 Category: Strung Out "abc".length
101 Category: Strung Out "abc".length What is 3?
102 Category: Strung Out 'abc'.touppercase()
103 Category: Strung Out 'abc'.touppercase() What is ABC? Strings include a number of utility methods.
104 Category: Strung Out "abc".slice(0,1)
105 Category: Strung Out "abc".slice(0,1) What is a? Slice is just one of many useful methods defined on String values.
106 Category: Talk Data To Me
107 Category: Talk Data to Me [0, 1, 2].length
108 Category: Talk Data to Me [0, 1, 2].length What is 3? Arrays are denoted by brackets [] and contain ordered sets of values.
109 Category: Talk Data to Me [4, 5, 6][1]
110 Category: Talk Data to Me [4, 5, 6][1] What is 5? Brackets are also used to lookup values. Array indices start at zero.
111 Category: Talk Data to Me [0, 1, 2].slice(-2)
112 Category: Talk Data to Me [0, 1, 2].slice(-2) What is [1,2]? A negative value tells slice to count backward from the end.
113 Category: Talk Data to Me ({x:1, y:3}).x
114 Category: Talk Data to Me ({x:1, y:3}).x What is 1? Objects contain named values; ({x:1, y:3})[ x ] does the same thing.
115 Category: Talk Data to Me ({x:1, y:3}).z
116 Category: Talk Data to Me ({x:1, y:3}).z What is undefined? z is not defined on this object, and so JavaScript reports undefined.
117 Category: Variables & Variability
118 Category: Variables & Variability var x = 3; x + 4
119 Category: Variables & Variability var x = 3; x + 4 What is 7? Variables store values for later use. Don t forget the var keyword!!
120 Category: Variables & Variability var a = 3; a += 1
121 Category: Variables & Variability var a = 3; a += 1 What is 4? a += 1 adds one to a, then stores the value back in a
122 Category: Variables & Variability var a = 3; a++
123 Category: Variables & Variability var a = 3; a++ What is 3? a++ increases the value of a by one, but returns the previous value
124 Category: Variables & Variability var x = 4, y = 2; x *= y; x + 1
125 Category: Variables & Variability var x = 4, y = 2; x *= y; x + 1 What is 9? *= first multiplies both sides, then updates the left-hand-side value.
126 Category: Variables & Variability var a = {}; var b = a; a.x = 5; b.x
127 Category: Variables & Variability var a = {}; var b = a; a.x = 5; b.x What is 5? Here variables a and b both point to the same object.
128 Category: Variables & Variability var a = []; a.push(1,2,3); a[2]
129 Category: Variables & Variability var a = []; a.push(1,2,3); a[2] What is 3? The push method adds values to an array.
130 Category: Find Your (Control) Flow
131 Category: Find Your (Control) Flow if (5 > Math.round(4.5)) { "Yes"; } else { "No"; }
132 Category: Find Your (Control) Flow if (5 > Math.round(4.5)) { "Yes"; } else { "No"; } What is No? 4.5 rounds up to 5, hence the if statement is false.
133 Category: Find Your (Control) Flow 1 + (1 < 2? 3 : 4)
134 Category: Find Your (Control) Flow 1 + (1 < 2? 3 : 4) What is 4? (a? b : c) is similar to if (a) { b } else { c }
135 Category: Find Your (Control) Flow var a = 0, b = 3; while (b > 0) { a += 1; b -= 2; } a
136 Category: Find Your (Control) Flow var a = 0, b = 3; while (b > 0) { a += 1; b -= 2; } a What is 2? While loops keep running until the test is false.
137 Category: Find Your (Control) Flow var list = [1, 2, 3, 4, 5]; var value = 0; for (var i=0; i<list.length; i+=1) { value += list[i]; } value
138 Category: Find Your (Control) Flow var list = [1, 2, 3, 4, 5]; var value = 0; for (var i=0; i<list.length; i+=1) { value += list[i]; } value What is 15? This for loop sums up the values in the array named list.
139 Category: Find Your (Control) Flow var list = [1, 2, 3, 4, 5]; var value = 0; for (var i=0; i<list.length; i+=1) { value += list[i]; } Initializer (evaluated once) Test (evaluated every loop, loop stops if false) Update (evaluated every loop, except the first one)
140 Category: What s Your Function?
141 Category: What s Your Function? function square(x) { return x*x; } square(2);
142 Category: What s Your Function? function square(x) { return x*x; } square(2); What is 4?
143 Category: What s Your Function?! Function! Keyword Function Name!! function square(x) { return x*x; } Return Statement Function Arguments
144 Category: What s Your Function?! Function! Keyword Function Name!! function square(x) { return x*x; } Return Statement Function Arguments! Arguments are sometimes called parameters or inputs. The return statement determines the output. If omitted, undefined is returned.
145 Category: What s Your Function? function doubt(str) { return str + "?"; } doubt("i like hcid 520 );
146 Category: What s Your Function? function doubt(str) { return str + "?"; } doubt("i like hcid 520 ); What is i like hcid 520?? This is a function that simply adds? to its input.
147 Category: What s Your Function? var ponder = function(str) { return str + "?"; }; ponder("i can haz cheeseburger );
148 Category: What s Your Function? var ponder = function(str) { return str + "?"; }; ponder("i can haz cheeseburger ); What is i can haz cheeseburger?? This is very similar to the last one, but uses an anonymous function.
149 Category: What s Your Function? [0,1,2,3,4].filter(function(x) { return x > 2; });
150 Category: What s Your Function? [0,1,2,3,4].filter(function(x) { return x > 2; }); What is [3, 4]? Array.filter accepts a boolean-valued function as its argument.
151 Category: What s Your Function? function func1(x) { return x + 2; } function func2(f) { return 2 * f(1); } func2(func1);
152 Category: What s Your Function? function func1(x) { return x + 2; } function func2(f) { return 2 * f(1); } func2(func1); What is 6? Functions can be passed around like any other object / variable!
153 Bonus Round! DOMination
154 Assume you are on this page: <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>
155 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! document.queryselector("#header");
156 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! document.queryselector("#header"); What is <div id="header">title</div>? queryselector and queryselectorall take CSS selectors as input.
157 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! document.queryselectorall("p");
158 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! document.queryselectorall("p"); What is all paragraph elements? queryselector and queryselectorall take CSS selectors as input.
159 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! var d = document.queryselector("div"); d.getattribute("id");
160 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! var d = document.queryselector("div"); d.getattribute("id"); What is header? getattribute returns HTML attribute values
161 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! var p = document.queryselector("p.quote"); p.style["font-style"] = "italic";
162 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! var p = document.queryselector("p.quote"); p.style["font-style"] = "italic"; What is italicizes first quote paragraph? The style object allows you to programmatically set CSS styles.
163 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! var p = document.queryselector("p.quote"); p.innertext;
164 Category: DOMination <html> <body> <div id="header">title</div> <p class="quote">paragraph 1</p> <p>paragraph 2</p> <p>paragraph 3</p> <body> </html>! var p = document.queryselector("p.quote"); p.innertext; What is Paragraph 1? innertext is the text within an element (innerhtml is similar).
Networking & The Web. HCID 520 User Interface Software & Technology
Networking & The Web HCID 520 User Interface Software & Technology Uniform Resource Locator (URL) http://info.cern.ch:80/ 1991 HTTP v0.9 Uniform Resource Locator (URL) http://info.cern.ch:80/ Scheme/Protocol
More informationNetworking & The Web. HCID 520 User Interface Software & Technology
Networking & The HCID 520 User Interface Software & Technology Uniform Resource Locator (URL) http://info.cern.ch:80/ 1991 HTTP v0.9 Uniform Resource Locator (URL) http://info.cern.ch:80/ Scheme/Protocol
More informationwelcome to BOILERCAMP HOW TO WEB DEV
welcome to BOILERCAMP HOW TO WEB DEV Introduction / Project Overview The Plan Personal Website/Blog Schedule Introduction / Project Overview HTML / CSS Client-side JavaScript Lunch Node.js / Express.js
More informationClient Side JavaScript and AJAX
Client Side JavaScript and AJAX Client side javascript is JavaScript that runs in the browsers of people using your site. So far all the JavaScript code we've written runs on our node.js server. This is
More informationJavaScript: the Big Picture
JavaScript had to look like Java only less so be Java's dumb kid brother or boy-hostage sidekick. Plus, I had to be done in ten days or something worse than JavaScript would have happened.! JavaScript:
More informationCopyright Descriptor Systems, Course materials may not be reproduced in whole or in part without prior written consent of Joel Barnum
Ajax The notion of asynchronous request processing using the XMLHttpRequest object has been around for several years, but the term "AJAX" was coined by Jesse James Garrett of Adaptive Path. You can read
More informationQiufeng Zhu Advanced User Interface Spring 2017
Qiufeng Zhu Advanced User Interface Spring 2017 Brief history of the Web Topics: HTML 5 JavaScript Libraries and frameworks 3D Web Application: WebGL Brief History Phase 1 Pages, formstructured documents
More informationJavaScript: Introduction, Types
JavaScript: Introduction, Types Computer Science and Engineering College of Engineering The Ohio State University Lecture 19 History Developed by Netscape "LiveScript", then renamed "JavaScript" Nothing
More informationThis course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.
HTML5/CSS3/JavaScript Programming Course Summary Description This class is designed for students that have experience with basic HTML concepts that wish to learn about HTML Version 5, Cascading Style Sheets
More informationJavaScript. The Bad Parts. Patrick Behr
JavaScript The Bad Parts Patrick Behr History Created in 1995 by Netscape Originally called Mocha, then LiveScript, then JavaScript It s not related to Java ECMAScript is the official name Many implementations
More informationJavascript. Many examples from Kyle Simpson: Scope and Closures
Javascript Many examples from Kyle Simpson: Scope and Closures What is JavaScript? Not related to Java (except that syntax is C/Java- like) Created by Brendan Eich at Netscape later standardized through
More informationIndex. C CakePHP framework, 232 Cascading Style Sheets (CSS)
A Absolute link, 61, 62 Agile project management, 15 16 budget management, 18 19 scope management, 19 20 time management, 17 Ajax. See Asynchronous JavaScript and XML (Ajax) Anonymous functions, 183 188
More informationJavaScript CS 4640 Programming Languages for Web Applications
JavaScript CS 4640 Programming Languages for Web Applications 1 How HTML, CSS, and JS Fit Together {css} javascript() Content layer The HTML gives the page structure and adds semantics Presentation
More informationBackground. Javascript is not related to Java in anyway other than trying to get some free publicity
JavaScript I Introduction JavaScript traditionally runs in an interpreter that is part of a browsers Often called a JavaScript engine Was originally designed to add interactive elements to HTML pages First
More informationAgenda. INTRODUCTION TO WEB DEVELOPMENT AND HTML <Lecture 1> 1/20/2013. What is a Web Developer? Rommel Anthony Palomino Spring
INTRODUCTION TO WEB DEVELOPMENT AND Rommel Anthony Palomino Spring 2013 2 What is a Web Developer? Agenda History of the Internet Web 2.0 What is web development today Technology part of it
More information3 The Building Blocks: Data Types, Literals, and Variables
chapter 3 The Building Blocks: Data Types, Literals, and Variables 3.1 Data Types A program can do many things, including calculations, sorting names, preparing phone lists, displaying images, validating
More informationBEFORE CLASS. If you haven t already installed the Firebug extension for Firefox, download it now from
BEFORE CLASS If you haven t already installed the Firebug extension for Firefox, download it now from http://getfirebug.com. If you don t already have the Firebug extension for Firefox, Safari, or Google
More informationIGME-330. Rich Media Web Application Development I Week 1
IGME-330 Rich Media Web Application Development I Week 1 Developing Rich Media Apps Today s topics Tools we ll use what s the IDE we ll be using? (hint: none) This class is about Rich Media we ll need
More information,
Weekdays:- 1½ hrs / 3 days Fastrack:- 1½hrs / Day [Class Room and Online] ISO 9001:2015 CERTIFIED ADMEC Multimedia Institute www.admecindia.co.in 9911782350, 9811818122 Welcome to one of the highly professional
More informationCS312: Programming Languages. Lecture 21: JavaScript
CS312: Programming Languages Lecture 21: JavaScript Thomas Dillig Thomas Dillig, CS312: Programming Languages Lecture 21: JavaScript 1/25 Why Discuss JavaScript? JavaScript is very widely used and growing
More informationTable of Contents WWW. WWW history (2) WWW history (1) WWW history. Basic concepts. World Wide Web Aka The Internet. Client side.
Table of Contents WWW World Wide Web Aka The Internet Karst Koymans Informatics Institute University of Amsterdam (version 44, 2014/10/06 11:35:56 UTC) Tuesday, October 7, 2014 WWW history Basic concepts
More informationWhy Discuss JavaScript? CS312: Programming Languages. Lecture 21: JavaScript. JavaScript Target. What s a Scripting Language?
Why Discuss JavaScript? CS312: Programming Languages Lecture 21: JavaScript Thomas Dillig JavaScript is very widely used and growing Any AJAX application heavily relies on JavaScript JavaScript also has
More informationThe course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.
Web Development WEB101: Web Development Fundamentals using HTML, CSS and JavaScript $2,495.00 5 Days Replay Class Recordings included with this course Upcoming Dates Course Description This 5-day instructor-led
More informationJavaScript Functions, Objects and Array
JavaScript Functions, Objects and Array Defining a Function A definition starts with the word function. A name follows that must start with a letter or underscore, followed by any number of letters, digits,
More informationTooling for Ajax-Based Development. Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc.
Tooling for Ajax-Based Development Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. 1 Agenda In The Beginning Frameworks Tooling Architectural Approaches Resources 2 In The Beginning 3
More informationCS50 Quiz Review. November 13, 2017
CS50 Quiz Review November 13, 2017 Info http://docs.cs50.net/2017/fall/quiz/about.html 48-hour window in which to take the quiz. You should require much less than that; expect an appropriately-scaled down
More informationCOMP284 Scripting Languages Lecture 14: JavaScript (Part 1) Handouts
COMP284 Scripting Languages Lecture 14: JavaScript (Part 1) Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University of Liverpool
More informationWeb UI. Survey of Front End Technologies. Web Challenges and Constraints. Desktop and mobile devices. Highly variable runtime environment
Web UI Survey of Front End Technologies Web UI 1 Web Challenges and Constraints Desktop and mobile devices - mouse vs. touch input, big vs. small screen Highly variable runtime environment - different
More information5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web
Objectives JavaScript, Sixth Edition Chapter 1 Introduction to JavaScript When you complete this chapter, you will be able to: Explain the history of the World Wide Web Describe the difference between
More informationJavaScript. History. Adding JavaScript to a page. CS144: Web Applications
JavaScript Started as a simple script in a Web page that is interpreted and run by the browser Supported by most modern browsers Allows dynamic update of a web page More generally, allows running an arbitrary
More informationAJAX ASYNCHRONOUS JAVASCRIPT AND XML. Laura Farinetti - DAUIN
AJAX ASYNCHRONOUS JAVASCRIPT AND XML Laura Farinetti - DAUIN Rich-client asynchronous transactions In 2005, Jesse James Garrett wrote an online article titled Ajax: A New Approach to Web Applications (www.adaptivepath.com/ideas/essays/archives/000
More informationProgramming the World Wide Web by Robert W. Sebesta
Programming the World Wide Web by Robert W. Sebesta Tired Of Rpg/400, Jcl And The Like? Heres A Ticket Out Programming the World Wide Web by Robert Sebesta provides students with a comprehensive introduction
More informationStandard 1 The student will author web pages using the HyperText Markup Language (HTML)
I. Course Title Web Application Development II. Course Description Students develop software solutions by building web apps. Technologies may include a back-end SQL database, web programming in PHP and/or
More informationJavaScript. History. Adding JavaScript to a page. CS144: Web Applications
JavaScript Started as a simple script in a Web page that is interpreted and run by the browser Supported by most modern browsers Allows dynamic update of a web page More generally, allows running an arbitrary
More informationProgramming language components
Programming language components syntax: grammar rules for defining legal statements what's grammatically legal? how are things built up from smaller things? semantics: what things mean what do they compute?
More informationJavaScript: Getting Started
coreservlets.com custom onsite training JavaScript: Getting Started Slides 2016 Marty Hall, hall@coreservlets.com For additional materials, please see http://www.coreservlets.com/. The JavaScript tutorial
More informationAjax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be
More informationFront End Programming
Front End Programming Mendel Rosenblum Brief history of Web Applications Initially: static HTML files only. Common Gateway Interface (CGI) Certain URLs map to executable programs that generate web page
More informationBrief Intro to Firebug Sukwon Oh CSC309, Summer 2015
Brief Intro to Firebug Sukwon Oh soh@cs.toronto.edu CSC309, Summer 2015 Firebug at a glance One of the most popular web debugging tool with a colleccon of powerful tools to edit, debug and monitor HTML,
More informationWeb Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh
Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style
More informationJavaScript Specialist v2.0 Exam 1D0-735
JavaScript Specialist v2.0 Exam 1D0-735 Domain 1: Essential JavaScript Principles and Practices 1.1: Identify characteristics of JavaScript and common programming practices. 1.1.1: List key JavaScript
More informationCS Final Exam Review Suggestions - Spring 2018
CS 328 - Final Exam Review Suggestions p. 1 CS 328 - Final Exam Review Suggestions - Spring 2018 last modified: 2018-05-03 Based on suggestions from Prof. Deb Pires from UCLA: Because of the research-supported
More informationHTML5 MOCK TEST HTML5 MOCK TEST I
http://www.tutorialspoint.com HTML5 MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to HTML5 Framework. You can download these sample mock tests at your
More informationJavaScript CS 4640 Programming Languages for Web Applications
JavaScript CS 4640 Programming Languages for Web Applications 1 How HTML, CSS, and JS Fit Together {css} javascript() Content layer The HTML gives the page structure and adds semantics Presentation
More informationCITS1231 Web Technologies. Ajax and Web 2.0 Turning clunky website into interactive mashups
CITS1231 Web Technologies Ajax and Web 2.0 Turning clunky website into interactive mashups What is Ajax? Shorthand for Asynchronous JavaScript and XML. Coined by Jesse James Garrett of Adaptive Path. Helps
More informationClient vs Server Scripting
Client vs Server Scripting PHP is a server side scripting method. Why might server side scripting not be a good idea? What is a solution? We could try having the user download scripts that run on their
More informationWelcome to CS50 section! This is Week 10 :(
Welcome to CS50 section! This is Week 10 :( This is our last section! Final project dates Official proposals: due this Friday at noon Status report: due Monday, Nov 28 at noon Hackathon: Thursday, Dec
More informationHTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION
HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION page 1 / 5 page 2 / 5 html css javascript web pdf We have curated a list of free development
More informationPart 1: jquery & History of DOM Scripting
Karl Swedberg: Intro to JavaScript & jquery 0:00:00 0:05:00 0:05:01 0:10:15 0:10:16 0:12:36 0:12:37 0:13:32 0:13:32 0:14:16 0:14:17 0:15:42 0:15:43 0:16:59 0:17:00 0:17:58 Part 1: jquery & History of DOM
More informationIndex. Ray Nicholus 2016 R. Nicholus, Beyond jquery, DOI /
Index A addclass() method, 2 addeventlistener, 154, 156 AJAX communication, 20 asynchronous operations, 110 expected and unexpected responses, 111 HTTP, 110 web sockets, 111 AJAX requests DELETE requests,
More informationStudent, Perfect Final Exam May 25, 2006 ID: Exam No CS-081/Vickery Page 1 of 6
Student, Perfect Final Exam May 25, 2006 ID: 9999. Exam No. 3193 CS-081/Vickery Page 1 of 6 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives aid on
More informationMASTERS COURSE IN FULL STACK WEB APPLICATION DEVELOPMENT W W W. W E B S T A C K A C A D E M Y. C O M
MASTERS COURSE IN FULL STACK WEB APPLICATION DEVELOPMENT W W W. W E B S T A C K A C A D E M Y. C O M COURSE OBJECTIVES Enable participants to develop a complete web application from the scratch that includes
More informationBasics of Web. First published on 3 July 2012 This is the 7 h Revised edition
First published on 3 July 2012 This is the 7 h Revised edition Updated on: 03 August 2015 DISCLAIMER The data in the tutorials is supposed to be one for reference. We have made sure that maximum errors
More informationElementary Computing CSC 100. M. Cheng, Computer Science
Elementary Computing CSC 100 1 Basic Programming Concepts A computer is a kind of universal machine. By using different software, a computer can do different things. A program is a sequence of instructions
More informationWeb browser architecture
Web browser architecture Web Oriented Technologies and Systems Master s Degree Course in Computer Engineering - (A.Y. 2017/2018) What is a web browser? A web browser is a program that retrieves documents
More informationMonday. A few notes on homework I want ONE spreadsheet with TWO tabs
CS 1251 Page 1 Monday Sunday, September 14, 2014 2:38 PM A few notes on homework I want ONE spreadsheet with TWO tabs What has passed before We ended last class with you creating a function called givemeseven()
More informationWorking with Database. Client-server sides AJAX JSON Data formats Working with JSON data Request Response Bytes Database
Working with Database Client-server sides AJAX JSON Data formats Working with JSON data Request Response Bytes Database Web programming Basic Web Programming: HTML CSS JavaScript For more Dynamic Web Programming:
More informationJavaScript Programming
JavaScript Programming Course ISI-1337B - 5 Days - Instructor-led, Hands on Introduction Today, JavaScript is used in almost 90% of all websites, including the most heavilytrafficked sites like Google,
More informationAjax Ajax Ajax = Asynchronous JavaScript and XML Using a set of methods built in to JavaScript to transfer data between the browser and a server in the background Reduces the amount of data that must be
More informationThe World Wide Web is a technology beast. If you have read this book s
What Is a Markup Language and Why Do I Care? The World Wide Web is a technology beast. If you have read this book s introduction, you should have at least a passing familiarity with how the Web started
More informationJavaScript Introduction
JavaScript Introduction Web Technologies I. Zsolt Tóth University of Miskolc 2016 Zsolt Tóth (UM) JavaScript Introduction 2016 1 / 31 Introduction Table of Contents 1 Introduction 2 Syntax Variables Control
More informationWeb Development. Lab. Bases de Dados e Aplicações Web MIEIC, FEUP 10/11. Sérgio Nunes
Web Development Lab. Bases de Dados e Aplicações Web MIEIC, FEUP 10/11 Sérgio Nunes 1 Summary The Internet The World Wide Web Web Technologies 2 Introduction 3 Previous Experience? 4 Web and Internet What
More informationTIME SCHEDULE MODULE TOPICS PERIODS. HTML Document Object Model (DOM) and javascript Object Notation (JSON)
COURSE TITLE : ADVANCED WEB DESIGN COURSE CODE : 5262 COURSE CATEGORY : A PERIODS/WEEK : 4 PERIODS/SEMESTER : 52 CREDITS : 4 TIME SCHEDULE MODULE TOPICS PERIODS 1 HTML Document Object Model (DOM) and javascript
More informationAJAX and JSON. Day 8
AJAX and JSON Day 8 Overview HTTP as a data exchange protocol Components of AJAX JSON and XML XMLHttpRequest Object Updating the HTML document References Duckett, chapter 8 http://www.w3schools.com/ajax/default.asp
More informationUNIT -II. Language-History and Versions Introduction JavaScript in Perspective-
UNIT -II Style Sheets: CSS-Introduction to Cascading Style Sheets-Features- Core Syntax-Style Sheets and HTML Style Rle Cascading and Inheritance-Text Properties-Box Model Normal Flow Box Layout- Beyond
More informationCNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies
CNIT 129S: Securing Web Applications Ch 3: Web Application Technologies HTTP Hypertext Transfer Protocol (HTTP) Connectionless protocol Client sends an HTTP request to a Web server Gets an HTTP response
More informationThe course is supplemented by numerous hands-on labs that help attendees reinforce their theoretical knowledge of the learned material.
Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc WA2442 Introduction to JavaScript Objectives This intensive training course
More informationDeveloping Ajax Web Apps with GWT. Session I
Developing Ajax Web Apps with GWT Session I Contents Introduction Traditional Web RIAs Emergence of Ajax Ajax ( GWT ) Google Web Toolkit Installing and Setting up GWT in Eclipse The Project Structure Running
More informationINTRODUCTION TO HTML5! HTML5 Page Structure!
INTRODUCTION TO HTML5! HTML5 Page Structure! What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since
More informationAt the Forge JavaScript Reuven M. Lerner Abstract Like the language or hate it, JavaScript and Ajax finally give life to the Web. About 18 months ago, Web developers started talking about Ajax. No, we
More informationINF5750. Introduction to JavaScript and Node.js
INF5750 Introduction to JavaScript and Node.js Outline Introduction to JavaScript Language basics Introduction to Node.js Tips and tools for working with JS and Node.js What is JavaScript? Built as scripting
More informationLesson: Web Programming(4) Omid Jafarinezhad Sharif University of Technology
Lesson: Web Programming(4) Omid Jafarinezhad Sharif University of Technology Materials HTTP, JavaScript, CSS, HTML5, ReactJs, Flow, Progressive Web App Golang, NodeJs, MongoDB, PostgreSQL, Redis Docker,
More informationModule 5 JavaScript, AJAX, and jquery. Module 5. Module 5 Contains 2 components
Module 5 JavaScript, AJAX, and jquery Module 5 Contains 2 components Both the Individual and Group portion are due on Monday October 30 th Start early on this module One of the most time consuming modules
More informationLecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes
Course Title Course Code WEB DESIGNING TECHNOLOGIES DCE311 Lecture : 3 Course Credit Practical : Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be able to: Understand
More informationWeek 13 Thursday (with Page 5 corrections)
Week 13 Thursday (with Page 5 corrections) Quizzes: HTML/CSS and JS available and due before 10 pm next Tuesday, May 1 st. You may do your own web research to answer, but do not ask classmates, friends,
More informationCISC 1600 Lecture 2.4 Introduction to JavaScript
CISC 1600 Lecture 2.4 Introduction to JavaScript Topics: Javascript overview The DOM Variables and objects Selection and Repetition Functions A simple animation What is JavaScript? JavaScript is not Java
More informationUNIT 3 SECTION 1 Answer the following questions Q.1: What is an editor? editor editor Q.2: What do you understand by a web browser?
UNIT 3 SECTION 1 Answer the following questions Q.1: What is an editor? A 1: A text editor is a program that helps you write plain text (without any formatting) and save it to a file. A good example is
More informationWeb Site Design and Development. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM
Web Site Design and Development CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM By the end of this course you will be able to Design a static website from scratch Use HTML5 and CSS3 to build the site you
More informationWeb standards and IE8
Hell is other browsers - Sartre Web standards and IE8 Peter-Paul Koch (ppk) http://twitter.com/ppk http://quirksmode.org MS Dev Days, 29 mei 2009 http://quirksmode.org Web standards W3C specifications
More informationCSC 405 Computer Security. Web Security
CSC 405 Computer Security Web Security Alexandros Kapravelos akaprav@ncsu.edu (Derived from slides by Giovanni Vigna and Adam Doupe) 1 The XMLHttpRequest Object Microsoft developers working on Outlook
More informationc122mar413.notebook March 06, 2013
These are the programs I am going to cover today. 1 2 Javascript is embedded in HTML. The document.write() will write the literal Hello World! to the web page document. Then the alert() puts out a pop
More informationIntro To Javascript. Intro to Web Development
Intro To Javascript Intro to Web Development Preamble I don't like JavaScript But with JS your feelings don't matter. Browsers don't work well with any other language so you have to write code that either:
More informationWorld Wide Web Aka The Internet. Karst Koymans. Friday, October 7, 2016
. WWW World Wide Web. Aka The Internet Karst Koymans Informatics Institute University of Amsterdam (version 16.3, 2016/10/06 13:25:13 UTC) Friday, October 7, 2016 Karst Koymans (UvA) WWW Friday, October
More informationIN Development in Platform Ecosystems Lecture 2: HTML, CSS, JavaScript
IN5320 - Development in Platform Ecosystems Lecture 2: HTML, CSS, JavaScript 27th of August 2018 Department of Informatics, University of Oslo Magnus Li - magl@ifi.uio.no 1 Today s lecture 1. 2. 3. 4.
More informationWednesday. Wednesday, September 17, CS 1251 Page 1
CS 1251 Page 1 Wednesday Wednesday, September 17, 2014 8:20 AM Here's another good JavaScript practice site This site approaches things from yet another point of view it will be awhile before we cover
More informationWeb Design and Application Development
Yarmouk University Providing Fundamental ICT Skills for Syrian Refugees (PFISR) Web Design and Application Development Dr. Abdel-Karim Al-Tamimi altamimi@yu.edu.jo Lecture 01 A. Al-Tamimi 1 Lecture Overview
More informationREST AND AJAX. Introduction. Module 13
Module 13 REST AND AJAX Introduction > Until now we have been building quite a classic web application: we send a request to the server, the server processes the request, and we render the result and show
More informationIntro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming
Intro to Programming Unit 7 Intro to Programming 1 What is Programming? 1. Programming Languages 2. Markup vs. Programming 1. Introduction 2. Print Statement 3. Strings 4. Types and Values 5. Math Externals
More informationUpload to your web space (e.g., UCSC) Due this Thursday 4/8 in class Deliverable: Send me an with the URL Grading:
CS 183 4/6/2010 Build a simple HTML page, topic of your choice Will use this as a basis and gradually and add more features as the class progresses Need to be done with your favorite text editor, no visual
More informationScripting. Web Architecture and Information Management [./] Spring 2009 INFO (CCN 42509) Contents
Contents Scripting Contents Web Architecture and Information Management [./] Spring 2009 INFO 190-02 (CCN 42509) Erik Wilde, UC Berkeley School of Information [http://creativecommons.org/licenses/by/3.0/]
More informationTable of Contents WWW. WWW history (2) WWW history (1) WWW history. Basic concepts. World Wide Web Aka The Internet. Client side.
Table of Contents WWW World Wide Web Aka The Internet Karst Koymans Informatics Institute University of Amsterdam (version 163, 2016/10/06 13:25:13 UTC) Friday, October 7, 2016 WWW history Basic concepts
More informationWeb Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel
Web Application Development (WAD) V th Sem BBAITM(Unit-1) By: Binit Patel Introduction: PHP (Hypertext Preprocessor) was invented by Rasmus Lerdorf in 1994. First it was known as Personal Home Page. Later
More informationKyle Rainville Littleton Coin Company
Kyle Rainville Littleton Coin Company What is JSON? Javascript Object Notation (a subset of) Data Interchange Format Provides a way for communication between platforms & languages Derived from Javascript
More informationFrontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević
Frontend guide Everything you need to know about HTML, CSS, JavaScript and DOM Dejan V Čančarević Today frontend is treated as a separate part of Web development and therefore frontend developer jobs are
More informationAjax- XMLHttpResponse. Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of
Ajax- XMLHttpResponse XMLHttpResponse - A Read only field Returns a value such as ArrayBuffer, Blob, Document, JavaScript object, or a DOMString, based on the value of XMLHttpRequest.responseType. This
More informationJavaScript Fundamentals_
JavaScript Fundamentals_ HackerYou Course Syllabus CLASS 1 Intro to JavaScript Welcome to JavaScript Fundamentals! Today we ll go over what programming languages are, JavaScript syntax, variables, and
More informationWeb 2.0 and AJAX Security. OWASP Montgomery. August 21 st, 2007
Web 2.0 and AJAX Security OWASP Montgomery August 21 st, 2007 Overview Introduction Definition of Web 2.0 Basics of AJAX Attack Vectors for AJAX Applications AJAX and Application Security Conclusions 1
More informationEnhancing Web Pages with JavaScript
Enhancing Web Pages with JavaScript Introduction In this Tour we will cover: o The basic concepts of programming o How those concepts are translated into JavaScript o How JavaScript can be used to enhance
More informationIntroduction to Seaside
Introduction to Seaside Randal L. Schwartz, merlyn@stonehenge.com Version 2.01 on 20 July 2009 This document is copyright 2008, 2009 by Randal L. Schwartz, Stonehenge Consulting Services, Inc. This work
More informationSession 6. JavaScript Part 1. Reading
Session 6 JavaScript Part 1 Reading Reading Wikipedia en.wikipedia.org/wiki/javascript Web Developers Notes www.webdevelopersnotes.com/tutorials/javascript/ JavaScript Debugging www.w3schools.com/js/js_debugging.asp
More information