Search results for 2014 06 23 using node js in production

Using Node.js in Production

by Brian Rinaldi

of the Node cluster systemd config: [Service] WorkingDirectory=/var/www ExecStart=/usr/bin/node boot.js ExecReload=/bin/kill -HUP $MAINPID Restart=always StandardOutput=syslog StandardError=syslog SyslogIdentifier=node-sample User=web Group=web Environment=’NODE_ENV=production‘ [Install] WantedBy=multi-user.target Load Balancing In production you’ll need at least…

Build Desktop Apps with JavaScript and Node WebKit

by Ben Farrell

…entry comes in. Pretty powerful and nice for a Node.js library, but what about the visual layer? Getting this far requires some basic knowledge of using Node.js and npm to…

Node.js vs. PHP

by Azat Mardan

Apache WebSocket or Ratchet. Node.js Building real-time apps is just a breeze with the Node.js stack using Socket.IO library with the Express.js framework and the Handlebars reactive template engine. In…

Building your first Node.js module

by Jonathan Fielding

Node.js Module? Before we get started with building our Node.js module, it is important that we understand what a Node.js module is. In its simplest form, a Node.js module is…

Writing a Command Line Utility using Node

by Brian Rinaldi

Node template for Grunt-Init (git clone [email protected]:gruntjs/grunt-init-node.git ~/.grunt-init/node) Getting Going Assuming all the prerequisites installed properly, we can get started writing our command line tool using Node. First, create a…

How Cars.com Developer Mac Heller-Ogden Convinced His Bosses to Adopt Node.js

by Nathan Collier

…question: Could Node.js improve workflow, efficiency, and performance at Cars.com? Mac—who’s now the principal developer at Cars.com—was kind enough to spend a few minutes with us on Skype recently to…

Picture showing a magazine layout with columns of different heights

CSS Regions Matter

by Brian Rinaldi

…And Reusability Of Code We can create reusable code using CSS Regions, similar to the way it is possible to create usable components using Web Components. The following examples show…

5 Impeccable Reasons Node.js is Great for Startups

5 Impeccable Reasons Node.js is Great for Startups

by Keval Padia

impeccable reasons that Node.js is preferred by most startups. 1. Scalability For many startups, their entire server-side mobile software stack is fully built in Node.js. The main reason in most…

JXcore – A Node.JS Distribution with Multi-threading

by Brian Rinaldi

when using JXcore: Achieves multithreading simply by running your application on JXCore; Built-in status aware process monitoring, specifically designed for server applications; Significant performance gains over Node.JS and Node.JS Cluster…

Rethinking DOM Traversal

by Brian Rinaldi

…= elem.parentNode; matches = []; for ( ; n; n = n.parentNode ) { if ( n.nodeType == 9) { return matches; } else if (n.nodeType == 1) matches.push( n…