Re:NodeJS Starter – Simple project setup using best practice...
by pspeter3 on Tuesday August 20, 2013 @11:38AM
(#6244358)
I know that most people tend to organize their code with assets for client side assets, lib for code, test for all of their testing code and index.js as the root of the application. Including the node binaries in bin is also a nice touch. I just have never seen the component usage before and definitely need to look it up as well.
EDIT: The component todo example seems to use components on the client side but not the server side https://github.com/component/todo
I typically build node apps with application "modules" in an apps/{name} structure and then require them all in server.coffee.
Component.io is new to me, it claims to provide an entire "bundle" of client & server side pieces, this is nice. I'll have to look into that today ...
Definitely, an explanation of these "best practices" would be nice.