Search results for 2014 12 08 building first node js module

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…

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

Node.js. That plugin is relevant to this discussion because not every Node.js plugin works right out of the box in Node WebKit. ADBKit, as you’ve seen, works great because it’s…

Using Node.js in Production

by Brian Rinaldi

owner=web mode=755 state=directory – name: Add systemd conf template: src=systemd.service.j2 dest=/etc/systemd/system/node-sample.service notify: – enable node-sample handlers: – name: enable node-sample shell: systemctl enable node-sample [Service] WorkingDirectory={{project_root}} ExecStart=/usr/bin/node boot.js ExecReload=/bin/kill -HUP…

Real-World Best Practices for Building Angular.js Apps without Browserify or Require.js

by Jeff Dickey

concat = require(‘gulp-concat’) gulp.task(‘js‘, function () { gulp.src([‘src/**/module.js‘, ‘src/**/*.js‘]) .pipe(concat(‘app.js‘)) .pipe(gulp.dest(‘.’)) }) gulp.task(‘watch’, [‘js‘], function () { gulp.watch(‘src/**/*.js‘, [‘js‘]) }) This just defines a ‘gulp watch’ task we can call…

Introduction to npm

by Brian Rinaldi

going indefinitely. In our scenario, we have this directory structure: npm_hello ├run.jsnode_modules ├cheerio │ └node_modules │ ├CSSselect │ │ └node_modules │ │ ├CSSwhat │ │ └domutils │ │ └node_modules…

BDD in JavaScript with CucumberJS

by Todd Anderson

err; ^ Error: Cannot find module ‘./script/model/grocery-list’ at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/Users/toddanderson/Documents/workspace/custardbelly/cucumberjs-example/features/step_definitions/add-item.steps.js:3:19) Which is understandable since we haven’t defined any…

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…

Building Multiplayer Games with Node.js and Socket.IO

by Eric Terpstra

…a custom Node Module which will be discussed later. Express – On its own, Node.js does not provide many of the necessary requirements for creating a web application. Adding Express…

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…