I apologize if this is a stupid question, and I know it might not belong on the Unity site, but I was wondering if programming a substantial server with javascript could be done. If this is possible, I'd really appreciate if someone could guide me in the right direction on the architecture of a js server. Perhaps this is more feasible with the help of SmartFoxServer? I am looking for a solution that would support a game world with multiple players in it, as well as be able to access a database should I decide to implement custom characters. Thanks!
For really robust javascript server solutions you'll want to start reading at NarwhalJS and in particular focus on the CommonJS standards in general.
Building a server in Javascript would probably be a really fun project however, for your money you'd be better off using a framework like CakePHP (if you're inclined to use PHP) or Mono. These would allow you to run in proven environments on any platform; with a great deal of community support for common functions like authentication, database connectivity and the like.
There seems to be a strong correlary between the CommonJS folks and Rails (and unfortunately I'm not able to speak to Ruby at all.)