->
Oreilly - Mastering JavaScript Design Patterns: A Practical Introduction to Building Better Applications - 9781783980734
Oreilly - Mastering JavaScript Design Patterns: A Practical Introduction to Building Better Applications
by Alexandr Truhin | Publisher: Packt Publishing | Release Date: September 2015 | ISBN: 9781783980734


A practical introduction to writing better and more maintainable code using JavaScript design patterns About This VideoA practical, application-oriented guide to working with JavaScript design patternsBuild a music player application and tackle real-world challenges that appear as the application grows in complexityEnhance the application's functionality and performance through writing modular, strongly organized codeUnderstand how design patterns can improve the testability and maintainability of application code, and embed healthy programming practicesIn DetailAs the language of the web, JavaScript is used prolifically by developers building new applications every day. However, some developers still lack the knowledge about how to write things in a simpler, clearer and more maintainable way. Design patterns are proven solutions to common development problems, and can boost code quality and application maintainability, as well as improve developer efficiency. Mastering JavaScript Design Patterns demonstrates how to apply design patterns in real life situations, whether that's for new, or already existing projects. It will help you to make your applications more flexible, perform better, and easier to maintain.We'll begin by building a simple music player application, and then we'll build and add more and more functionality to our music player application. We'll also cover different ways to modularize the application.In the next two sections we'll build a server and will load data from it. We'll cover different techniques for caching, fallbacks, optimizing memory consumption and deferred actions.In the last section we'll cover code maintainability improvement techniques by using less known, yet powerful JavaScript techniques.
  1. Chapter 1 : Introduction
    • The Course Overview 00:03:01
    • Software Design Patterns and Antipatterns 00:02:45
    • JavaScript Patterns Specifics 00:02:52
  2. Chapter 2 : Starting the Project
    • Bootstrapping the Project 00:05:30
    • Adding the Play Functionality 00:03:57
    • Encapsulating Information 00:02:43
    • Abstracting Manipulation with DOM Events and Elements 00:04:26
    • Creating an Adapter to Set Intervals Using Seconds 00:01:25
    • Using Different Ways to Match Conditions 00:02:29
  3. Chapter 3 : Modularizing the Application
    • Modularizing the Application Using Namespaces 00:04:33
    • Modularizing the Application Using AMD and Require.js 00:04:10
    • Communication Between Modules 00:05:00
    • ES6 Modules 00:04:52
  4. Chpater 4 : Organizing the Application Through Separation of Concerns
    • Decoupling the Tracks Queue from the Tracks Player 00:04:22
    • Treating Each Track as a Separate Component 00:07:20
    • Adding the PubSub Functionality to Tracks 00:02:24
    • Enabling Track Play and Highlighting the Active Track 00:04:21
    • Decoupling the Track Model from the View 00:03:06
    • Formatting Track Time: Two-way Data Binding 00:04:20
  5. Chapter 5 : Enhancing the Tracks Functionality and Adding Nested Tracks
    • Adding a Few Types of Tracks 00:03:09
    • Implementing Track Removal 00:03:15
    • Iterating Over Tracks Using a Generator 00:02:45
    • Iterating Over Tracks Using an Iterator 00:02:51
    • Adding Nested Tracks and Displaying Them 00:02:45
    • Fixing the Queue to Work with Nested Tracks 00:04:39
  6. Chapter 6 : Building the Server and Loading Data from It
    • Creating the Server Using Node.js 00:02:17
    • Returning the Tracks Queue from the Server 00:03:58
    • Loading Tracks from the Server 00:02:32
    • Replacing Callbacks with Promises 00:01:41
    • Binding a Function to a Custom Context 00:01:34
  7. Chapter 7 : Loading Tracks' Additional Data
    • Loading Tracks' Additional Data from the Server 00:04:27
    • Caching Data Loaded from the Server 00:01:53
    • Checking for Track Data with a Fallback 00:03:08
    • Storing Common Tracks Data in Shared Objects 00:02:43
  8. Chapter 8 : Improving Code Maintainability
    • Adding Different Skins for the Player Header 00:04:17
    • Improving Testability by Inversion of Control 00:01:57
    • Forcing Function Argument Types 00:03:02
    • Fixing Models to Support Any String as Attribute Name 00:03:38
  9. Oreilly - Mastering JavaScript Design Patterns: A Practical Introduction to Building Better Applications


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.




rss