About the course
What Will I Learn?
understand what the localStorage is, how it works and the limitations it has in saving complex data structures.
create helper functions that check data types and generate unique ids.
create a class, constructor and methods and instances from the class to enhance the capabilities of the localStorage data store.
turn the browser's localStorage that only saves key-value pairs to a database that is capable of saving collections.
create methods that will create collections and save items in the collections, find all collection items, get a single collection item by its id, update a collection item, and remove a collection item by its id.
create and use callback functions that provide errors and responses based on the status of an operation.
create a logical flow of conditions that check the validity of supplied parameters to the methods you create.
use JSON methods such as 'stringify' and parse to work with data in different formats.
learn debugging techniques using the chrome's debugger (set debugger points and step through your code line by line and examine values and status' of different parameters and variables).
use the Error constructor to throw custom errors.
- Chrome browser and a simple code editor
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.
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.
Finally, you will be able to publish the library on NPM and make it available for use by other developers with the simple `npm install package-name` command.
Who is the target audience?
- Anyone who wants to learn to code
How to Create a Platformer with a Story - GameMaker Studio 2