Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
8 votes
2 answers
3k views

Sails.js controller method for an admin to update a user account

I am new to Sails.js, Node.js, and web application development in general. My current understanding is that well-written controllers should be "skinny" meaning they should be as simple as possible, ...
Adam's user avatar
  • 191
2 votes
1 answer
520 views

Handling callbacks when doing async programming and dealing with scope

I'm using HapiJS to create a little backend for my side-project. In grabbing RSS feeds, I want to loop through my list of website URLs, grab the correct RSS links in the ...
program247365's user avatar
3 votes
1 answer
435 views

Controller code using the koa framework

I would like to gather ideas on how to refactor the JavaScript/NodeJS controller code below to be more aesthetic. The code is using the koa framework thus I use ...
xpepermint's user avatar