JavaScript: Client-Side Scripting. Chapter 6
|
|
|
- Evelyn Jacobs
- 10 years ago
- Views:
Transcription
1 JavaScript: Client-Side Scripting Chapter 6 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of Web Development
2 Section 1 of 8 WHAT IS JAVASCRIPT
3 What is JavaScript JavaScript runs right inside the browser JavaScript is dynamically typed JavaScript is object oriented in that almost everything in the language is an object the objects in JavaScript are prototype-based rather than class-based, which means that while JavaScript shares some syntactic features of PHP, Java or C#, it is also quite different from those languages
4 What isn t JavaScript It s not Java Although it contains the word Java, JavaScript and Java are vastly different programming languages with different uses. Java is a full-fledged compiled, objectoriented language, popular for its ability to run on any platform with a JVM installed. Conversely, JavaScript is one of the world s most popular interpreted languages, with fewer of the object-oriented features of Java, and runs directly inside the browser, without the need for the JVM.
5 Client-Side Scripting Let the client compute
6 Client-Side Scripting It s good There are many advantages of client-side scripting: Processing can be offloaded from the server to client machines, thereby reducing the load on the server. The browser can respond more rapidly to user events than a request to a remote server ever could, which improves the user experience. JavaScript can interact with the downloaded HTML in a way that the server cannot, creating a user experience more like desktop software than simple HTML ever could.
7 Client-Side Scripting There are challenges The disadvantages of client-side scripting are mostly related to how programmers use JavaScript in their applications. There is no guarantee that the client has JavaScript enabled The idiosyncrasies between various browsers and operating systems make it difficult to test for all potential client configurations. What works in one browser, may generate an error in another. JavaScript-heavy web applications can be complicated to debug and maintain.
8 Client-Side Flash JavaScript is not the only type of client-side scripting. Browser Plug-ins Flash
9 Client-Side Applets Java Applets Java applets are written in and are separate objects included within an HTML document via the <applet> tag
10 JavaScript History JavaScript was introduced by Netscape in their Navigator browser back in JavaScript is in fact an implementation of a standardized scripting language called ECMAScript JavaScript was only slightly useful to many users
11 HTTP request-reponse loop Without JavaScript
12 JavaScript in Modern Times AJAX JavaScript became a much more important part of web development in the mid 2000s with AJAX. AJAX is both an acronym as well as a general term. As an acronym it means Asynchronous JavaScript And XML. The most important feature of AJAX sites is the asynchronous data requests.
13 Asynchronous data requests The better AJAX way
14 Section 2 of 8 JAVASCRIPT DESIGN PRINCIPLES
15 Layers They help organize When designing software to solve a problem, it is often helpful to abstract the solution a little bit to help build a cognitive model in your mind that you can then implement. Perhaps the most common way of articulating such a cognitive model is via the term layer. In object-oriented programming, a software layer is a way of conceptually grouping programming classes that have similar functionality and dependencies.
16 Layers Common Layers Presentation layer. Classes focused on the user interface. Business layer. Classes that model real-world entities, such as customers, products, and sales. Data layer. Classes that handle the interaction with the data sources.
17 Layers Just a conceptual idea
18 Section 3 of 8 WHERE DOES JAVASCRIPT GO?
19 Where does JavaScript go? JavaScript can be linked to an HTML page in a number of ways. Inline Embedded External
20 Inline JavaScript Mash it in Inline JavaScript refers to the practice of including JavaScript code directly within certain HTML attributes Inline JavaScript is a real maintenance nightmare
21 Embedded JavaScript Better Embedded JavaScript refers to the practice of placing JavaScript code within a <script> element
22 External JavaScript Better JavaScript supports this separation by allowing links to an external file that contains the JavaScript. By convention, JavaScript external files have the extension.js.
23 Section 4 of 8 SYNTAX
24 JavaScript Syntax We will briefly cover the fundamental syntax for the most common programming constructs including variables, assignment, conditionals, loops, and arrays before moving on to advanced topics such as events and classes.
25 Variables Assignment
26 Comparison Operators True or not True Operator Description Matches (x=9) == Equals (x==9) is true (x=="9") is true === Exactly equals, including type (x==="9") is false (x===9) is true <, > Less than, Greater Than (x<5) is false <=, >= Less than or equal, greater than or equal (x<=9) is true!= Not equal (4!=x) is true!== Not equal in either value or type (x!=="9") is true (x!==9) is false
27 Conditionals If, else if,, else JavaScript s syntax is almost identical to that of PHP, Java, or C when it comes to conditional structures such as if and if else statements. In this syntax the condition to test is contained within ( ) brackets with the body contained in { } blocks.
28 Loops Round and round we go Like conditionals, loops use the ( ) and { } blocks to define the condition and the body of the loop. You will encounter the while and for loops While loops normally initialize a loop control variable before the loop, use it in the condition, and modify it within the loop. var i=0; // initialise the Loop Control Variable while(i < 10){ //test the loop control variable } i++; //increment the loop control variable
29 Functions Functions are the building block for modular code in JavaScript, and are even used to build pseudo-classes, which you will learn about later. They are defined by using the reserved word function and then the function name and (optional) parameters. Since JavaScript is dynamically typed, functions do not require a return type, nor do the parameters require type.
30 Functions Example Therefore a function to raise x to the yth power might be defined as: function power(x,y){ } var pow=1; for (var i=0;i<y;i++){ } And called as power(2,10); return pow; pow = pow*x;
31 Alert Not really used anymore, console instead The alert() function makes the browser show a pop-up to the user, with whatever is passed being the message displayed. The following JavaScript code displays a simple hello world message in a pop-up: alert ( "Good Morning" ); Using alerts can get tedious fast. When using debugger tools in your browser you can write output to a log with: console.log("put Messages Here"); And then use the debugger to access those logs.
32 Errors using try and catch When the browser s JavaScript engine encounters an error, it will throw an exception. These exceptions interrupt the regular, sequential execution of the program and can stop the JavaScript engine altogether. However, you can optionally catch these errors preventing disruption of the program using the try catch block
33 Throw your own Exceptions that is. Although try-catch can be used exclusively to catch built-in JavaScript errors, it can also be used by your programs, to throw your own messages. The throw keyword stops normal sequential execution, just like the built-in exceptions
34 Section 5 of 8 JAVASCRIPT OBJECTS
35 JavaScript Objects Objects not Classes JavaScript is not a full-fledged object-oriented programming language. It does not have classes per se, and it does not support many of the patterns you d expect from an objectoriented language like inheritance and polymorphism. The language does, however, support objects.
36 JavaScript Objects Not full-fledged O.O. Objects can have constructors, properties, and methods associated with them. There are objects that are included in the JavaScript language; you can also define your own kind of objects.
37 Constructors Normally to create a new object we use the new keyword, the class name, and ( ) brackets with n optional parameters inside, comma delimited as follows: var someobject = new ObjectName(p1,p2,..., pn); For some classes, shortcut constructors are defined var greeting = "Good Morning"; vs the formal: var greeting = new String("Good Morning");
38 Properties Use the dot Each object might have properties that can be accessed, depending on its definition. When a property exists, it can be accessed using dot notation where a dot between the instance name and the property references that property. //show someobject.property to the user alert(someobject.property);
39 Methods Use the dot, with brackets Objects can also have methods, which are functions associated with an instance of an object. These methods are called using the same dot notation as for properties, but instead of accessing a variable, we are calling a method. someobject.dosomething(); Methods may produce different output depending on the object they are associated with because they can utilize the internal properties of the object.
40 Objects Included in JavaScript A number of useful objects are included with JavaScript including: Array Boolean Date Math String Dom objects
41 Arrays Arrays are one of the most used data structures. In practice, this class is defined to behave more like a linked list in that it can be resized dynamically, but the implementation is browser specific, meaning the efficiency of insert and delete operations is unknown. The following code creates a new, empty array named greetings: var greetings = new Array();
42 Arrays Initialize with values To initialize the array with values, the variable declaration would look like the following: var greetings = new Array("Good Morning", "Good Afternoon"); or, using the square bracket notation: var greetings = ["Good Morning", "Good Afternoon"];
43 Section 6 of 8 THE DOCUMENT OBJECT MODEL (DOM)
44 The DOM Document Object Model JavaScript is almost always used to interact with the HTML document in which it is contained. This is accomplished through a programming interface (API) called the Document Object Model. According to the W3C, the DOM is a: Platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure and style of documents.
45 The DOM Seems familiar, because it is! We already know all about the DOM, but by another name. The tree structure from Chapter 2 (HTML) is formally called the DOM Tree with the root, or topmost object called the Document Root.
46 DOM Nodes In the DOM, each element within the HTML document is called a node. If the DOM is a tree, then each node is an individual branch. There are: element nodes, text nodes, and attribute nodes All nodes in the DOM share a common set of properties and methods.
47 DOM Nodes Element, text and attribute nodes
48 DOM Nodes Essential Node Object properties Property attributes Description Collection of node attributes childnodes firstchild lastchild nextsibling nodename nodetype nodevalue parentnode previoussibling A NodeList of child nodes for this node First child node of this node. Last child of this node. Next sibling node for this node. Name of the node Type of the node Value of the node Parent node for this node. Previous sibling node for this node.
49 Document Object One root to ground them all The DOM document object is the root JavaScript object representing the entire HTML document. It contains some properties and methods that we will use extensively in our development and is globally accessible as document. // specify the doctype, for example html var a = document.doctype.name; // specify the page encoding, for example ISO var b = document.inputencoding;
50 Document Object Document Object Methods Method createattribute() Description Creates an attribute node createelement() createtextnode() getelementbyid(id) getelementsbytagname(name) Creates an element node Create a text node Returns the element node whose id attribute matches the passed id parameter. Returns a nodelist of elements whose tag name matches the passed name parameter.
51 Accessing nodes getelementbyid(), getelementsbytagname()
52 Modifying a DOM element The document.write() method is used to create output to the HTML page from JavaScript. The modern JavaScript programmer will want to write to the HTML page, but in a particular location, not always at the bottom Using the DOM document and HTML DOM element objects, we can do exactly that using the innerhtml property
53 Modifying a DOM element More verbosely, and validated Although the innerhtml technique works well (and is very fast), there is a more verbose technique available to us that builds output using the DOM. DOM functions createtextnode(), removechild(), and appendchild() allow us to modify an element in a more rigorous way
54 Section 7 of 8 JAVASCRIPT EVENTS
55 JavaScript Events A JavaScript event is an action that can be detected by JavaScript. We say then that an event is triggered and then it can be caught by JavaScript functions, which then do something in response.
56 JavaScript Events A brave new world In the original JavaScript world, events could be specified right in the HTML markup with hooks to the JavaScript code (and still can). As more powerful frameworks were developed, and website design and best practices were refined, this original mechanism was supplanted by the listener approach.
57 JavaScript Events Two approaches
58 Inline Event Handler Approach For example, if you wanted an alert to pop-up when clicking a <div> you might program: <div id="example1" onclick="alert('hello')">click for pop-up</div> The problem with this type of programming is that the HTML markup and the corresponding JavaScript logic are woven together. It does not make use of layers; that is, it does not separate content from behavior.
59 Listener Approach Two ways to set up listeners
60 Listener Approach Using functions What if we wanted to do something more elaborate when an event is triggered? In such a case, the behavior would have to be encapsulated within a function, as shown in Listing 6.12.
61 Listener Approach Anonymous functions An alternative to that shown in Listing 6.12 is to use an anonymous function (that is, one without a name), as shown in Listing 6.13.
62 Event Object No matter which type of event we encounter, they are all DOM event objects and the event handlers associated with them can access and manipulate them. Typically we see the events passed to the function handler as a parameter named e. function somehandler(e) { // e is the event that triggered this handler. }
63 Event Object Several Options Bubbles. If an event s bubbles property is set to true then there must be an event handler in place to handle the event or it will bubble up to its parent and trigger an event handler there. Cancelable. The Cancelable property is also a Boolean value that indicates whether or not the event can be cancelled. preventdefault. A cancelable default action for an event can be stopped using the preventdefault() method in the next slide
64 Event Object Prevent the default behaviour
65 Event Types There are several classes of event, with several types of event within each class specified by the W3C: mouse events keyboard events form events frame events
66 Mouse events Event onclick ondblclick onmousedown onmouseup onmouseover onmouseout onmousemove Description The mouse was clicked on an element The mouse was double clicked on an element The mouse was pressed down over an element The mouse was released over an element The mouse was moved (not clicked) over an element The mouse was moved off of an element The mouse was moved while over an element
67 Keyboard events Event Description onkeydown The user is pressing a key (this happens first) onkeypress The user presses a key (this happens after onkeydown) onkeyup The user releases a key that was down (this happens last)
68 Keyboard events Example <input type="text" id="keyexample"> The input box above, for example, could be listened to and each key pressed echoed back to the user as an alert as shown in Listing 6.15.
69 Form Events Event onblur onchange onfocus Description A form element has lost focus (that is, control has moved to a different element, perhaps due to a click or Tab key press. Some <input>, <textarea> or <select> field had their value change. This could mean the user typed something, or selected a new choice. Complementing the onblur event, this is triggered when an element gets focus (the user clicks in the field or tabs to it) onreset onselect onsubmit HTML forms have the ability to be reset. This event is triggered when that happens. When the users selects some text. This is often used to try and prevent copy/paste. When the form is submitted this event is triggered. We can do some pre-validation when the user submits the form in JavaScript before sending the data on to the server.
70 Form Events Example
71 Section 8 of 8 FORMS
72 Validating Forms You mean pre-validating right? Writing code to prevalidate forms on the client side will reduce the number of incorrect submissions, thereby reducing server load. There are a number of common validation activities including validation, number validation, and data validation.
73 Validating Forms Empty field
74 Validating Forms Empty field If you want to ensure a checkbox is ticked, use code like that below. var inputfield=document.getelementbyid("license"); if (inputfield.type=="checkbox"){ } if (inputfield.checked) //Now we know the box is checked
75 Validating Forms Number Validation
76 Submitting Forms Submitting a form using JavaScript requires having a node variable for the form element. Once the variable, say, formexample is acquired, one can simply call the submit() method: var formexample = document.getelementbyid("loginform"); formexample.submit(); This is often done in conjunction with calling preventdefault() on the onsubmit event.
JavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. [email protected] www.javapassion.com
JavaScript Basics & HTML DOM Sang Shin Java Technology Architect Sun Microsystems, Inc. [email protected] www.javapassion.com 2 Disclaimer & Acknowledgments Even though Sang Shin is a full-time employee
What is AJAX? Ajax. Traditional Client-Server Interaction. What is Ajax? (cont.) Ajax Client-Server Interaction. What is Ajax? (cont.
What is AJAX? Ajax Asynchronous JavaScript and XML Ronald J. Glotzbach Ajax is not a technology Ajax mixes well known programming techniques in an uncommon way Enables web builders to create more appealing
XML Processing and Web Services. Chapter 17
XML Processing and Web Services Chapter 17 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of http://www.funwebdev.com Web Development Objectives 1 XML Overview 2 XML Processing
Client-side programming with JavaScript. Laura Farinetti Dipartimento di Automatica e Informatica Politecnico di Torino laura.farinetti@polito.
Client-side programming with JavaScript Laura Farinetti Dipartimento di Automatica e Informatica Politecnico di Torino [email protected] 1 Summary Introduction Language syntax Functions Objects
Client-side Web Engineering From HTML to AJAX
Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions
Web Programming Step by Step
Web Programming Step by Step Chapter 10 Ajax and XML for Accessing Data Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. 10.1: Ajax Concepts
Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00
Course Page - Page 1 of 12 Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00 Course Description Responsive Mobile Web Development is more
JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK
Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. DOM Scripting, Web Design with JavaScript
Web Programming Step by Step
Web Programming Step by Step Lecture 13 Introduction to JavaScript Reading: 7.1-7.4 Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. Client-side
GUI and Web Programming
GUI and Web Programming CSE 403 (based on a lecture by James Fogarty) Event-based programming Sequential Programs Interacting with the user 1. Program takes control 2. Program does something 3. Program
«W3Schools Home Next Chapter» JavaScript is THE scripting language of the Web.
JS Basic JS HOME JS Introduction JS How To JS Where To JS Statements JS Comments JS Variables JS Operators JS Comparisons JS If...Else JS Switch JS Popup Boxes JS Functions JS For Loop JS While Loop JS
COURSE SYLLABUS EDG 6931: Designing Integrated Media Environments 2 Educational Technology Program University of Florida
COURSE SYLLABUS EDG 6931: Designing Integrated Media Environments 2 Educational Technology Program University of Florida CREDIT HOURS 3 credits hours PREREQUISITE Completion of EME 6208 with a passing
10CS73:Web Programming
10CS73:Web Programming Question Bank Fundamentals of Web: 1.What is WWW? 2. What are domain names? Explain domain name conversion with diagram 3.What are the difference between web browser and web server
ISI ACADEMY Web applications Programming Diploma using PHP& MySQL
ISI ACADEMY for PHP& MySQL web applications Programming ISI ACADEMY Web applications Programming Diploma using PHP& MySQL HTML - CSS - JavaScript PHP - MYSQL What You'll Learn Be able to write, deploy,
Java Application Developer Certificate Program Competencies
Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle
MASTERTAG DEVELOPER GUIDE
MASTERTAG DEVELOPER GUIDE TABLE OF CONTENTS 1 Introduction... 4 1.1 What is the zanox MasterTag?... 4 1.2 What is the zanox page type?... 4 2 Create a MasterTag application in the zanox Application Store...
Web development... the server side (of the force)
Web development... the server side (of the force) Fabien POULARD Document under license Creative Commons Attribution Share Alike 2.5 http://www.creativecommons.org/learnmore Web development... the server
How To Use Query Console
Query Console User Guide 1 MarkLogic 8 February, 2015 Last Revised: 8.0-1, February, 2015 Copyright 2015 MarkLogic Corporation. All rights reserved. Table of Contents Table of Contents Query Console User
Syllabus for CS 134 Java Programming
- Java Programming Syllabus Page 1 Syllabus for CS 134 Java Programming Computer Science Course Catalog 2000-2001: This course is an introduction to objectoriented programming using the Java language.
Web Development 1 A4 Project Description Web Architecture
Web Development 1 Introduction to A4, Architecture, Core Technologies A4 Project Description 2 Web Architecture 3 Web Service Web Service Web Service Browser Javascript Database Javascript Other Stuff:
Lecture 9 Chrome Extensions
Lecture 9 Chrome Extensions 1 / 22 Agenda 1. Chrome Extensions 1. Manifest files 2. Content Scripts 3. Background Pages 4. Page Actions 5. Browser Actions 2 / 22 Chrome Extensions 3 / 22 What are browser
Example. Represent this as XML
Example INF 221 program class INF 133 quiz Assignment Represent this as XML JSON There is not an absolutely correct answer to how to interpret this tree in the respective languages. There are multiple
Performance Testing for Ajax Applications
Radview Software How to Performance Testing for Ajax Applications Rich internet applications are growing rapidly and AJAX technologies serve as the building blocks for such applications. These new technologies
GLEN RIDGE PUBLIC SCHOOLS MATHEMATICS MISSION STATEMENT AND GOALS
Course Title: Advanced Web Design Subject: Mathematics / Computer Science Grade Level: 9-12 Duration: 0.5 year Number of Credits: 2.5 Prerequisite: Grade of A or higher in Web Design Elective or Required:
Dialog planning in VoiceXML
Dialog planning in VoiceXML Csapó Tamás Gábor 4 January 2011 2. VoiceXML Programming Guide VoiceXML is an XML format programming language, describing the interactions between human
Course MS10975A Introduction to Programming. Length: 5 Days
3 Riverchase Office Plaza Hoover, Alabama 35244 Phone: 205.989.4944 Fax: 855.317.2187 E-Mail: [email protected] Web: www.discoveritt.com Course MS10975A Introduction to Programming Length: 5 Days
Web Application diploma using.net Technology
Web Application diploma using.net Technology ISI ACADEMY Web Application diploma using.net Technology HTML - CSS - JavaScript - C#.Net - ASP.Net - ADO.Net using C# What You'll Learn understand all the
Fundamentals of Java Programming
Fundamentals of Java Programming This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and exclusive use by instructors
Debugging JavaScript and CSS Using Firebug. Harman Goei CSCI 571 1/27/13
Debugging JavaScript and CSS Using Firebug Harman Goei CSCI 571 1/27/13 Notice for Copying JavaScript Code from these Slides When copying any JavaScript code from these slides, the console might return
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation
Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation Credit-By-Assessment (CBA) Competency List Written Assessment Competency List Introduction to the Internet
HP LoadRunner. Software Version: 11.00. Ajax TruClient Tips & Tricks
HP LoadRunner Software Version: 11.00 Ajax TruClient Tips & Tricks Document Release Date: October 2010 Software Release Date: October 2010 Legal Notices Warranty The only warranties for HP products and
WEB DESIGN COURSE CONTENT
WEB DESIGN COURSE CONTENT INTRODUCTION OF WEB TECHNOLOGIES Careers in Web Technologies How Websites are working Domain Types and Server About Static and Dynamic Websites Web 2.0 Standards PLANNING A BASIC
Web Pages. Static Web Pages SHTML
1 Web Pages Htm and Html pages are static Static Web Pages 2 Pages tagged with "shtml" reveal that "Server Side Includes" are being used on the server With SSI a page can contain tags that indicate that
WIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
LabVIEW Internet Toolkit User Guide
LabVIEW Internet Toolkit User Guide Version 6.0 Contents The LabVIEW Internet Toolkit provides you with the ability to incorporate Internet capabilities into VIs. You can use LabVIEW to work with XML documents,
Software Development Kit
Open EMS Suite by Nokia Software Development Kit Functional Overview Version 1.3 Nokia Siemens Networks 1 (21) Software Development Kit The information in this document is subject to change without notice
Specialized Programme on Web Application Development using Open Source Tools
Specialized Programme on Web Application Development using Open Source Tools A. NAME OF INSTITUTE Centre For Development of Advanced Computing B. NAME/TITLE OF THE COURSE C. COURSE DATES WITH DURATION
Installing and Sending with DocuSign for NetSuite v2.2
DocuSign Quick Start Guide Installing and Sending with DocuSign for NetSuite v2.2 This guide provides information on installing and sending documents for signature with DocuSign for NetSuite. It also includes
VIRTUAL LABORATORY: MULTI-STYLE CODE EDITOR
VIRTUAL LABORATORY: MULTI-STYLE CODE EDITOR Andrey V.Lyamin, State University of IT, Mechanics and Optics St. Petersburg, Russia Oleg E.Vashenkov, State University of IT, Mechanics and Optics, St.Petersburg,
Software Requirements Specification For Real Estate Web Site
Software Requirements Specification For Real Estate Web Site Brent Cross 7 February 2011 Page 1 Table of Contents 1. Introduction...3 1.1. Purpose...3 1.2. Scope...3 1.3. Definitions, Acronyms, and Abbreviations...3
English. Asema.com Portlets Programmers' Manual
English Asema.com Portlets Programmers' Manual Asema.com Portlets : Programmers' Manual Asema Electronics Ltd Copyright 2011-2013 No part of this publication may be reproduced, published, stored in an
JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.
1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,
RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science
I. Basic Course Information RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE CISY 105 Foundations of Computer Science A. Course Number and Title: CISY-105, Foundations of Computer Science B. New
NASSI-SCHNEIDERMAN DIAGRAM IN HTML BASED ON AML
Volume 6, Number 3, 2013 NASSI-SCHNEIDERMAN DIAGRAM IN HTML BASED ON AML László Menyhárt Abstract: In an earlier work I defined an extension of XML called Algorithm Markup Language (AML) for easy and understandable
WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007
WWW World Wide Web Aka The Internet dr. C. P. J. Koymans Informatics Institute Universiteit van Amsterdam November 30, 2007 dr. C. P. J. Koymans (UvA) WWW November 30, 2007 1 / 36 WWW history (1) 1968
Unlocking the Java EE Platform with HTML 5
1 2 Unlocking the Java EE Platform with HTML 5 Unlocking the Java EE Platform with HTML 5 Overview HTML5 has suddenly become a hot item, even in the Java ecosystem. How do the 'old' technologies of HTML,
Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY
Advanced Web Development Duration: 6 Months SCOPE OF WEB DEVELOPMENT INDUSTRY Web development jobs have taken thе hot seat when it comes to career opportunities and positions as a Web developer, as every
Example for Using the PrestaShop Web Service : CRUD
Example for Using the PrestaShop Web Service : CRUD This tutorial shows you how to use the PrestaShop web service with PHP library by creating a "CRUD". Prerequisites: - PrestaShop 1.4 installed on a server
Introducing Apache Pivot. Greg Brown, Todd Volkert 6/10/2010
Introducing Apache Pivot Greg Brown, Todd Volkert 6/10/2010 Speaker Bios Greg Brown Senior Software Architect 15 years experience developing client and server applications in both services and R&D Apache
UNIVERSITY OF CALGARY Information Technologies WEBFORMS DRUPAL 7 WEB CONTENT MANAGEMENT
UNIVERSITY OF CALGARY Information Technologies WEBFORMS DRUPAL 7 WEB CONTENT MANAGEMENT Table of Contents Creating a Webform First Steps... 1 Form Components... 2 Component Types.......4 Conditionals...
JavaScript. JavaScript: fundamentals, concepts, object model. Document Object Model. The Web Page. The window object (1/2) The document object
JavaScript: fundamentals, concepts, object model Prof. Ing. Andrea Omicini II Facoltà di Ingegneria, Cesena Alma Mater Studiorum, Università di Bologna [email protected] JavaScript A scripting language:
Web Application Development
L i m n o r S t u d i o U s e r s G u i d e P a g e 1 Web Application Development Last update: January 29, 2015 Contents Introduction... 3 Create a project for web application... 3 Select Web Application
Web Conferencing Version 8.3 Troubleshooting Guide
System Requirements General Requirements Web Conferencing Version 8.3 Troubleshooting Guide Listed below are the minimum requirements for participants accessing the web conferencing service. Systems which
Fast track to HTML & CSS 101 (Web Design)
Fast track to HTML & CSS 101 (Web Design) Level: Introduction Duration: 5 Days Time: 9:30 AM - 4:30 PM Cost: 997.00 Overview Fast Track your HTML and CSS Skills HTML and CSS are the very fundamentals of
An introduction to creating JSF applications in Rational Application Developer Version 8.0
An introduction to creating JSF applications in Rational Application Developer Version 8.0 September 2010 Copyright IBM Corporation 2010. 1 Overview Although you can use several Web technologies to create
CLASSROOM WEB DESIGNING COURSE
About Web Trainings Academy CLASSROOM WEB DESIGNING COURSE Web Trainings Academy is the Top institutes in Hyderabad for Web Technologies established in 2007 and managed by ITinfo Group (Our Registered
#820 Computer Programming 1A
Computer Programming I Levels: 10-12 Units of Credit: 1.0 CIP Code: 11.0201 Core Code: 35-02-00-00-030 Prerequisites: Secondary Math I, Keyboarding Proficiency, Computer Literacy requirement Semester 1
INTERNET PROGRAMMING AND DEVELOPMENT AEC LEA.BN Course Descriptions & Outcome Competency
INTERNET PROGRAMMING AND DEVELOPMENT AEC LEA.BN Course Descriptions & Outcome Competency 1. 420-PA3-AB Introduction to Computers, the Internet, and the Web This course is an introduction to the computer,
core. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt
core. 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Volume I - Fundamentals Seventh Edition CAY S. HORSTMANN GARY
Chapter 12 Programming Concepts and Languages
Chapter 12 Programming Concepts and Languages Chapter 12 Programming Concepts and Languages Paradigm Publishing, Inc. 12-1 Presentation Overview Programming Concepts Problem-Solving Techniques The Evolution
Rich-Internet Anwendungen auf Basis von ColdFusion und Ajax
Rich-Internet Anwendungen auf Basis von ColdFusion und Ajax Sven Ramuschkat [email protected] München & Zürich, März 2009 A bit of AJAX history XMLHttpRequest introduced in IE5 used in
Short notes on webpage programming languages
Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of
Intro to Web Programming. using PHP, HTTP, CSS, and Javascript Layton Smith CSE 4000
Intro to Web Programming using PHP, HTTP, CSS, and Javascript Layton Smith CSE 4000 Intro Types in PHP Advanced String Manipulation The foreach construct $_REQUEST environmental variable Correction on
Citrix StoreFront. Customizing the Receiver for Web User Interface. 2012 Citrix. All rights reserved.
Citrix StoreFront Customizing the Receiver for Web User Interface 2012 Citrix. All rights reserved. Customizing the Receiver for Web User Interface Introduction Receiver for Web provides a simple mechanism
Witango Application Server 6. Installation Guide for OS X
Witango Application Server 6 Installation Guide for OS X January 2011 Tronics Software LLC 503 Mountain Ave. Gillette, NJ 07933 USA Telephone: (570) 647 4370 Email: [email protected] Web: www.witango.com
1. Overview of the Java Language
1. Overview of the Java Language What Is the Java Technology? Java technology is: A programming language A development environment An application environment A deployment environment It is similar in syntax
Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf
1 The Web, revisited WEB 2.0 [email protected] Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 2 The old web: 1994 HTML pages (hyperlinks)
THE CHALLENGE OF ADMINISTERING WEBSITES OR APPLICATIONS THAT REQUIRE 24/7 ACCESSIBILITY
THE CHALLENGE OF ADMINISTERING WEBSITES OR APPLICATIONS THAT REQUIRE 24/7 ACCESSIBILITY As the constantly growing demands of businesses and organizations operating in a global economy cause an increased
Hypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
WEB DEVELOPMENT COURSE (PHP/ MYSQL)
WEB DEVELOPMENT COURSE (PHP/ MYSQL) COURSE COVERS: HTML 5 CSS 3 JAVASCRIPT JQUERY BOOTSTRAP 3 PHP 5.5 MYSQL SYLLABUS HTML5 Introduction to HTML Introduction to Internet HTML Basics HTML Elements HTML Attributes
IE Class Web Design Curriculum
Course Outline Web Technologies 130.279 IE Class Web Design Curriculum Unit 1: Foundations s The Foundation lessons will provide students with a general understanding of computers, how the internet works,
SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1
SUBJECT TITLE : WEB TECHNOLOGY SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1 16 02 2. CSS & JAVASCRIPT Test
Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator
Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator Written by: Chris Jaun ([email protected]) Sudha Piddaparti ([email protected]) Objective In this
Exercise 1: Python Language Basics
Exercise 1: Python Language Basics In this exercise we will cover the basic principles of the Python language. All languages have a standard set of functionality including the ability to comment code,
Chapter 13 Computer Programs and Programming Languages. Discovering Computers 2012. Your Interactive Guide to the Digital World
Chapter 13 Computer Programs and Programming Languages Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Differentiate between machine and assembly languages Identify
4.2 Understand Microsoft ASP.NET Web Application Development
L E S S O N 4 4.1 Understand Web Page Development 4.2 Understand Microsoft ASP.NET Web Application Development 4.3 Understand Web Hosting 4.4 Understand Web Services MTA Software Fundamentals 4 Test L
2667A - Introduction to Programming
2667A - Introduction to Programming Table of Contents Introduction Audience At Course Completion Prerequisites Microsoft Certified Professional Exams Student Materials Course Outline Introduction Elements
Introduction to web development and JavaScript
Objectives Chapter 1 Introduction to web development and JavaScript Applied Load a web page from the Internet or an intranet into a web browser. View the source code for a web page in a web browser. Knowledge
WebSphere Business Monitor
WebSphere Business Monitor Monitor models 2010 IBM Corporation This presentation should provide an overview of monitor models in WebSphere Business Monitor. WBPM_Monitor_MonitorModels.ppt Page 1 of 25
JavaScript Ajax Google Web Toolkit
Client Tier Web Tier Business Logic Tier EIS Tier JavaScript Warum? e@mail == E-Mail Adresse? ECMAJavaLiveScript ECMAJavaLiveScript ECMAJavaLiveScript ECMAJavaLiveScript ECMAJavaLiveScript [tschawaskript]
Introduction to Programming with Xojo
Introduction to Programming with Xojo IOS ADDENDUM BY BRAD RHINE Fall 2015 Edition Copyright 2013-2015 by Xojo, Inc. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike
Preface. Motivation for this Book
Preface Asynchronous JavaScript and XML (Ajax or AJAX) is a web technique to transfer XML data between a browser and a server asynchronously. Ajax is a web technique, not a technology. Ajax is based on
DTD Tutorial. About the tutorial. Tutorial
About the tutorial Tutorial Simply Easy Learning 2 About the tutorial DTD Tutorial XML Document Type Declaration commonly known as DTD is a way to describe precisely the XML language. DTDs check the validity
DESIGNING HTML HELPERS TO OPTIMIZE WEB APPLICATION DEVELOPMENT
Abstract DESIGNING HTML HELPERS TO OPTIMIZE WEB APPLICATION DEVELOPMENT Dragos-Paul Pop 1 Building a web application or a website can become difficult, just because so many technologies are involved. Generally
Before you can use the Duke Ambient environment to start working on your projects or
Using Ambient by Duke Curious 2004 preparing the environment Before you can use the Duke Ambient environment to start working on your projects or labs, you need to make sure that all configuration settings
Advanced Layer Popup Manual DMXzone Advanced Layer Popup Manual
Advanced Layer Popup Manual Page 1 of 42 Index Index... 2 About Advanced Layer Popup... 3 Features...3 Create a popup window with an image... 6 Introduction...6 Simple Layer Popup with an image...6 Applying
Client Side Customisation of Web Pages
Unit 20: Client Side Customisation of Web Pages Unit code: QCF Level 3: Credit value: 10 Guided learning hours: 60 Aim and purpose Y/601/7660 BTEC National The aim of this unit is to ensure learners understand
Moving from CS 61A Scheme to CS 61B Java
Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you
WIDAM - WEB INTERACTION DISPLAY AND MONITORING
WIDAM - WEB INTERACTION DISPLAY AND MONITORING Hugo Gamboa and Vasco Ferreira Escola Superior de Tecnologia de Setúbal Campo do IPS, Estefanilha, 2914-508 Setúbal, Portugal Email: {hgamboa, vferreira}@est.ips.pt
An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0
An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0 September 2010 Copyright IBM Corporation 2010. 1 Overview Rational Application Developer, Version 8.0, contains
Macromedia Dreamweaver 8 Developer Certification Examination Specification
Macromedia Dreamweaver 8 Developer Certification Examination Specification Introduction This is an exam specification for Macromedia Dreamweaver 8 Developer. The skills and knowledge certified by this
PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop
What is PHP? PHP and XML Brian J. Stafford, Mark McIntyre and Fraser Gallop PHP is a server-side tool for creating dynamic web pages. PHP pages consist of both HTML and program logic. One of the advantages
Adding Panoramas to Google Maps Using Ajax
Adding Panoramas to Google Maps Using Ajax Derek Bradley Department of Computer Science University of British Columbia Abstract This project is an implementation of an Ajax web application. AJAX is a new
