What environment makes Node.js the happiest? [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
开发者_如何学JAVAClosed 9 years ago.
Improve this questionCan anyone tell me what OS Ryan Dahl uses as his main? I've seen him using a Mac in his demos but I also heard him say Mac is sh*t.
I'm curious what OS he, as the creator of Node.js, uses since that is likely the easiest to use for Node.js development.
And just in case no one knows, perhaps just tell me what OS is recommended for Node.js development.
I'm curious what OS he, as the creator of Node.js, uses since that is likely the easiest to use for Node.js development.
OS he uses is likely to be the best for him and his preference. You shouldn't be influenced by this because you may find other systems/IDEs/editors much better suited for you and your workflow compared to what Ryan Dahl is using. For example Ryan is often using Vi (or Vim?) editor which is really powerful tool, but too "hardcore" for many (or I would say majority of) developers.
tell me what OS is recommended for Node.js development
Linux based systems (because you rather shouldn't vary too much from targeted production system - the least is the difference the less problems you may encounter). You can use any kind of operating system for development and still have all the codez located on target machine where you are running node.js programs. For example on Windows you can use WinSCP as file manager, Notepad++ as code editor and putty for remote connection to your Linux system.
Windows is a perfectly fine system to both develop node applications as well as to deploy them. Microsoft partnered with Joyent to help them port the code and the Windows Azure cloud hosting environment supports Node.js now. All of the npm packages I have used have had not problems running on Windows.
All of the node apps I have written run just as well on my Windows laptop, Macbook Air, and on Cloud9 without any problems. At this point, just pick whatever environment you are most comfortable working in!
Looking at node's manual, it seems like Unix-based environments are what's best for node. This includes linux, and mac, which had came a long way and is in the process of pampering the crap out of traditional terminal hardcores with stuff like homebrew.
Windows on the other hand is the worst environment for node. Not only there's very little information on how to deploy one on a windows machine, most of the other related technologies that make node such a happy place to work in have quirky windows implementation, if any at all.
In short, there's a far larger community on Unix-based system for node than windows, and considering the amount of tutorials online, it's better that you stick to a Unix based platform.
I don't know what Ryan's OS of choice is, as my fellow posters i'd put my bet on a Linux-based system using vi(m) as the editor.
If you want to stick to a windows platform, try using VirtualBox as a virtualization software. I use a virtual debian system as my node.js development environment, mounting my Windows directories using VBOX's shared folder functionality. All my git/npm/testing related stuff is done directly on the virtual machine, haven't had any problems so far.
As my code editors, i use Aptana Studio 3 (Eclipse-based) and Cloud9.
Using Windows and MINGW is not really recommended, since node.js will probably never really be stable on that platform.
Helpful readups for VirtualBox/Debian:
- Installing Guest Additions on Debian
精彩评论