Defensive Coding Fundamentals for JavaScript and HTML5
JavaScript
| Intermediate
- 18 Videos | 1h 5m 29s
- Includes Assessment
- Earns a Badge
Defensive programming is a methodology for writing code that is not prone to present or future errors caused by unexpected user inputs or actions. Explore defensive programming for JavaScript and HTML5, including an introduction to testing.
WHAT YOU WILL LEARN
-
describe the potential risks faced by software applicationsidentify the key reasons why risks are a recurring issuerecognize the key features of defensive codinglist some key approaches to preventing problems during the planning stagerecognize the correct way to use, or not use, the escape functionidentify the key features of a strong Cross-Origin Resource-Sharing Policyuse event handlers to account for and prevent untrusted datautilize secure Web storage in JavaScript and HTML5utilize secure Web messaging in JavaScript and HTML5
-
identify the key features and benefits of testingdescribe the benefits of testing your code for multiple browsersrecognize how to write testable code in JavaScript and HTML5recognize how to perform tests using Visual Studio for JavaScript and HTML5create examples of defensible methods in JavaScript and HTML5identify the techniques for applying defensive techniques for method parameters and return values in JavaScript and HTML5 methodsrecognize how to implement variable declarations for defendable codeidentify how to use null values in creating defendable codeidentify how to use if and switch statements in creating defendable code
IN THIS COURSE
-
1.Potential Software Risks in JavaScript and HTML53m 42sUP NEXT
-
2.Why Do Risks Exist in JavaScript and HTML5?2m 51s
-
3.Browser Security for JavaScript and HTML54m 3s
-
4.Preventive Planning in JavaScript and HTML54m
-
5.Using Escape in HTML5 and JavaScript2m 36s
-
6.Cross-Origin Resource-Sharing Policy4m 3s
-
7.Event Handlers and Untrusted Data4m 18s
-
8.Securing Web Storage in JavaScript and HTML53m 54s
-
9.Securing Web Messaging in JavaScript and HTML54m 12s
-
10.Introduction to Testing4m 1s
-
11.Cross-Browser Testing for JavaScript and HTML52m 48s
-
12.Writing Testable Code for JavaScript and HTML53m 1s
-
13.Unit Tests for JavaScript and HTML53m 24s
-
14.Defensible Methods in JavaScript and HTML53m 41s
-
15.Parameters and Return Values in JavaScript and HTML53m 42s
-
16.Variables in JavaScript and HTML54m 48s
-
17.Using Null Values in JavaScript and HTML53m 34s
-
18.If and Switch Statements in JavaScript and HTML52m 49s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.