[plt-scheme] Snooze and application-level validation before persisting

From: Peter Michaux (petermichaux at gmail.com)
Date: Fri Nov 28 15:25:05 EST 2008

I've been looking at the Snooze documentation


I don't see anything about validating data before attempting to
persist it to the database. I'm curious about how a programmer using
Snooze would go about validating in the application. If there is
invalid data, how does the model layer then either throw errors or
return an errors object rather than attempting to persist the data.

I'm thinking of a web application where the errors then need to be
displayed to the user in an HTML form but this is not really a
web-specific issue.


Posted on the users mailing list.