[nodejs] Validating input in express handlers

2012-09-25 Thread Dan Milon
Hello, I question myself how I should validate input all the time, but still i haven't found the right way. Using an orm's validation tools feels wrong. Eg mongoose. It ties validation with the underlying database. node-validator is quite limiting. The way it throws errors is hard to deal w

Re: [nodejs] Validating input in express handlers

2012-09-25 Thread Dan Milon
Hello Jonny, It is a public API, nothing to do with forms or rendering pages. Do you have any other suggestion? Thanks, danmilon. On 09/25/2012 10:31 PM, Jonathan Buchanan wrote: > On 25 September 2012 14:33, Dan Milon > wrote: > > Hello, > > I question myse

Re: [nodejs] Validating input in express handlers

2012-09-25 Thread Jake Verbaten
https://github.com/eivindfjeldstad/validate#readme On Tue, Sep 25, 2012 at 2:27 PM, Dan Milon wrote: > Hello Jonny, > > It is a public API, nothing to do with forms or rendering pages. > Do you have any other suggestion? > > Thanks, > danmilon. > > On 09/25/2012 10:31 PM, Jonathan Buchanan wrote