Node.js is a server side software system designed for writing scalable Internet applications, notably web servers.
0
votes
1answer
53 views
Securing client side templates [closed]
I'm building a web application with backbone+mongo+node.js
The current implementation uses mostly client side templating with backbone.js to render the pages.
Since the templates have to be located ...
13
votes
2answers
3k views
We have a large Ruby on Rails application (25 million monthly users), our management decided to rewrite in Node.js, am I crazy?
Please tell me if:
Node.js will make our site faster!
Node.js will consume fewer server resources, we can save money!
Node.js will make us more productive!
Node.js means we can share client and ...
-4
votes
0answers
57 views
How mature is node.js? What are your opinions? [closed]
We want to offer a software as web application. (It will be some simple form of a SaaS). Because we are a bunch of computer science students we don't mind so much about the environment and language we ...
-5
votes
1answer
225 views
Is Node.js Dead now that Vert.x has outperforms it by a significant margin? [closed]
The sole reason I started to learn node.js was because of it's promised speed, lightweightness, "asynchronous", but never could really enjoy it due to the fact that Javascript is absolutely hideous to ...
0
votes
0answers
63 views
Strategy for reading and understanding Node.js code
Concretely I am looking at this 2000 line file of what I will pretty arbitrarily call "mediocre" code.
It's not well-commented
variable names and function names seem consistently intelligent
...
1
vote
0answers
121 views
Node.JS or Scala for mobile and web apps
I am coming from a php background with some python as well. I want to start working on a different language for both web and mobile development. I am also interested in real time apps dealing with ...
1
vote
1answer
88 views
Using a DAO to abstract our ORM from the rest of the application
We're using MySQL with Sequelize.js as the ORM.
What we're wondering is whether a DOA layer of abstraction is worthwhile. Here are our options:
To use the Sequelize models throughout the ...
2
votes
1answer
161 views
What does a node.js web application's setup look like on a real production server?
Being new to node js magic world, i'm wondering how does a web application's setup look like on a real production server?
So far all tutorials, create the js file that is started from a console...and ...
3
votes
1answer
117 views
Idiomatic Javascript code architecture
I am writing a node.js application which I am breaking down into modules, the issue is I am not sure how to organise my code in an idiomatic Javascript way.
Currently each of my modules exposes a set ...
-5
votes
0answers
21 views
Created Node process do not exit [closed]
I have forked a process using node.
var input = JSON.stringify(req.body);
var args = ["sqli", input];
var child = childprocess.fork(__dirname + "/main.js", args);
children.push(child);
...
0
votes
0answers
153 views
Would Node.js be a practical solution for this project? [closed]
Never used Node.js before and want to learn it. I have to do a project that involves a front end retrieving data from a service out on the web and displaying it. My requirements are pretty open but ...
2
votes
1answer
91 views
Preventing crawler from interfering with user tracking
I'm scraping text from various webshops (no images/videos or other data). I'm no expert on user tracking, so I'd like to know if there's a way for me to write my crawler so it won't interfere with the ...
1
vote
1answer
141 views
How to model hashtags with nodejs and mongodb
Existing architecture: nodejs server with mongodb backend.
I have strings coming in describing images that can have #hashtags in them.
I wish to extract the hashtags from the strings, store the ...
1
vote
1answer
100 views
Should I / can I bundle node.js and mongod together with my application?
I'm working on a web application that runs on node.js and uses MongoDB. It's important to mention that I plan to release the application as commercial software. The way I wrote the installer, it asks ...
2
votes
1answer
191 views
Node.js API Architecture
I am currently working on a web app and want to design the interface between nodejs / mongoose and the backbone app.
A short description of the app:
A user signs up to the application and gets a ...
2
votes
2answers
796 views
Is node.js a suitable server platform for financial applications?
Are there specifically any math related issues with Node.js and money that could cause my system to lose track of some of the money it's tracking?
The reason that I ask is that PHP, because of it's ...
2
votes
1answer
138 views
Node.js app private modules. Where to put them?
The situation would be:
I develop 2 projects in my Node.js development environment, P1 and P2.
P1 required the development of two simple modules, mod1 and mod2, which are stored in P1/lib. Each one ...
0
votes
1answer
81 views
Running pieces of code distributed through out the system, automatically
I have pieces of code, written in java, which I can convert in jar and run from the terminal.
I also have some node.js script, which I would like to run before running these jar files.
So the ...
1
vote
4answers
640 views
NodeJS as an avenue towards learning JavaScript [closed]
I'm a backend programmer who works mainly in Python. I'll probably never want to be a full time front end developer, but with the goal of growing my skill set, I would like to become at least passably ...
8
votes
2answers
5k views
A good IDE for NodeJS - debugging especially important [closed]
Have a significant amount of a Data Warehousing application written in Javascript.
The application is set up so that the Javascript code runs in a web browser (Chrome). Of course, running a Data ...
2
votes
1answer
150 views
Catching incoming HTTP Requests on server side with Node.js
I want to implement a server side application catching incoming http requests with a certain header.After catching the request it extracts information about type of HTTP request (GET,HEAD,PUT,POST ...
3
votes
6answers
258 views
What build tools do not depend on java (or Ruby)? [closed]
I'm wondering what generic build tools out there include their binary run-times and do not depend on another environment not shipped with them.
For example, ANT requires Java, Rake requires Ruby, ...
1
vote
1answer
342 views
Why would I use Redis? [closed]
I am currently using Node, Express and MongoDB (with Mongoose) as a datastore, I hear Redis is a persistant Memcached, but why would I use this? Is Memcached better if I'm using Mongo?
What's its ...
2
votes
5answers
339 views
Why do node packages put a comma on a newline?
I'm learning node.js and am trying out Express. My first app had this code:
var express = require('express')
, routes = require('./routes')
, user = require('./routes/user')
, http = ...
2
votes
2answers
349 views
Synchronous sockets with Node.js
I want to port an existing app from Java to Node.js - would like to seek your advise.
The java app is a multithreaded socket server where arbitrary number of clients can connect. The app runs on java ...
4
votes
1answer
724 views
Node.js Or servlets?
I have heard a lot and read about the Javascript server side language i.e Node.js, and saw many comparisons in favor of Node.
I don't understand what makes it better or faster, or how it even relates ...
4
votes
1answer
188 views
Optimization of a Hybrid Pagination Scheme
I'm working on a Web Application using node.js in which I'm building a partial copy of the database on the client-side to decrease the load on my server. Right now, I have a function like this ...
1
vote
1answer
225 views
2 Servers 1 Database - Can I use Redis?
Ok I have a couple of questions here. First let me give you some background information. I'm starting a project where I have a node.js server running my application and my website running on another ...
3
votes
1answer
113 views
How secure (or insecure) is it to install Node packages globally?
Should I be concerned with security when installing Node packages globally? Why or why not?
4
votes
1answer
311 views
How to write reusable code in node.js
I am trying to understand how to design node.js applications, but it seems there is something I can't grasp about asynchronous programming.
Let's say my application needs to access a database. In a ...