People, Training, Results

Independent Technical IT Computer Training Courses

   

Complete JavaScript Programming Course

 

Course Description

This training is a jump-start to creating and working with JavaScript. This course covers the material you need to know to become proficient using JavaScript with your Web pages. You will learn JavaScript’s critical elements, including language syntax, script design, and deployment. This course will provide you with a strong foundation in JavaScript and enable you to build JavaScript enabled Web pages correctly and with confidence.

You will progress to making your web pages more dynamic and attractive by providing additional functionality to them. In this course, you will use the advanced techniques in JavaScript programming and Ajax to make your web pages highly functional.

You will use the advanced techniques in JavaScript programming and Ajax to add better functionality to make web pages interactive and dynamic.
£1695.00

5 day course

Scheduled Dates:
21 May 2012
16 July 2012
24 September 2012
03 December 2012

Course pre-requisites:

This course is for Web designers who want to learn how to use JavaScript to enhance their Web site, Webmasters who want to code and debug complex Web projects, or Web developers who need to expand beyond the limits of (X)HTML. Students should be comfortable creating web pages, writing (X)HTML, including forms, code, and proficient in using web browsers such as Internet Explorer, Firefox, Opera and Google Chrome.

Attendees should have some programming understanding, preferably some experience with any language that uses C-like syntax such as C, C++, C#, PHP, Java or Perl. Attendees should in any case have an understanding of the concepts and use of literals and variables, expressions and operators, including precedence and associativity, if/else statements and looping statements using both while and for keywords. For one organisation, for those without such experience, the initial topics can be covered at a less challenging pace.

Practical experience with PCs and desktop workstations. Knowledge of the web browser platforms is helpful. General knowledge of HTML/XHTML tags, including form tags. Basic programming knowledge is helpful, but not necessary



Topics covered on the 5 day Complete JavaScript Programming course

Introduction

  • JavaScript origins and antecedents
  • JavaScript and related standards
  • Embedding client-side JavaScript in (X)HTML
  • Script structure
  • Basic output methods

Basics

  • Basic syntactical structures
  • Basic input methods
  • Event handlers
  • Errors and diagnostics
  • Eval

Data types, expressions, operators

  • Integers, floats, strings
  • Variables and assignment
  • Creating expressions using operators
  • Conversions

Basic control structures

  • Relational expressions
  • Conditional processing: if and else
  • switch
  • Logical operators
  • Looping: while, for

Arrays

  • Defining normal arrays
  • Assigning and extracting values
  • Iterating across arrays
  • Array dimensions
  • Extending and reducing arrays
  • Sorting and reversing arrays

Functions basics

  • Creating your own functions
  • Invoking functions
  • Passing and receiving arguments
  • Variable scope
  • return value(s)

Object basics

  • Creating objects and new keyword
  • Accessing values of an object
  • Constructors
  • Class and instance methods
  • prototype property
  • with

Core built-in objects

  • Number, string and boolean types
  • String objects and properties
  • Simple string methods
  • Mathematics
  • Date and time handling
  • Regular expression basics
  • The Prototype library

Error and exception handling

  • Identifying and fixing errors
  • Syntax and runtime errors
  • Debugging
  • Anticipating errors
  • onerror
  • try...catch....finally

Regular expressions

  • The Regexp object
  • String and Regexp methods
  • Pattern matching facilities
  • Replacing text

Browser and document object model

  • Representing the browser
  • W3C
  • The DOM

Window and timer techniques

  • Opening new windows
  • Directing content to windows
  • Accessing the status bar
  • Timers and Prototype’s PeriodicalExecuter class

The DOM in practice

  • Level 0 and IE4 model and events
  • Dynamic content, innerHTML, etc
  • Level 1 and 2 techniques

Forms and JavaScript

  • Form objects and properties
  • Form elements, properties and methods
  • Named sets

Form validation

  • onSubmit and onReset event handlers
  • onblur and indivual element validation
  • Form.submit() and Form.reset()
  • Generic validation

Images and sound

  • Rollovers
  • Pre- and post-loading
  • The Image object
  • Image maps
  • Sounds

More advanced arrays

  • Slices – selecting contiguous elements
  • Further sortingnotions
  • Multidimensional arrays
  • Processing and sorting nested data structures
  • Associative arrays
  • Prototype’s extra Array methods
  • Prototype’s Enumerable and Hash classes

More on functions and objects

  • Anonymous functions
  • Adding methods to built-in and custom objects
  • prototype properties
  • Different ways of creating custom objects

Prototype’s language extensions

  • Extra Object and Function methods
  • The Class class
  • String and RegExp extensions
  • Template class
  • Class inheritance

DOM Level 1 and 2 techniques

  • Node and Element objects
  • Traversing HTML documents
  • Modifying the structure
  • Keyboard event handling
  • DOM2 event handling
  • More on the Prototype library

Cross-browser issues

  • Handling exceptions
  • The multiplicity of browser versions
  • Browser detection techniques
  • Object detection
  • Testing strategies
  • Prototype’s $ and other methods

Pseudodatabases and JavaScript

  • Internally representing large data sets
  • Dynamic documents

Stylesheets and JavaScript

  • Scripting in-line styles
  • Computed styles
  • Interacting with stylesheet classes
  • Representing stylesheets
  • Prototype’s $$ and other methods

Cookies

  • Nature, structure and application of cookies
  • Cookie duration, visibility and security
  • Creating, retrieving, updating and deleting
  • Cookie libraries
  • Alternatives to cookies

Form handling: the Prototype library

  • The $F utility
  • Form and Form.Element methods
  • Form.Observer and Form.Element.Observer

Embedded objects and JavaScript

  • Interacting with applets
  • Shockwave and Flash
  • ActiveX objects

Ajax introduction

  • The XMLHttpRequest object
  • Making a data request
  • Handling the response: XML JSON, etc
  • Synchronous vs asynchronous

Ajax applications

  • Third-party libraries
  • An Ajax.Autocomplete example
  • Ajax.InPlaceEditor
  • Database access
  • Validation and Ajax

Course Classification:  Technical Training Course

This is an instructor led training course taught in a classroom based environment.


Course Fee = £1695.00   (excl.VAT)



Scheduled course dates

21 May 2012 to 25 May 2012

16 July 2012 to 20 July 2012

24 September 2012 to 28 September 2012

03 December 2012 to 07 December 2012





View full schedule of Scripting courses

Print / Download PDF Version of full course schedule

If you would prefer to run this course at your premises as you have several employees to place on the course perhaps, then we are also able to offer onsite Java Training and bespoke Java courses