The Good Parts of JavaScript and the Web

The Good Parts of JavaScript and the Web

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 10h 54m | 2.66 GB

This course helps identify the value of using JavaScript for web-based programming. First, learn the history of JavaScript, the details of the language, and get an overview of how browsers and servers work. Next, because this course gives special attention to functions—which is where the power of the language is hidden—dive into best practices, working with closures, inheritance, and patterns. Discover how JavaScript and HTML interact by exploring script tags, tree structures, node retrieval, event handling, and DOM performance. Some new features related to ES5 and ES6 are covered. Then, find out how you can follow security principles to protect against attacks. Finally, learn about asynchronous functions, JSON, and how to capitalize on the best parts of JavaScript.

Topics include:

  • Writing code for performance
  • JavaScript syntax
  • Functions
  • HTML, JavaScript, and web browsers
  • Script tags
  • Nodes and events
  • ES5 and ES6
  • Ajax
  • Principles of security
  • Cryptography
  • Object capabilities
  • Synchronous functions
  • Asynchronous functions
  • JSON
Table of Contents

Programming Style and your Brain
01. Two systems
02. Visual processing
03. JavaScript – Good parts and bad parts
04. Programming style
05. Composition
06. Scope
07. Bad style
08. Code written for performance

And Then There Was JavaScript
09. History of JavaScript
10. Objects
11. Numbers
12. Booleans and strings
13. Arrays
14. Dates, regex, and types
15. JavaScript syntax
16. Statements

Function the Ultimate
17. Functions
18. Function best practices
19. Closure
20. Closure examples
21. Pseudoclassical inheritance
22. Module pattern
23. Pseudoclassical inheritance vs. functional inheritance

The Metamorphosis of Ajax
24. The history of HTML
25. How JavaScript saved HTML
26. The browser
27. The script tag
28. Document tree structure
29. Retrieving nodes
30. Events
31. DOM performance
32. Division of labor

ES5 – The New Parts
33. A better JavaScript
34. New syntax
35. New methods
36. Meta object API
37. Strict mode

Fun with Functions
38. Function challenge 1
39. Function challenge 2
40. Function challenge 3
41. Function challenge 4
42. Function challenge 5
43. Function challenge 6
44. Function challenge 7
45. Function challenge 8
46. Function challenge 9
47. Function challenge 10
48. Building a better constructor
49. Function challenge 11
50. Identifying security vulnerabilities, part 1
51. Identifying security vulnerabilities, part 2
52. Identifying security vulnerabilities – solution
53. Function challenge 12
54. Securing the pubsub() function, part 1
55. Securing the pubsub() function, part 2

Principles of Security
56. The history of security
57. Cryptography
58. Security and the browser
59. Cross site scripting
60. Object capabilities
61. Reducing complexity
62. A simple attack

Managing Asynchronicity
63. Synchronous functions
64. Asynchronous functions
65. JavaScript on the server
66. Functional programming
67. RQ example
68. RQfunction types
69. Testing with JSCheck
70. Closure and continuation

The Better Parts
71. The good parts
72. Arguments against the good parts
73. New good parts in ES6
74. Good parts reconsidered
75. The next language
76. Evolution of inheritance
77. A bug story
78. JSON
79. Final thoughts
80. Audience questions & answers