Understanding EWDjs: Working with Global-based Databases
4.9 (13 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
49 students enrolled

Understanding EWDjs: Working with Global-based Databases

A comprehensive guide to understanding Global storage and how it is accessed by and manipulated from within EWDjs
4.9 (13 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
49 students enrolled
Created by Rob Tweed
Last updated 10/2015
English
English [Auto]
Current price: $34.99 Original price: $49.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 2.5 hours on-demand video
  • 13 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • understand how Global Storage works
  • understand how to manipulate data in a Global-based database
  • understand how to work with Global storage from EWD.js applications, using its JavaScript / JSON abstraction
Requirements
  • Students should have a working EWD.js system
  • Students should ideally have completed the "Getting Started with EWD.js" course
Description

Global-based databases are a little-known and relatively poorly-understood technology, and yet they are incredibly powerful multi-model NoSQL databases. EWDjs is primarily designed to integrate with and exploit the power of these databases, so anyone wishing to use EWDjs in the most effective way should take this course.

This course explains in detail how Global Storage works and how Global-based databases are accessed from Nodejs and EWDjs.

Students should already have an understanding of databases and should be familiar with both using and the concepts that underpin Nodejs and EWDjs.

The course mainly consists of video screencasts, but source code is included for the examples used during the course.

The course should take 2 - 3 hours to complete.

Who this course is for:
  • This course is intended for students who have begun using EWD.js and want to understand how it integrates with a Global-based database
Course content
Expand all 17 lectures 02:29:18
+ How Global Storage Works
2 lectures 10:08

This lecture focuses on the basic concepts and principles behind a Global Storage database

Preview 07:10
+ Modelling NoSQL Database Types using Global Storage
1 lecture 11:09
Modelling NoSQL Database Types using Globals
11:09
+ Accessing Global Storage from Node.js
4 lectures 29:11
Background
03:49

In this lecture we'll focus on loading and initialising the interface modules, and show how you open and close connections to Cache, GlobalsDB and GT.M

Loading and Initialising the Interface Modules
06:51

This lecture focuses on the main Global primitive APIs that allow you to set, get and delete Global Nodes

The Basic Global APIs
07:07

In this lecture you'll learn how to navigate around the subscripts of a set of nodes within a Global

Traversing Global Subscripts
11:24
+ Globals as Persistent JavaScript Objects
7 lectures 01:10:24

This lecture sets out the concept of projecting Globals as Persistent JavaScript Objects, and explains the GlobalNode Object and the basic, primitive properties and methods it exposes

Background to and Basics of Abstracting Globals as Persistent JavaScript Objects
12:07

This lecture introduces the $() method for GlobalNode Objects, which is the key to projecting physical Global Nodes on disc as persistent JavaScript Objects

Abstracting Global Subscripts as JavaScript Object Properties
10:53

In this lecture we introduce the GlobalNode Object's forEach() method, which greatly simplifies and clarifies the means by which you can traverse a Global's subscripts and contents

Global Traversal using GlobalNode Objects
07:18

In this lecture we'll look at how and why forEach loops can be nested, and how to navigate to specific subscripts without an exhaustive traversal. We'll also see how to reverse the direction of a forEach loop.

Nesting forEach Loops and Navigating to Specific Subscripts
07:27

In this lecture we'll look at how you can limit traversal of a Global's subscripts to those starting with a specified prefix, how you can traverse ranges of subscript values, and finally how you can traverse between a Global's leaf nodes.

More Complex GlobalNode Traversal Mechanism
13:26

In this lecture we introduce the _getDocument() and _setDocument() methods, which allow Global Storage to be treated as a Document Database

Global Storage as a Document Database
07:58

In this lecture we'll see how _getDocument() and _setDocument() map arrays between Global Storage and JSON, and how you can control this behaviour. We'll also see how you can adjust their behaviour to improve performance.

Advanced Features of _getDocument() and _setDocument()
11:15
+ Using GlobalNode Objects in EWD.js
3 lectures 28:28

In this lecture, we look in detail at a simple EWDjs application that demonstrates the use of GlobalNode Objects to manipulate Global Storage

Using GlobalNode Objects to access Global Storage in your EWDjs Back-end Modules
06:11

In this lecture, we examine in detail the EWDjs Session, which is made available to you as a GlobalNode Object

Using the EWD.js Session GlobalNode Object
08:49

In this lecture we'll examine how GlobalNode Objects can be used to convey complex data to and from Cache or Mumps extrinsic functions, and in doing so provide a way to integrate legacy Mumps code into your EWDjs applications

Using GlobalNode Objects to Integrate Legacy Cache/Mumps Logic
13:28