Tagged Questions
1
vote
1answer
84 views
mysql, one connection vs multiple
On nodejs with node-mysql, should I create one connection for the service like this:
var client = mysql.createClient({
user: 'user',
password: 'pass'
}); // Create a new mysql Client
...
2
votes
2answers
142 views
What do you suggest for cross platform apps, including web
I have always preferred cross platform development over most other concepts as long as I can remember. Which is one of the reason I never got into .Net. Currently, I use php/javascript/python as my ...
0
votes
3answers
282 views
Certifications for Javascript developers?
I'm looking for a solid and but fast paced entry in field of javascript development.
The following topics come to my mind:
Javascript advanced concepts, OOP
jQuery, jQuery-UI, jQuery-Mobile
...
2
votes
1answer
95 views
Is there an easy way to map directory structure to a MongoDB schema?
I'm trying to store a directory structure, including files and their content, in MongoDB. The work is part of a synching app, and is using in Node/Mongoose.
Now, I'm new to Mongo, and it's late here ...
3
votes
3answers
163 views
Feedback on this back-end stack
I'm planning to setup an scalable architecture capable of providing web services on a REST interface where JSON will be sent as a result.
The web services will be quite simple for a CRUD web 2.0 app.
...
7
votes
3answers
472 views
How to write manageable code with functional programming?
I just started with functional programming (with JavaScript and Node.js) and from the look of things it looks as if the code I am writing would grow to be one hell of a code base to manage, when ...
2
votes
2answers
293 views
Significance and role of Node.js in Web development
I have read that Node.js is a server-side javascript enviroment. This has put few thought and tinkers in my mind.
Can we develop a complete data-drivent web application utilizing just JavaScript ...
1
vote
1answer
247 views
Writing a game engine using javascript
..by this I mean a logic handler for a chess game. Basically validating a move and checking if somebody has won.
Now ignore the complexity of the game(if you can..) I'd like some sort of psuedo code ...
6
votes
5answers
229 views
What does it mean for software, libraries, and languages to be asynchronous?
With popular software out today like Node.js, Celery, Twisted, and others boasting about being asynchronous, what does it mean?
I've gone through the basic Node.js tutorials and written a few ...
3
votes
5answers
310 views
Recommended way to start with Javascript for client- and server-side
I'm thinking about to switch in middle term to node.js for server-side and mostly jQuery and scriptaculous for client-side web development.
For the scripting I'm planning to use coffeescript.
do you ...
2
votes
2answers
173 views
Do some interpreted languages only load the scripts once?
The benefit of a compiled application was that all the libraries and classes are loaded one time and sit waiting for input right?
I come from a background working with PHP and the resources/classes ...
22
votes
3answers
1k views
The importance of Design Patterns with Javascript, NodeJs et al
With Javascript appearing to be the ubiquitous programming language of the web over the next few years, new frameworks popping up every five minutes and event driven programming taking a lead both ...
17
votes
5answers
2k views
What are the pros and cons of Node.js?
I'm designing a web application that is locally focused on JSON objects to do all the data stuff (and after that I would pass it to a server to cloud synchronize). However, somebody in an answer from ...
11
votes
8answers
470 views
What do you use for JavaScript Testing (TDD)?
What do you use for JavaScript testing both server-side and client-side?
15
votes
5answers
4k views
Understanding node.js: some real-life examples
As a curious web developer I've been hearing about node.js for several months and (just) now I'd like to learn it and, most of all, understand its "engine".
So, as a real newbie about node.js I'm ...