JavaScript. JavaScript: fundamentals, concepts, object model. Document Object Model. The Web Page. The window object (1/2) The document object
|
|
|
- George Dickerson
- 10 years ago
- Views:
Transcription
1 JavaScript: fundamentals, concepts, object model Prof. Ing. Andrea Omicini II Facoltà di Ingegneria, Cesena Alma Mater Studiorum, Università di Bologna JavaScript A scripting language: interpreted, not compiled History: Originally defined by Netscape (LiveScript) - Name modified in JavaScript after an agreement with Sun in 1995 Microsoft calls it JScript (minimal differences) Reference: standard ECMAScript 262 Object based (but not object oriented) JavaScript programs are directly inserted in the HTML source of web pages The Web Page <html> <head><title>...</title></head> <body>... <script language= JavaScript > <!-- HTML comment to avoid puzzling old browsers... put here your JavaScript program... // JavaScript comment to avoid puzzling old browsers --> </script> </body> </html> An HTML page may contain multiple <script> tags Document Object Model JavaScript as a language references the Document Object Model (DOM) Following that model, every document has the following structure: window document... The window object represents the current object (i.e. this) the current browser window The document object represents the content of the web page in the current browser window The document object The document object represents the current web page (not the current browser window!) You can invoke many different methods on it. The write method prints a value on the page: document.write( Scrooge McDuck ) document.write( ) document.write( Donald Duck ) document.write( <IMG src= image.gif > ) The this reference to the window object is omitted: document.write is equivalent to this.document.write The window object (1/2) The window object is the root of the DOM hierarchy and represents the browser window Amongst the window object s methods there is alert, which makes an alert window displaying the given message appear x = -1.55; y = 31.85; sum = x + y message = Somma di + x + e + y alert(message + : + sum) // returns undefined You can use alert in an HTML anchor
2 The window object (2/2) The DOM model Other methods of the window object: use confirm to display a dialog to confirm or dismiss a message returns a boolean value: false if the Cancel button has been pushed, true if the OK button has been pushed use prompt to display a dialog to input a value returns a string value containing the input The window object s main components: self window parent top navigator plugins (array), navigator, mimetypes (array) frames (array) location history document...and here follows an entire hierarchy of objects The document object The document object s main components (all arrays): forms anchors links images applets The document object s main API methods: getelementsbytagname(tagname) getelementbyid(elementid) getelementsbyname(elementname) Referencing an element in a document An element in a document is referred to by the value of its id attribute (or the name attribute in older browsers) e.g. for an image identified as image0 you would call document.getelementbyid( image0 ) or use the document properties through an array: document.images[ image0 ] then, to modify e.g. that image s width, you would write document.images[ image0 ].width = 40 Strings Strings can be delimited by using single or double quotes If you need to nest different kind of quotes, you have to alternate them e.g. document.write( <img src= img.gif > ) e.g. document.write( <img src= img.gif > ) Use + to concatenate strings e.g. document.write( donald + duck ) Strings are JavaScript objects with properties, e.g. length, and methods, e.g. substring(first, last) Constants and comments Numeric constants are sequences of numeric characters not enclosed between quotes - their type is number Boolean constants are true and false - their type is boolean Other constants are null, NaN, undefined Comments can be // on a single line /* multi line */
3 Expressions Variables These are legal expressions in JavaScript numeric expressions, with operators like + - * / %... conditional expressions, using the?: ternary operator string expressions, concatenating with the + operator assignment expressions, using = Some examples document.write(18/4) document.write(3>5? yes : no ) document.write( donald + duck ) Variables in JavaScript are dynamically typed: you can assign values of different types to the same variable at different times a=19; b= bye ; a= world ; // different types! Legal operators include increment (++), decrement (--), extended assignment (e.g. +=) Variables and scope Dynamic types Variable scope in JavaScript is global for variables defined outside functions local for variables explicitly defined inside functions (received parameters included) Warning: a block does not define a scope x = // the string 32 { { x = 5 // internal block y = x + 3 // here x is 5, not 32 The typeof operator is used to retrieve the (dynamic) type of an expression or a variable typeof(18/4) returns number typeof aaa returns string typeof false returns boolean typeof document returns object typeof document.write returns function When used with variables, the value returned by typeof is the current type of the variable a = 18; typeof a // returns number a = hi ; typeof a // returns string Instructions Control structures Instructions must be separated by an end-ofline character or by a semicolon alpha = 19 // end-of-line bravo = donald duck ; charlie = true document.write(bravo + alpha) Concatenation between strings and numbers leads to an automatic conversion of the number value into a string value (be careful...) document.write(bravo + alpha + 2) document.write(bravo + (alpha + 2)) JavaScript features the usual control structures: if, switch, for, while, do/while Boolean conditions in an if can be expressed using the usual comparison operators (==,!=, >, <, >=, <=) and logic operators (&&,,!) Besides there are special structures used to work on objects: for/in and with
4 Functions definition Function parameters Functions are introduced by the keyword function and their body is enclosed in a block They can be either procedures or proper functions (there s no keyword void) Formal parameters are written without their type declaration Functions can be defined inside other functions function sum(a,b) { return a+b function printsum(a,b) { document.write(a+b) Functions are called in the usual way, giving the list of actual parameters The number of actual parameters can be different from the number of formal ones If actual parameters are more than necessary, extra parameters are ignored If actual parameters are less than necessary, missing parameters are initialized to undefined Parameters are always passed by value (working with objects, references are copied) Variable declarations Variable declarations can be explicit or implicit for global variables, but must necessarily be explicit for local variables A variable is explicitly declared using var var goofy = 19 // explicit declaration pluto = 18 // implicit declaration Implicit declaration always introduces global variables, while explicit declaration has a different effect depending on the context where it is located Explicit variable declarations Outside functions, the var keyword is not important: the variable is defined as global Inside functions, using var means to introduce a new local variable having the function as its scope Inside functions, declaring a variable without using var means to introduce a global variable x = 6 // global x = 18 // global test() // the value of x is 18 var x = 6 // global var x = 18 // local test() // the value of x is 6 Referencing environment Using an already declared variable, its name resolution starts from the environment local to its use If the variable is not defined in the environment local to its use, the global environment is checked for name resolution f = 3 var f = 4 g = f * 3 test(); g // 12 f = 3 var g = 4 g = f * 3 test(); g // nd f = 3 var h = 4 g = f * 3 test(); g // 9 Functions and closures (1/3) Since JavaScript is an interpreted language and given the existence of a global environment... When a function uses a symbol not defined inside its body, which definition holds for that? Does the symbol use the value it holds in the environment where the function is defined, or... does the symbol use the value it holds in the environment where the function is called?
5 Functions and closures (2/3) var x = 20 function testenv(z) { return z + x alert(testenv(18)) // definitely displays 38 function newtestenv() { var x = -1 return testenv(18) // what does it return? The newtestenv function redefines x, then invokes testenv, which uses x... but, which x? In the environment where testenv is defined, the symbol x has a different value from the environment where testenv is called Functions and closures (3/3) var x = 20 function testenv(z) { return z + x function newtestenv() { var x = -1 return testenv(18) // what does it return? If the calling environment is used to resolve symbols, a dynamic closure is applied If the defining environment is used to resolve symbols, a lexical closure is applied JavaScript uses lexical closures, so newtestenv returns 38, not 17 Functions as data Variables can reference functions var square = function(x) { return x*x Function literals have not a name: they are usually invoked by the name of the variable referencing them var result = square(4) Assignments like g = f produce aliasing This enables programmers to pass functions as parameters to other functions function exe(f, x) { return f(x) Examples Given function exe(f, x) { return f(x) exe(math.sin,.8) returns exe(math.log,.8) returns exe(x*x,.8) throws an error because x*x is not a function object in the program exe(fun,.8) works only if the fun variable references a function object in the program exe( Math.sin,.8) throws an error because a string is passed, not a function: don t mistake a function for its name Consequences You need to have a function object (not just its name) to use a function You cannot use functions as data to execute a function knowing only its name or its code exe( Math.sin,.8) // error exe(x*x,.8) // error How to solve this problem? Access to the function using the properties of the global object Build an appropriate function object Objects An object is a data collection with a name: each datum is called property Use the dot notation to access any property, e.g. object.property A special function called constructor builds an object, creating its structure and setting up its properties Constructors are invoked using the new operator There are no classes in JavaScript: the name of the constructor can be choosed by the user
6 Defining objects The structure of an object is defined by the constructor used to create it Initial properties of the object are specified inside the constructor, using the dot notation and the this keyword The this keyword is necessary, otherwise properties would be referenced by the environment local to the constructor function Point = function(i, j) { this.x = i this.y = j function Point(i, j) { this.x = i this.y = j Building objects To build an object, apply the new operator to a constructor function p1 = new Point(3, 4) p2 = new Point(0, 1) The argument of new is just a function name, not the name of a class Starting with JavaScript 1.2 just listing couples of properties and values between braces p3 = {x:10, y:7 Accessing object properties All properties of an object are public p1.x = 10 // p1 passes from (3,4) to (10,4) There are indeed some invisible system properties you can not enumerate using the usual appropriate constructs The with construct let you access several properties of an object without repeating its name every time with (p1) x = 22, y = 2 with (p1) {x = 3; y = 4 Adding and removing properties Constructors only specify initial properties for an object: you can dynamically add new properties by naming them and using them p1.z = -3 // from {x:10, y:4 to {x:10, y:4, z:-3 It is possible to dynamically remove properties using the delete operator delete p1.x // from {x:10, y:4, z:-3 to {y:4, z:-3 Methods for (single) objects Methods definition is a special case of property addition where the property is a function object p1.getx = function() { return this.x In this case, a method is defined for a single object, not for every instance created using the Point constructor function Methods for multiple objects You can define the same method for multiple objects by assigning it to other objects p2.getx = p1.getx To use the new method on the p2 object, just call it using the () invoke operator document.write(p2.getx() + <br/> ) If a nonexistent method is invoked, JavaScript throws a runtime error and halts execution
7 Methods for objects of a kind Since the concept of class is missing, ensuring that objects of the same kind have the same behaviour requires an adequate methodology A first approach is to define common methods in the constructor function Point = function(i, j) { this.x = i; this.y = j this.getx = function() { return x this.gety = function() { return y Another approach is based on the concept of prototype (see later) Simulating private properties Even if an object s properties are public, it is possible to simulate private properties using variables local to the constructor function Rectangle = function() { var sidex, sidey this.setx = function(a) { sidex = a this.sety = function(a) { sidey = a this.getx = function() { return sidex this.gety = function() { return sidey While the four methods are publicly visible, the two variables are visible in the constructor s local environment only, being matter-of-factly private Class variables and methods Class variables and methods can be modeled as properties of the constructor function object p1 = new Point(3, 4); Point.color = black Point.commonMethod = function(...) {... The complete Point.property notation is necessary even if the property is defined inside the constructor function, because property alone would define a local variable to the function, not a property of the constructor Function objects (1/2) Every function is an object built on the basis of the Function constructor implicitly, building functions inside the program by using the function construct its arguments are the formal parameters of the function the body (the code) of the function in enclosed in a block e.g. square = function(x) { return x*x the construct is evaluated only once, it s efficient but not flexible Function objects (2/2) Every function is an object built on the basis of the Function constructor explicitly, building functions from strings by using the Function constructor its arguments are all strings first N-1 arguments are the names of the parameters of the function the last argument is the body (the code) e.g. square = new Function( x, return x*x ) the construct is evaluated every time it s read, it s not efficient but very flexible Revision (1/4) The exe function executes a function function exe(f, x) { return f(x) It works only if the f argument represents a function object, not a body code or a string name exe(x*x,.8) // error exe( Math.sin,.8) // error These cases become manageable by using the Function constructor to dynamically build a function object
8 Revision (2/4) Revision (3/4) Dynamic building using the Function constructor when only the body is known exe(x*x,.8) // error exe(new Function( x, return x*x ),.8) // returns.64 when only the name is known exe( Math.sin,.8) // error exe(new Function( z, return Math.sin(z) ),.8) // returns Generalizing the approach: var fun = prompt( Write f(x): ) var x = prompt( Calculate for x =? ) var f = new Function( x, return + fun) The user can now type the code of the desired function and the value where to calculate it, then invoke it using a reflexive mechanism Show the result using confirm( Result: + f(x)) Revision (4/4) A problem Values returned by prompt are strings: so the + operation is interpreted as a concatenation of strings rather than a sum between numbers If the user gives x+1 as a function, when x=4 the function returns 41 as a result Possible solutions: let the user write in input an explicit type conversion, e.g. parseint(x) + 1 impose the type conversion from within the program, e.g. var x = parseint(prompt(...)) Function objects - Properties Static properties (available while not executing): length - the number of formal expected parameters Dynamic properties (available during execution only): arguments - array containing actual parameters arguments.length - number of actual parameters arguments.callee - the executing function itself caller - the caller (null if invoked from top level) constructor - reference to the constructor object prototype - reference to the prototype object Function objects - Methods Callable methods on a function object: tostring - returns a string representation of the function valueof - returns the function itself call and apply - call the function on the object passed as a parameter giving the function the specified parameters e.g. f.apply(obj, arrayofparameters) is equivalent to obj.f(arrayofparameters) e.g. f.call(obj, arg1, arg2,...) is equivalent to obj.f(arg1, arg2,...)
9 call and apply - Example 1 call and apply - Example 2 Definition of a function object test = function(x, y, z) { return x + y + z Invocation in the current context test.apply(obj, [3, 4, 5]) test.call(obj, 8, 1, -2) Parameters to the callee are optional In this example the receiving object obj is irrelevant because the invoked test function does not use this references in its body A function object using this references test = function(v) { return v + this.x In this example the receiving object is relevant because it determines the evaluation environment for the variable x x = 88 test.call(this, 3) // Result: = 91 x = 88 function Obj(u) { this.x = u obj = new Obj(-4) test.call(obj, 3) // Result: = -1
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,
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
TATJA: A Test Automation Tool for Java Applets
TATJA: A Test Automation Tool for Java Applets Matthew Xuereb 19, Sanctuary Street, San Ġwann [email protected] Abstract Although there are some very good tools to test Web Applications, such tools neglect
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
JavaScript Introduction
JavaScript Introduction JavaScript is the world's most popular programming language. It is the language for HTML, for the web, for servers, PCs, laptops, tablets, phones, and more. JavaScript is a Scripting
JavaScript: Control Statements I
1 7 JavaScript: Control Statements I 7.1 Introduction 2 The techniques you will learn here are applicable to most high-level languages, including JavaScript 1 7.2 Algorithms 3 Any computable problem can
AP Computer Science Java Subset
APPENDIX A AP Computer Science Java Subset The AP Java subset is intended to outline the features of Java that may appear on the AP Computer Science A Exam. The AP Java subset is NOT intended as an overall
TypeScript. Language Specification. Version 1.4
TypeScript Language Specification Version 1.4 October, 2014 Microsoft is making this Specification available under the Open Web Foundation Final Specification Agreement Version 1.0 ("OWF 1.0") as of October
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
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
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
Web Development using PHP (WD_PHP) Duration 1.5 months
Duration 1.5 months Our program is a practical knowledge oriented program aimed at learning the techniques of web development using PHP, HTML, CSS & JavaScript. It has some unique features which are as
TypeScript for C# developers. Making JavaScript manageable
TypeScript for C# developers Making JavaScript manageable Agenda What is TypeScript OO in TypeScript Closure Generics Iterators Asynchronous programming Modularisation Debugging TypeScript 2 What is TypeScript
Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner.
Handout 1 CS603 Object-Oriented Programming Fall 15 Page 1 of 11 Handout 1 Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Java
CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013
Oct 4, 2013, p 1 Name: CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 1. (max 18) 4. (max 16) 2. (max 12) 5. (max 12) 3. (max 24) 6. (max 18) Total: (max 100)
First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science
First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca
Bypassing Web Application Firewalls (WAFs) Ing. Pavol Lupták, CISSP, CEH Lead Security Consultant
Bypassing Web Application Firewalls (WAFs) Ing. Pavol Lupták, CISSP, CEH Lead Security Consultant Nethemba All About Security Highly experienced certified IT security experts (CISSP, C EH, SCSecA) Core
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...
«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
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
C++ INTERVIEW QUESTIONS
C++ INTERVIEW QUESTIONS http://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm Copyright tutorialspoint.com Dear readers, these C++ Interview Questions have been designed specially to get
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
Course Title: Software Development
Course Title: Software Development Unit: Customer Service Content Standard(s) and Depth of 1. Analyze customer software needs and system requirements to design an information technology-based project plan.
The V8 JavaScript Engine
The V8 JavaScript Engine Design, Implementation, Testing and Benchmarking Mads Ager, Software Engineer Agenda Part 1: What is JavaScript? Part 2: V8 internals Part 3: V8 testing and benchmarking What is
Technical University of Sofia Faculty of Computer Systems and Control. Web Programming. Lecture 4 JavaScript
Technical University of Sofia Faculty of Computer Systems and Control Web Programming Lecture 4 JavaScript JavaScript basics JavaScript is scripting language for Web. JavaScript is used in billions of
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
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
Facebook Twitter YouTube Google Plus Website Email
PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute
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
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
Exam Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. 1) The JDK command to compile a class in the file Test.java is A) java Test.java B) java
6.170 Tutorial 3 - Ruby Basics
6.170 Tutorial 3 - Ruby Basics Prerequisites 1. Have Ruby installed on your computer a. If you use Mac/Linux, Ruby should already be preinstalled on your machine. b. If you have a Windows Machine, you
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
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
Classes and Objects in Java Constructors. In creating objects of the type Fraction, we have used statements similar to the following:
In creating objects of the type, we have used statements similar to the following: f = new (); The parentheses in the expression () makes it look like a method, yet we never created such a method in our
Business Application
137 Germain CRT Validation Rules for Siebel CRM 7.7,7.8,8.0,8.1,8.2 Validation Rule Name Validation Rule Description Business Application Siebel Repository Level Improve CPU Improve Memory GS-SBL-REP-JDBC-1001
Computing Concepts with Java Essentials
2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Computing Concepts with Java Essentials 3rd Edition Cay Horstmann
ECMAScript 3 rd Edition Compact Profile
Standard ECMA-327 June 2001 Standardizing Information and Communication Systems ECMAScript 3 rd Edition Compact Profile Phone: +41 22 849.60.00 - Fax: +41 22 849.60.01 - URL: http://www.ecma.ch - Internet:
Free Java textbook available online. Introduction to the Java programming language. Compilation. A simple java program
Free Java textbook available online "Thinking in Java" by Bruce Eckel, 4th edition, 2006, ISBN 0131872486, Pearson Education Introduction to the Java programming language CS 4354 Summer II 2015 The third
Building a Multi-Threaded Web Server
Building a Multi-Threaded Web Server In this lab we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous
Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months
Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months Our program is a practical knowledge oriented program aimed at making innovative and attractive applications for mobile
Object Oriented Software Design
Object Oriented Software Design Introduction to Java - II Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa September 14, 2011 G. Lipari (Scuola Superiore Sant Anna) Introduction
Certified PHP/MySQL Web Developer Course
Course Duration : 3 Months (120 Hours) Day 1 Introduction to PHP 1.PHP web architecture 2.PHP wamp server installation 3.First PHP program 4.HTML with php 5.Comments and PHP manual usage Day 2 Variables,
Free Java textbook available online. Introduction to the Java programming language. Compilation. A simple java program
Free Java textbook available online "Thinking in Java" by Bruce Eckel, 4th edition, 2006, ISBN 0131872486, Pearson Education Introduction to the Java programming language CS 4354 Summer II 2014 Jill Seaman
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
PHP Tutorial From beginner to master
PHP Tutorial From beginner to master PHP is a powerful tool for making dynamic and interactive Web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
KITES TECHNOLOGY COURSE MODULE (C, C++, DS)
KITES TECHNOLOGY 360 Degree Solution www.kitestechnology.com/academy.php [email protected] [email protected] Contact: - 8961334776 9433759247 9830639522.NET JAVA WEB DESIGN PHP SQL, PL/SQL
JavaScript as a compilation target Making it fast
JavaScript as a compilation target Making it fast Florian Loitsch, Google Who am I? Florian Loitsch, software engineer at Google Projects Scheme2Js - Scheme-to-JavaScript compiler Js2scheme - JavaScript-to-Scheme
Object-Oriented Programming Lecture 2: Classes and Objects
Object-Oriented Programming Lecture 2: Classes and Objects Dr. Lê H!ng Ph"#ng -- Department of Mathematics, Mechanics and Informatics, VNUH July 2012 1 Content Class Object More on class Enum types Package
INTRODUCTION TO OBJECTIVE-C CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 12 09/29/2011
INTRODUCTION TO OBJECTIVE-C CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 12 09/29/2011 1 Goals of the Lecture Present an introduction to Objective-C 2.0 Coverage of the language will be INCOMPLETE
Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2
Dashboard Skin Tutorial For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard engine overview Dashboard menu Skin file structure config.json Available telemetry properties dashboard.html dashboard.css Telemetry
Java CPD (I) Frans Coenen Department of Computer Science
Java CPD (I) Frans Coenen Department of Computer Science Content Session 1, 12:45-14:30 (First Java Programme, Inheritance, Arithmetic) Session 2, 14:45-16:45 (Input and Programme Constructs) Materials
Object Oriented Software Design
Object Oriented Software Design Introduction to Java - II Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa October 28, 2010 G. Lipari (Scuola Superiore Sant Anna) Introduction
Chapter 5 Names, Bindings, Type Checking, and Scopes
Chapter 5 Names, Bindings, Type Checking, and Scopes Chapter 5 Topics Introduction Names Variables The Concept of Binding Type Checking Strong Typing Scope Scope and Lifetime Referencing Environments Named
JavaScript: Arrays. 2008 Pearson Education, Inc. All rights reserved.
1 10 JavaScript: Arrays 2 With sobs and tears he sorted out Those of the largest size... Lewis Carroll Attempt the end, and never stand to doubt; Nothing s so hard, but search will find it out. Robert
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
java.util.scanner Here are some of the many features of Scanner objects. Some Features of java.util.scanner
java.util.scanner java.util.scanner is a class in the Java API used to create a Scanner object, an extremely versatile object that you can use to input alphanumeric characters from several input sources
An Overview of Java. overview-1
An Overview of Java overview-1 Contents What is Java Major Java features Java virtual machine Java programming language Java class libraries (API) GUI Support in Java Networking and Threads in Java overview-2
Part 1 Foundations of object orientation
OFWJ_C01.QXD 2/3/06 2:14 pm Page 1 Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 2 1 OFWJ_C01.QXD 2/3/06 2:14 pm Page 3 CHAPTER 1 Objects and classes Main concepts discussed
Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence
Web Development Owen Sacco ICS2205/ICS2230 Web Intelligence Introduction Client-Side scripting involves using programming technologies to build web pages and applications that are run on the client (i.e.
JavaScript: Client-Side Scripting. Chapter 6
JavaScript: Client-Side Scripting Chapter 6 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of Web http://www.funwebdev.com Development Section 1 of 8 WHAT IS JAVASCRIPT
Oracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along
Scoping (Readings 7.1,7.4,7.6) Parameter passing methods (7.5) Building symbol tables (7.6)
Semantic Analysis Scoping (Readings 7.1,7.4,7.6) Static Dynamic Parameter passing methods (7.5) Building symbol tables (7.6) How to use them to find multiply-declared and undeclared variables Type checking
Overview. In the beginning. Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript
Overview In the beginning Static vs. Dynamic Content Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript AJAX Libraries and Frameworks
Appendix K Introduction to Microsoft Visual C++ 6.0
Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):
Qlik REST Connector Installation and User Guide
Qlik REST Connector Installation and User Guide Qlik REST Connector Version 1.0 Newton, Massachusetts, November 2015 Authored by QlikTech International AB Copyright QlikTech International AB 2015, All
Config Guide. Gimmal Smart Tiles (SharePoint-Hosted) Software Release 4.4.0
Config Guide Gimmal Smart Tiles (SharePoint-Hosted) Software Release 4.4.0 November 2014 Title: Gimmal Smart Tiles (SharePoint-Hosted) Configuration Guide Copyright 2014 Gimmal, All Rights Reserved. Gimmal
Storage Classes CS 110B - Rule Storage Classes Page 18-1 \handouts\storclas
CS 110B - Rule Storage Classes Page 18-1 Attributes are distinctive features of a variable. Data type, int or double for example, is an attribute. Storage class is another attribute. There are four storage
INFORMATION BROCHURE Certificate Course in Web Design Using PHP/MySQL
INFORMATION BROCHURE OF Certificate Course in Web Design Using PHP/MySQL National Institute of Electronics & Information Technology (An Autonomous Scientific Society of Department of Information Technology,
Object Oriented Software Design II
Object Oriented Software Design II Introduction to C++ Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa February 20, 2012 G. Lipari (Scuola Superiore Sant Anna) C++ Intro February
MONETA.Assistant API Reference
MONETA.Assistant API Reference Contents 2 Contents Abstract...3 Chapter 1: MONETA.Assistant Overview...4 Payment Processing Flow...4 Chapter 2: Quick Start... 6 Sandbox Overview... 6 Registering Demo Accounts...
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,
Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff
D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led
Visual Logic Instructions and Assignments
Visual Logic Instructions and Assignments Visual Logic can be installed from the CD that accompanies our textbook. It is a nifty tool for creating program flowcharts, but that is only half of the story.
The LSUHSC N.O. Email Archive
The LSUHSC N.O. Email Archive Introduction The LSUHSC N.O. email archive permanently retains a copy of all email items sent and received by LSUHSC N.O. Academic email users. Email items will be accessible
Object Oriented Software Design II
Object Oriented Software Design II C++ intro Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa February 26, 2012 G. Lipari (Scuola Superiore Sant Anna) C++ Intro February 26,
Oracle Siebel CRM 8 Developer's Handbook
P U B L I S H I N G professional expertise distilled Oracle Siebel CRM 8 Developer's Handbook Alexander Hansal Chapter No.13 "User Properties" In this package, you will find: A Biography of the author
Stack Allocation. Run-Time Data Structures. Static Structures
Run-Time Data Structures Stack Allocation Static Structures For static structures, a fixed address is used throughout execution. This is the oldest and simplest memory organization. In current compilers,
Pemrograman Dasar. Basic Elements Of Java
Pemrograman Dasar Basic Elements Of Java Compiling and Running a Java Application 2 Portable Java Application 3 Java Platform Platform: hardware or software environment in which a program runs. Oracle
Alarms & Events Plug-In Help. 2015 Kepware, Inc.
2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 Alarms & Events Plug-In 3 Overview 3 OPC AE Plug-In Terminology 3 OPC AE Plug-In Conditions 4 The OPC AE Plug-In from the OPC AE Clients' Perspective
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
PL / SQL Basics. Chapter 3
PL / SQL Basics Chapter 3 PL / SQL Basics PL / SQL block Lexical units Variable declarations PL / SQL types Expressions and operators PL / SQL control structures PL / SQL style guide 2 PL / SQL Block Basic
Portal Connector Fields and Widgets Technical Documentation
Portal Connector Fields and Widgets Technical Documentation 1 Form Fields 1.1 Content 1.1.1 CRM Form Configuration The CRM Form Configuration manages all the fields on the form and defines how the fields
Oracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the
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
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.
Introduction to Object-Oriented Programming
Introduction to Object-Oriented Programming Programs and Methods Christopher Simpkins [email protected] CS 1331 (Georgia Tech) Programs and Methods 1 / 8 The Anatomy of a Java Program It is customary
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
Fast JavaScript in V8. The V8 JavaScript Engine. ...well almost all boats. Never use with. Never use with part 2.
Fast JavaScript in V8 Erik Corry Google The V8 JavaScript Engine A from-scratch reimplementation of the ECMAScript 3 language An Open Source project from Google, primarily developed here in Århus A real
FileMaker 11. ODBC and JDBC Guide
FileMaker 11 ODBC and JDBC Guide 2004 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered
WA2099 Introduction to Java using RAD 8.0 EVALUATION ONLY. Student Labs. Web Age Solutions Inc.
WA2099 Introduction to Java using RAD 8.0 Student Labs Web Age Solutions Inc. 1 Table of Contents Lab 1 - The HelloWorld Class...3 Lab 2 - Refining The HelloWorld Class...20 Lab 3 - The Arithmetic Class...25
Java Interview Questions and Answers
1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform independence means that we can write and compile the java
Lecture 5: Java Fundamentals III
Lecture 5: Java Fundamentals III School of Science and Technology The University of New England Trimester 2 2015 Lecture 5: Java Fundamentals III - Operators Reading: Finish reading Chapter 2 of the 2nd
Dart a modern web language
Dart a modern web language or why web programmers need more structure Kasper Lund & Lars Bak Software engineers, Google Inc. Object-oriented language experience: 26 + 12 years The Web Is Fantastic The
CIS 467/602-01: Data Visualization
CIS 467/602-01: Data Visualization HTML, CSS, SVG, (& JavaScript) Dr. David Koop Assignment 1 Posted on the course web site Due Friday, Feb. 13 Get started soon! Submission information will be posted Useful
Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.
Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to
Java the UML Way: Integrating Object-Oriented Design and Programming
Java the UML Way: Integrating Object-Oriented Design and Programming by Else Lervik and Vegard B. Havdal ISBN 0-470-84386-1 John Wiley & Sons, Ltd. Table of Contents Preface xi 1 Introduction 1 1.1 Preliminaries
