JavaScript Introduction Course
Download PDF course outline
Course DescriptionJavaScript is a mature, standards-based and widely available scripting language, embedded in many browsers, used mainly to add flexibility and interactivity to web pages without necessarily requiring further server interaction. In addition to its built-in-facilities, there are freely-accessible libraries of JavaScript code to help build typical applications.
This three-day course provides a comprehensive introduction to the major aspects of the JavaScript scripting language and its application particularly to client-side applications. It covers the basic techniques and programming structures provided by the language, and how those are applied to the browser’s view of the page’s elements. |
£1300 3 day course Scheduled Dates: 16 January 2012 27 February 2012 10 April 2012 21 May 2012 Location: PTR's Training Centre Wokingham, Berkshire. |
Course pre-requisites:
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.
Topics covered on the 3 day JavaScript Introduction 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
- Mathemetics
- 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 elememt validation
- Form.submit() and Form.reset()
- Generic validation
Images and sound
- Rollovers
- Pre- and post-loading
- The Image object
- Image maps
- Sounds
Course Classification:
Technical Training Course
This is an instructor led training course taught in a classroom based environment.
Scheduled course dates
16 January 2012 to 18 January 2012
27 February 2012 to 29 February 2012
10 April 2012 to 12 April 2012
21 May 2012 to 23 May 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