Niall O'Higgins

Results 48 comments of Niall O'Higgins

That's fine, but we'd still need a way to integrate with the login and registration flow. Not sure Passport alone gives us enough to do that?

Yeah, good point. Easy to add a serial key in mongo with $inc.

they're unique but not very parse-able by humans compared with sequences. I'm not sure what the original issue was about tbh On Monday, December 29, 2014, Ilya Radchenko [email protected] wrote:...

It would be possible to synthesize build numbers of that kind using the mongoid (since its monotonically increasing) or build time stamp. You'll need to fetch all job objects though...

I would strongly recommend not using an ORM/ODM for this. Instead, create a data access API (a bunch of functions which do the necessary storage operations) and use that. On...

I have seen ORMs go wrong so many times :) Even Mongoose is probably overkill for Strider. Instead, use low-level driver like mongoskin and just put functions on top. On...

Yep. We would need to sketch out APIs around jobs, projects, users, etc - primarily. The Strider API is quite simple, fortunately! Not many types of objects and behaviours. On...

My gut feeling here is too much magic. Write a concrete data access layer specific to the application, rather than trying to use a magic layer. For example, there might...

There's an important different which is that js-data is an ORM (or ODM) not an API. You can do whatever you want, which will lead to performance and architectural problems...

I originally tried it with `WNOHANG` but that didn't work, I think there is some strangeness with how that works inside the `SIGCHLD` handler. You make a fair point about...