Tag Archives: RethinkDB

Build a realtime liveblog with RethinkDB and PubNub

via Build a realtime liveblog with RethinkDB and PubNub – RethinkDB.

RethinkDB provides a persistence layer for realtime web applications, but the rest of the stack is up to you. A number of different frameworks and services are available to help you convey individual realtime updates to your application’s frontend.

In this blog post, I’ll demonstrate to use RethinkDB with PubNub, a service that provides hosting for realtime message streams. You can build realtime web application with PubNub and RethinkDB, taking advantage of PubNub’s cloud infrastructure to simplify development and scalability. To demonstrate how you can use PubNub with RethinkDB changefeeds, I’ll show you how to build a simple liveblog application.

Rethinkdbdash: An advanced NodeJS driver for RethinkDB with a connection pool, support for streams etc.

via neumino/rethinkdbdash · GitHub.

A Node.js driver for RethinkDB with more advanced features.

Gearz is a platform for developing data-centric business applications.

via gearz-lab/gearz · GitHub.


React-RethinkDB: Render realtime RethinkDB results in React

via mikemintz/react-rethinkdb · GitHub.

This library provides a React mixin for running RethinkDB queries in any React component directly from the browser. It wraps rethinkdb-websocket-client to connect to the database, and is intended to be used with rethinkdb-websocket-server running in the backend.

This is similar to solutions like Meteor, Parse, and Firebase. Rather than writing database queries in the backend and exposing API endpoints to the frontend, these solutions allow the frontend to directly access the data layer (secured by a permission system) using the same query API that backend services have access to.

Introduction to Data Modeling with JSData

via Introduction to Data Modeling with JSData.

Inspired by Ember Data, JSData is a framework-agnostic, storage-agnostic, in-memory data store.

JSData’s adapters handle communication with various storage layers, such as localStorage, Firebase, RethinkDB, or your RESTful backend.

In a typical scenario, you load data into the store, which maintains a single representation of every unique record coming from your storage layer. The data store offers an API for read, update, and delete operations, which are executed in your storage layer by an adapter, with the results finally synced back to the store. This is your Data or Model layer.

The Model layer is typically where your business logic resides–where you manipulate your data. There are many variations on this pattern, and JSData can work with your preferences.

JSData runs in the browser, communicating with storage layers such as localStorage, Firebase, your RESTful backend (HTTP target), etc.

JSData also runs in NodeJS, where adapters for MongoDB, Redis, RethinkDB, MySql/Postgres/SQLite, etc. are available.

JSData presents a uniform API for executing your typical CRUD operations against any storage layer for which an adapter is available. You can easily combine adapters for more complicated data management.

It is easy to add JSData to your project. Let’s get started:

The chemical wedding of RethinkDB and NodeJS

via The chemical wedding of RethinkDB and Node.js | AirPair.

RethinkDB has been on development for three years and it’s getting more and more attention because of its production-ready release and new realtime features.

Node.js excels at non-blocking I/O, so you want to delegate the heavy processing to a background worker as fast as possible. Turns out ReQL(RethinkDB Query Language) is growing into a nice option for this kind of job, it will distribute the group-map-reduce work and probably simplify your system architecture, executing the whole job on the same layer.

Video: Getting Started with Express NodeJS Framework

Explore MEAN Stack 2015 http://goo.gl/QskMgq

Josh Kuhn introduces you to RethinkDB. Node.js proved the viability of making everything asynchronous, and now developers are expecting those capabilities in their databases too. RethinkDB is a JSON document database that has Node’s streaming model at its heart. This makes it dead-simple to create data-driven applications that are asynchronous all the way down the stack.