Course Outline
This course is aimed at seasoned Javascript developers who need to learn about more advanced techniques
Course Content
This course has been developed for real-world, commercial scenarios by our expert instructors. See below for detailed syllabus. If you have a technical question, please email sales@jbinternational.co.uk
Part 1 Effective device/feature detection
This section covers several different ways of detecting the features available in the many browsers that are in common use. This supports the concept of feature detection commonly used in modern development methodologies.
Introduction
Modernizr
HTML5 feature detection
Suggested webpages
Feature detection using MIME type
Part 2 Event handling
This section will look at advanced event handling which allows you to handle events such as drag/drop and touch.
Event propagation
Advanced event handling
Part 3 Inheritance via prototype
This section looks at the way JavaScript handles Object Oriented coding via prototypal inheritance and object definition.
JavaScript objects definition
Prototypes and inheritance
Part 4 Ajax and JSON/JSONP
This section will cover AJAX coding and use, plus the way JavaScript interacts with JSON and JSONP.
AJAX technologies
Client side
Server side
JSON/JSONP
Part 5 HTML5 media element
This section looks at the new HTML5 elements available to support embedding media on a webpage.
Video
Audio
Compatibility
Part 6 Functions
This section covers the use of the arguments object with functions, plus looks at some special types of function commonly used in modern JavaScript , it's frameworks and libraries.
The Arguments object
First class objects
Closures
Currying
Immediate functions
Self-defining functions
Part 7 Testing techniques
The final section in this course introduces some tools commonly used in the production and testing of JavaScript code.
Testing JavaScript
Basic testing techniques
Code tidiers, syntax checkers & validators
Online testing
Browser based tools
IDE’s
Specialist unit test environments – Qunit, JS-Test-Driver
Examples and Exercises
There are numerous (standards compliant) examples available for this course that illustrate the concepts covered.
In addition to the examples there are practical exercises in each section that allow attendees to explore and consolidate their knowledge of the concept. Further topics are given for future study that relate to the topics covered.
Some of the exercises are done as team work, the remainder are done on an individual basis with the individual choosing the level of complexity they want to code within the exercise parameters.