Re: [nodejs] What Editor / OS / Dev enviroment do you use?

2012-09-21 Thread Chris Corbyn
A reasonably minimal Vim https://github.com/d11wtq/dot-vim in the terminal. I tend to work inside a linux VM, over SSH from my Mac. Il giorno 21/set/2012, alle ore 02:42, Andrew Mclagan ha scritto: > Im switching to Ubuntu after struggling with windows, i will replace > notepad++ with Vim and

Re: [nodejs] Re: Keeping semantics in your version numbers, i.e. please don't release major version zero

2012-09-20 Thread Chris Corbyn
I'll apply my same thinking under Rails/rubygems/bundler to node/npm. I don't ever look at version numbers of gems I use, or NPM modules now that I've started doing some node too. I install them, version control them and write tests. If my app works with the dependencies at the versions I instal

Re: [nodejs] Re: List of DMBS-agnostic ORMs?

2012-08-23 Thread Chris Corbyn
Actually, just realized method chaining doesn't work when the interface is async. Well, either way, I suppose there's some way for scoped queries :P Il giorno 23/ago/2012, alle ore 22:41, greelgorke ha scritto: > JugglingDB > Am Donnerstag, 23. August 2012 13:32:26 UTC+2 schr

Re: [nodejs] Re: List of DMBS-agnostic ORMs?

2012-08-23 Thread Chris Corbyn
Will have a play around with this! Cheers, Chris Il giorno 23/ago/2012, alle ore 22:41, greelgorke ha scritto: > JugglingDB > Am Donnerstag, 23. August 2012 13:32:26 UTC+2 schrieb Chris Corbyn: > Hi All, > > I'm really enjoying playing around with Node.js and am curre

[nodejs] List of DMBS-agnostic ORMs?

2012-08-23 Thread Chris Corbyn
Hi All, I'm really enjoying playing around with Node.js and am currently writing a HTTP caching proxy with it, since it feels like a nice fit and this is a good toy project. I'm currently a Ruby (and to some extent PHP) developer by profession, though the technologies I use tend to vary with m

[nodejs] Sinon.js test spies across all methods of an object?

2012-08-20 Thread Chris Corbyn
Hi All, I'm using sinon.js as a way to stub out dependencies in my Mocha tests. I prefer the 'spy' approach over a classic mock approach, as the introspection of the spy seems clearer and affords more flexibility than the somewhat backward-thinking with classic mock objects. That said, I wond