[nodejs] Re: Dependency injection for Node.js. What do you think?

2012-07-27 Thread mixu
I've never really needed to dependency inject into third party modules. If I did, I'd rather fork the third party dependency than do some sort of dynamic solution. However, I do use dependency injection for (unit) testing my own stuff. There are a ton of ways to do this but my favorite way of d

Re: [nodejs] Re: The right way of coding nodejs applications: functional or string Object Oriented ?

2012-06-19 Thread mixu
I agree, the point is more that if you're going to write OOP JS **with inheritance**, then prototypes are nice because they are the standard way. My point is NOT that "functional is terrible", it is that if what you want is OO with inheritance, then please use the capabilities the language prov

[nodejs] Re: node.js books

2012-03-07 Thread mixu
And there's my free 12 chapter ebook as well: Mixu's Node Book - http://book.mixu.net/ And also recently released: Smashing Node.js: JavaScript Everywhere (Smashing Magazine Book Series) On Mar 7, 5:50 am, Arnout Kazemier wrote: > There's > > O Reilly Node for Front end developers > O Reilly N