Build Javascript localStorage collections library and publish to NPM. | Mike M. | Skillshare

Build Javascript localStorage collections library and publish to NPM.

Mike M., Learn and Share

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
15 Videos (1h 19m)
    • About this course

      1:10
    • Introduction

      1:27
    • Basic setup

      2:26
    • A basic description of the localStorage and sessionStorage

      2:03
    • Demonstration of the localStorage methods

      3:12
    • An overview of the Collection class and methods we are going to implement

      4:10
    • Check if the localStorage exists and implement createUID

      3:46
    • Implement the helper functions

      7:14
    • Create the Collection class

      2:26
    • Implement the save method

      13:38
    • Implement the findAll method

      3:05
    • Implement the findById method

      8:55
    • Implement the update method

      12:58
    • Implement the remove method

      8:29
    • Publish the library on NPM

      3:33

About This Class

If you are a beginner to intermediate level Javascript developer and want to take your Javascript skills to a whole new level, this is the course for you. 

I am sure, too many times, you have heard people state you should use third party Javascript frameworks and libraries when building your apps. It is true, reinventing the wheel when building apps is not recommended. So, you might have thought it is important to just learn frameworks and have neglected the core (Javascript) which is the underlying language in which all those JS frameworks and libraries are written in. If we don't spend time to learn plain Javascript very well, we won't be improving the skills needed to become better Javascript developers and will most likely get stuck when it comes to resolving issues that require us to dive deep into the sources of those frameworks such as Angular, React, Vue.js, etc.

Therefore, I thought, creating this course, which walks you through building a library using just plain Javascript without any third party dependency would be a great way for you to take your understanding of Javascript to the next level.

In this course you will build a library that will enhance the browser's localStorage into a collections based database that will be capable of storing collections of multiple items

The library you will build will also allow you to find collection items by their ids, update individual collections items, and remove items by ids.  You will also learn about different Javascript data types and be able to do type checking throughout your application using helper function you will create. 

You will build a class and its methods and create an instance from the class and apply the methods that your just created.

You will see debugging techniques as we will make an extensive use of the Chrome browser's inspector to walk through our code line by line and examine values and states of different variables.

8

Students

--

Projects

  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv

Level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

Mike M.

Learn and Share

Report class