Re: Hibernate
Re: Hibernate
- Subject: Re: Hibernate
- From: Lachlan Deck <email@hidden>
- Date: Thu, 26 Feb 2009 12:32:03 +1100
On 26/02/2009, at 12:17 PM, Chuck Hill wrote:
On Feb 25, 2009, at 3:20 PM, Mike Schrag wrote:
3. Hibernate validators are not too bad for basic validations
I've always felt that EOF should have more out-of-the-box model-
defined validation support
I'm not so sure about EOF doing this -- I quite like being able to
organise this in-code and I think it is one of those things that
something like PW can add-on without having to put too much into
the basic frameworks.
Admittedly, validation in the model is a bit of a religious
debate. I think there's a lot of value that can be derived by
model-defining it in that you can things like have the UI
automatically do richer validation without custom-coding it, and if
they're written declaratively, you can actually generate client-
side validations that don't require a server roundtrip to just tell
the user that you aren't allowed to say you have more than 25
children (or whatever).
I see we belong to the same church.
Anjo, I believe, is also adamantly against model-based validations
too, though. I don't know if this helps or hurts your case ;)
That seems like a very odd opinion for Anjo to have (if this is, in
fact, his opinion). Anjo, why?
Not sure for Anjo ... but one reason I can think of where validation
defined in the model is that this means that differing applications
using the same model (where the requirements may be slightly
different) are restricted to the same rules. Sometimes good though.
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden