RethinkDB 2.3: user accounts, network encryption, Windows support

Today we’re pleased to announce the release of RethinkDB 2.3 (Fantasia). Download it now!

RethinkDB 2.3 has new security features that bring more flexibility to database deployment and administration. The update also includes performance improvements, a handful of new ReQL features, and a beta release of our recently-introduced Windows port. Here are some of the highlights:

  • Network encryption: built-in TLS support encrypts database connections
  • Users and permissions: you can achieve granular control over database access by creating user accounts and assigning permissions
  • The fold command: we added a new fold command to the ReQL query language that lets you perform reduce-like operations on ordered streams, with optional support for emitting a stream of values based on the current accumulator state.
  • Windows compatibility: support for running RethinkDB on Windows is now in beta. You can download and install RethinkDB 2.3 on Microsoft’s operating system.
Read the full post

Build realtime web apps with RethinkDB and Dogescript

I’m Skyla, RethinkDB’s canine-in-residence. My vitally important responsibilities at the office include terrorizing the UPS delivery man, gazing intently at the team while they eat lunch, relentlessly gnawing stuffed animals, and pursuing the insidious red dot. I’ve recently taken up computer programming so that I can help the team build RethinkDB demos. In this tutorial, I will demonstrate how to build a realtime web application with RethinkDB and Dogescript.

Dogescript is a dynamic programming language designed to reflect the unique canine patois popularly associated with doges. The language transpiles to JavaScript, which means that users can take advantage of a large ecosystem of existing libraries and frameworks. You can adopt Dogescript today without giving up indispensable packages like left-pad.

My full-stack Dogescript demo uses Node.js on the backend. The frontend is built with the handlebars templating library and jQuery. The application, which is called Dogechat, displays a chat room with realtime messaging. It helpfully shows each message as a doge meme.

Read the full post

How to validate user input in a NoSQL web application

Like many other modern JSON databases, RethinkDB is schemaless: the developer doesn’t have to define a fixed structure or specify field types when creating a new table. In cases where validation is desirable, it’s up to the developer to build it into their application.

Shifting the responsibility for input validation from the persistence layer to the application layer gives developers a lot of flexibility in how they choose to implement the capability. This blog post demonstrates several ways to validate input in Node.js web applications.

Read the full post

Video: Slava Akhmechet presents new RethinkDB features coming in 2016

At a recent meetup in San Francisco, our CEO Slava Akhmechet introduced some of the new features coming in 2016. His presentation included an early look at Horizon, an upcoming framework that extends RethinkDB to the browser and makes it possible for developers to build realtime web applications without writing backend code. You can watch a complete video recording of the talk, embedded below:

Read the full post

An early look at three high-impact ES6 features coming soon to Node.js

Google is currently developing V8 4.9, which will ship in the upcoming Chrome 49 release. V8 4.9 is a particularly exciting update, because it includes support for 91% of the ECMAScript 2015 (ES6) standard. When Node.js 6 launches with these V8 improvements, powerful new language features like destructuring assignment and proxies will work out of the box–without requiring special measures like command line flags or transpilers.

Although Node 6.0 isn’t scheduled for release until April, you can experience a little bit of the future today by compiling Node’s vee-eight-4.9 branch from source code. The vee-eight branches are where Node’s maintainers do the heavy lifting to make Node compatible with new versions of V8. The code from these branches is understandably not suitable for use in production environments, but it’s a fun a way to get an early look at coming improvements.

In this blog post, I’m going to walk you through a handful of the new ES6 features that you can use out of the box in the vee-eight-4.9 branch. It’s worth noting that many of these features are also available for testing in Node 5.x by using Babel or command line flags if you want to follow along without compiling.

Read the full post
prev Older posts Newer posts next