September 2015
Beginner to intermediate
230 pages
4h 47m
English
This section shows the basics of creating a JavaScript program using Redis. It is important to understand this foundation since the upcoming examples use the same principles.
In this book, all filenames, function names, and variable names are italicized. Some sentences follow this convention:
Create a file called hello.js with the following code:
var redis = require("redis"); // 1
var client = redis.createClient(); // 2
client.set("my_key", "Hello World using Node.js and Redis"); // 3
client.get("my_key", redis.print); // 4
client.quit(); // 5
Please note that all the code snippets in this book ...
Read now
Unlock full access