Acquia Cloud Node.js

The Acquia Cloud Node.js Application Service is a native runtime service for executing back-end (server-side) Javascript applications.
Our Node.js environment can be utilized to serve most of today’s popular JavaScript applications like GraphQL, React, Ember, and many more.

image3.jpg
Acquia Cloud Node.js and Drupal Application Services

The Node.js service includes:

  • Node.js development and production runtime infrastructure environments
  • Acquia Cloud User Interface for continuous delivery and deployment
    • Drag and Drop functionality to easily move code from Dev to Prod
    • Blank Git repo that includes npm start that users can clone to start developing locally
    • The ability to manage teams and permissions for both Node.js and Drupal developers
  • The ability to connect and optimize Node.js applications with decoupled Drupal
  • Ability to add multiple environment variables that can be utilized in a Node.js application at runtime

Common Node.js Use Cases

  • Server-side rendering of front-end templates written in AngularJS, React, Ember, or other front-end Javascript frameworks.
  • Access to leverage thousands of Node.js modules with NPM
  • Run standalone Node.js applications for real time communications like chat servers, analyzing statistics or analytics, and numerous data-streaming application scenarios
  • Create proxy layers between clients and Drupal, for enhanced security and performance
  • Optimize decoupled Drupal apps with improved speed, SEO, and proxying capabilities
  • WebSockets support for performant, low-overhead, two-way data transfer to clients

How do popular JavaScript frameworks relate to Node.js?

Most popular JavaScript frameworks can be executed in parallel with Node.js. Many of the frameworks like Ember.js or React can run with or without Node.js, while often being used on top of Node.js in a technology stack. In many cases, the role of Node.js is to primarily “serve” the framework when executing the rendering of the application for the browser.

Writing JavaScript in Node.js can accomplish the functionality of most frameworks, but the strength of the JavaScript frameworks is that it makes these common workflows faster. The differentiator with Node.js is that it can function as a web server (or as a framework), while client-side javascript frameworks (like React or Angular) are intended for interaction with a web browser.

Some Applications best suited for Node.js

A majority of projects that use Node.js lean on its inherent strength: real-time or asynchronous functionality. So typical project cases revolve around the ability to maintain this single threading in a non-blocking way. A common example would be a SPA (single-page application) website that uses a combination of multiple views or API endpoints without the need for a page refresh.

Other common examples of this functionality include:

  • Dynamic API Factory
  • Real-time or data streaming
  • Chatbots / Chat clients
  • Messaging over WebSockets

Headless CMS and Node.js

You can use the Acquia Cloud Node.js service with Acquia Headless Lightning as a decoupled CMS — making Drupal the content repository, content creation, and update service while connecting Node.js with front-end javascript presentation frameworks such as React, Angular, and Ember.

Continuous Delivery and Cloud Deployment

Acquia Cloud CD provides continuous integration and delivery devops tools for Node.js and Headless Lightning, including CD Pipelines and CD Environments. Acquia Cloud and Cloud CD make it easy to test and provision applications and environments across development, staging, and production.

nodejs_page_cloud_ui_2.png
Acquia Cloud makes it easy to provision and manage Node.js applications and environments.

image2_6.png
Acquia Cloud make it easy to support continuous integration and deliver.

Common Terminology for Node.js & JavaScript

  • Node - Shorthand terminology for node.js
  • Single-page application (SPA) - A website experienced in a single page, which can be navigated without the need for page reloading
  • Non-blocking - A node.js operation that does not wait for I/O to complete
  • Asynchronous - Processes that work independent of each other in an non-sequential manner of execution
  • Isomorphic JavaScript (ie. Universal JavaScript) - JavaScript applications that run both on the client and the server
  • Stateful - An application that tracks state of interaction based on previous input from the user
  • JavaScript Front-end Frameworks - Below are the more popular frameworks:
    • React - JavaScript library from FB used to create UI components
    • Ember.js - Framework focused on the model–view–viewmodel (MVVM) pattern.
    • Angularjs - Framework focused on both the model–view–controller (MVC) and model–view–viewmodel (MVVM) workflow
    • Vue.js - Progressive framework for building user interfaces focused on a lighter footprint than other frameworks listed above

Decoupled Tutorial Overview

Interested in testing a completed Decoupled Drupal Application?

You can learn how to build this application architecture with a pre-built application with Node.js and Drupal on Acquia Cloud.

Check out: Node.js with Decoupled Drupal on Acquia Cloud

Node.js Blogs

When Drupal 8.0 was released two and a half years ago, with a built-in REST API, it signaled the start of Drupal's evolution to an API-first platform.

With a uniquely diverse community of designers, developers, and everyone in between, Frontend United is one of the conferences I find I enjoy more and

About the Decoupled Starter Kit

The Professional Services team at Acquia is thrilled to announce the first release of the Acquia Decoupled Starter Kit for React.

With its flurry of sessions, events, concerts, and exhibitors, it's a wonder anyone gets any sleep at SXSW, the giant gathering of minds, auteurs, and performers in the capital of Texas.

Every time I leave the Windy City, I feel something pulling me back. This time, it wasn't the gusts that whip around the skyscrapers towering over Lake Shore Drive.

Today, Acquia announced that it expanded

According to the Stack Overflow 2017 Developer Survey, the most loved development framework is React, and the most wanted is

At no point in the history of digital content has there ever been such a dizzying proliferation of devices in our lives, and experiences we encounter and consume.

Developing single page applications? Mobile applications? Signage applications? You are developing digital applications, not websites.

The press release went out this morning with the headline,

Decoupled applications are increasing in popularity as brand experiences continue to move beyond the traditional website.