Tagged Questions
2
votes
0answers
44 views
Node + Express Code Critique?
I'm learning Node. I'm working on a personal project that uses Node + Express + Node-Mysql + Generic-Pool (for mysql pooling). I am new to the idea of module.exports and I'm still grokking it.
The ...
0
votes
1answer
38 views
Is there a better way to update fields in an web app?
This is the stripped down version of my update action for a Posts (blog post) controller:
Posts.update = function(req, res){
_.extend(req.post, {
title: req.body.title
, author: ...