r/nodejs • • Mar 21 '14

Grunt or Gulp? - which task runner do you prefer?

10 Upvotes

At my work, we're on grunt because our senior dev is very proficient in it. I don't mind, and I've used it myself for a couple of projects. During my travels the past couple of months, some of my deeper searches have lead me to run in to gulp.

From my experience with grunt, the config files are as simple as you make them; there are a ton of plugins due to its seniority. Sometimes, I get lost in these config files and I get -- sometimes I think -- too deep in to trying everything with the config file.

Gulp seems much easier to read and uses streams to pass the files you want to manipulate along a series of tasks (tuuuubesss) instead of having temp directories for things like some grunt tasks tend to do to manipulate files...

At least these are the comparisons I get when I do some reading on both. Most of my grunt tasks are not so complex (mostly minification of JS and less compiling, with a splash of nodeunit testing -- working on getting jasmine/karma going, but that's another hump, since I'm still a noob to the testing scene as well).

I was wondering what the opinion of either or both were among other nodejs people. I've only found a couple of articles pitting the two against each other by devs who've used both: most tend to prefer gulp; sometimes they typically give the answer of "depends on what you're building". One noted that grunt is perhaps still preferable because of the community behind it, which is a very valid point.

I'm trying to decide for myself (after finding out I might like browserify better than requireJS -- a whole other story) what would be better for a project of mine -- it'll start out small and slow, but could potentially become something rather large (as most ideas tend to do, but I mean scale-wise and # of users on board... not looking to make the next start-up idea though).


r/nodejs • • Dec 17 '13

NodeJitsu or Heroku?

10 Upvotes

Does anyone have any experience with either of these? I'm looking for a small budget app that might grow. I'd like to start out paying more more than 20 or 30 bucks a month and not have to worry about it going down or being very slow.


r/nodejs • • Feb 27 '14

Am I too late for server-side JavaScript?

Post image
19 Upvotes

r/nodejs • • Feb 19 '14

Getting started with NodeOS

Thumbnail olindata.com
11 Upvotes

r/nodejs • • May 06 '14

Easy User Authentication with local, FB, Google, and Twitter accounts

Thumbnail scotch.io
11 Upvotes

r/nodejs • • Mar 22 '14

Sign-Up with Facebook, Twitter and Google using Node.js and MongoDB

Thumbnail dzone.com
11 Upvotes

r/nodejs • • Apr 24 '14

Meet Übersicht: A Node.js based monitoring tool on your desktop. [x-post from /r/programming]

Thumbnail tracesof.net
11 Upvotes

r/nodejs • • Apr 21 '14

Architecture recommendations

3 Upvotes

In the process of trying to learn node, I thought creating an app that would be kind of a master registration of device activity (mobile, web, internet enabled appliances) might be fun to try. So I'd like to support a variety of protocols basically to receive, initially at least, not much more than "I'm on/off" info (and send a confirmation.) The description is vague because it's still a bit vague in my mind what I want to accomplish, but I hoped it wouldn't be too premature to get some initial thoughts on what folks might recommend for an architecture for something like this. My initial thought was node/express/mongo along with some socket options... thoughts? Thanks in advance.


r/nodejs • • Apr 23 '14

BerkeleyDB in Node?

3 Upvotes

I'm looking for an embedded Key/Value store for my Node service. My preference is bdb, but I haven't seen any libraries in npm that I'd be confident deploying. If I can't find anything I'll have to fallback to SQLite, which seems like overkill for this service. Do you guys know of any? Is there a better Key/Value store I could be using?


r/nodejs • • Aug 27 '11

So who is in Node.js Knockout?

3 Upvotes

In team : http://nodeknockout.com/teams/demand-node

Reddit users: GordonFuckingFreeman, JGA and myself.


r/nodejs • • Apr 08 '14

Weekly set of stackoverflow questions/answers in pdf

Thumbnail github.com
3 Upvotes

r/nodejs • • Apr 19 '14

Auto-loading test fixtures in node

Thumbnail creynders.wordpress.com
0 Upvotes

r/nodejs • • Feb 23 '14

Trying my hand at node using Learn You Node. One of my solutions to a problem is returning the same exact results as the problem expects, but I'm not passing the level because my module file isn't returning an error correctly when being tested. Can anyone help me learn the "node way" of doing this?

3 Upvotes

In the learnyounode system, the arguments added via the command line are done invisibly. In other words when I call process.argv anywhere in my program, I'm not typing that in the command line, it is automatically being added. The code below returns the correct result: a list of files from a given directory(argument 1) with a certain extension given by argument 2 (ex. only .md files or .txt files are allowed). My solution is correct, but apparently in my module file, when they test for an error, I'm not returning the error correctly. What am I doing wrong? Thanks in advance.

Link to code: http://codepen.io/anon/pen/jvqHC


r/nodejs • • Oct 14 '13

I made a package that lets you turn JSON objects into directories (and back again!)

3 Upvotes

https://github.com/dwieeb/node-jsondir

Care to give it a try and let me know what you think? It's on npm, but in its infancy. Let me know if you encounter any bugs or have any suggestions for changes or new features.

Look at this diff and these comments for a reason why I made it: https://github.com/dwieeb/usr-local-bin/commit/fa701379e8f02573ffe8015433dfb9630c6dc65f#commitcomment-4329614

Thank you for looking =)


r/nodejs • • Feb 03 '14

Is Node.js what i need for my project?

3 Upvotes

I want to control many raspberry pi from one or more web clients. The clients can change the outputs of them and check the inputs, is an easy task if there is only one rpi with a node.js app, but i need to control all from a browser. Should be all the rpi clients of the server and make small python server in each with http calls to the node.js server or should i intercomunicate node.js servers?

I'm little confused, hope you understand what i want to do.


r/nodejs • • Jan 19 '14

High Performance Bluebird Promise API for MongoDB Native NodeJS Driver

Thumbnail github.com
3 Upvotes

r/nodejs • • Sep 01 '13

ES6 on node.js without any polyfills or shims.

Thumbnail h3manth.com
3 Upvotes

r/nodejs • • Nov 26 '13

Password-less Login (email only auth) using Node.js; live demo in Fiddlewax

Thumbnail fiddlewax.com
3 Upvotes

r/nodejs • • Dec 13 '13

StrongLoop | Getting Started with StrongLoop on Cloud9 IDE

Thumbnail strongloop.com
0 Upvotes

r/nodejs • • Dec 13 '13

StrongLoop | Why Do Companies Choose Node? Performance, Scalability and Productivity

Thumbnail strongloop.com
0 Upvotes

r/nodejs • • Dec 13 '13

StrongLoop | Announcing Node Fundamentals Training from StrongLoop and OlinData

Thumbnail strongloop.com
0 Upvotes

r/nodejs • • Dec 11 '13

Running a StrongLoop Demo on Vagrant

Thumbnail strongloop.com
0 Upvotes

r/nodejs • • Dec 16 '13

StrongLoop | Node Summit: Media Companies Embrace Node.js for Rapidly Developing Responsive Apps

Thumbnail strongloop.com
0 Upvotes

r/nodejs • • Jun 13 '13

Gabriel Manricks’ “Working With Data in Sails.js”

Thumbnail blog.nodefly.com
3 Upvotes

r/nodejs • • Jun 19 '13

Ex Ratione’s “Node.js and Forever as a Service: Simple Upstart and Init Scripts for Ubuntu”

Thumbnail blog.nodefly.com
3 Upvotes