Highlights
- Use advanced JavaScript to understand and implement good software engineering practices for your websites and frameworks
- Explore Regular expressions
- Work with constrained devices
- Understand SE best practices
- Exploit Third party frameworks & libraries
- Understand Common design patterns
- Explore New technologies
A short training video for Clean coding and TDD with JavaScript.
Course Details
Part 1-Regular expressions
- This section covers Regular Expressions, what they are, their syntax and how they are used.
- What is a regular expression
- Properties and methods
- Modifiers
- Patterns
- Special characters
Part 2-Working with constrained devices
- This section looks at some of the key areas that limit what a webpage can do, what these limitations are, what they apply to and how you can develop JavaScript code to handle these potential problems.
- Introduction
- TV - areas for consideration
- Mobile - areas for consideration
- Optimise with …
- Web workers
- Remove unused object properties or DOM elements
- Yahoo's 35 rules
Part 3-SE best practices
- Software engineering best practice for JavaScript code, simple things that can be done now plus areas for further study.
- Introduction
- HTML comments
- Common sense techniques
- Anti-patterns
- Security
- Accessibility
- Robustness
- Common SE techniques and methodologies
Part 4-Third party frameworks & libraries
- Script management and structure - requireJS
- Server side - node.js
- Class() - simple inheritance as defined by John Resig
- Client side - jQuery
Part 5-Common design patterns
- Design patterns have been used for a long time in many development languages to provide standards and structure. JavaScript now has a set of stable, reliable coding patterns that are being adopted by the JavaScript community.
- Introduction
- Patterns in JavaScript
- Single var pattern
- Literal syntax pattern
- Self-invoking constructor pattern
- Singleton
- Module
- Memoisation
- Decorator
- Observer
Part 6-New technologies
- An introduction into the technologies that are currently being trialled for use; this section gives several areas that may be further explored by the attendees.
- Web sockets
- Canvas
- Animation
- WebGL
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.
Who should attend
Feedback
4.8 out of 5 average
"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"
Brian Leek, Data Analyst, May 2022
“JBI did a great job of customizing their syllabus to suit our business needs and also bringing our team up to speed on the current best practices. Our teams varied widely in terms of experience and the Instructor handled this particularly well - very impressive”
Brian F, Team Lead, RBS, Data Analysis Course, 20 April 2022