News for hackers. Stuff that matters.
Re:A Quick Node.js Jumpstart by jimmyjazz14 on Friday April 08, 2011 @09:00PM (#2426165)
One way might be with a closure that wraps the entire module though taking a more OO approach would probably be safer, such as initializing objects with the DB connection as an argument.

There are no comments on this comment yet.