Since node is making such a strong effort to be cross-platform compatible, I thought I would start making more of an effort as well. However, I'm not familiar with systems other than linux/osX, and I imagine a number of noders are in the same category. What best practices should we follow to help ensure cross-platform compatibly is not a total bugbear, even if we are not doing cross-platform testing?
Some questions I have: paths - how necessary is it to use the path module? For example, is it necessary to use in require() statements? fs statements? system resources - when accessing system resources, best practices? For example, in python if you want to access /dev/null you can say os.devnull, but there currently is no node equivalent. npm global installs - for node-based system services, often you will want to have conf files, etc, and will want to have a default set of locations to look for them if the user does not specify a conf file in the invocation. Also, different systems may prefer different config file formats (ini, etc). What are good default directories to look in, and formats to support? Some of this is just general application development, and some of it is node-specific. If people want to post suggestions and resources, I can draft a wiki page. Cheers, Ted -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
