Search results for 2014 06 23 using node js in production ?utm_source=nodeweekly

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…

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…

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…

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…

Picture showing a magazine layout with columns of different heights

CSS Regions Matter

by Brian Rinaldi

…</div> </section> <aside> <!– Fallback content in this flow region, probably clone #ad-source –> </aside> <!– Source of flowing content, essentially hidden as an element –> <div id=”ad-source”> <a href=”#”><img…

Building a JavaScript Library with Grunt.js

by Brian Rinaldi

= ‘distrib/’+name+’.min.js‘; sourceMapMin = ‘distrib/source-map-‘+name+’.min.js‘; lDevRelease = ‘distrib/’+latest+’.js‘; lMinRelease = ‘distrib/’+latest+’.min.js‘; lSourceMapMin = ‘distrib/source-map-‘+latest+’.min.js‘; grunt.initConfig({ copy: { development: { // copy non-minified release file src: devRelease, dest: lDevRelease }, minified:…

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…

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…