CG数据库 >> Structuring JavaScript Code

Structuring JavaScript Code的图片1Structuring JavaScript Code

MP4 | AVC 383kbps | English | 1024x768 | 15fps | 2h 10mins | AAC stereo 128kbps | 391 MB

Genre: Video Training

With the rise of HTML5 more and more JavaScript code is being included in applications to leverage canvas, geolocation, local storage, and other key APIs. This course walks through several patterns that can be used to structure code in a way that’s more re-useable, more maintainable, and less susceptible to naming collisions. Learn about patterns such as the Revealing Module and Revealing Prototype patterns and see how they can be used to convert function spaghetti code into structured code that encapsulates variables and functions.

001. Why do we Need JavaScript Patterns

002. Prototype Pattern

003. Module Pattern

004. Revealing Module Pattern

005. Revealing Prototype Pattern

Structuring JavaScript Code的图片2

Structuring JavaScript Code的图片3