• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hibernate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hibernate


  • Subject: Re: Hibernate
  • From: Lachlan Deck <email@hidden>
  • Date: Thu, 26 Feb 2009 11:13:05 +1100

On 26/02/2009, at 10:20 AM, 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,

The UI could also let you decide whether the validation is model-bound or code-bound and create relevant validateFor* methods perhaps or both?


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). Anjo, I believe, is also adamantly against model-based validations too, though. I don't know if this helps or hurts your case ;)

I've often felt that WOLips could provide a view of validations taking code & model into account. I think in the past you mentioned this was difficult to do or couldn't be done.


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


  • Follow-Ups:
    • Re: Hibernate
      • From: Chuck Hill <email@hidden>
References: 
 >Hibernate (From: Lon Varscsak <email@hidden>)
 >Re: Hibernate (From: Tonny Staunsbrink <email@hidden>)
 >Re: Hibernate (From: Lon Varscsak <email@hidden>)
 >Re: Hibernate (From: Luke Holton <email@hidden>)
 >Re: Hibernate (From: Chuck Hill <email@hidden>)
 >Re: Hibernate (From: Luke Holton <email@hidden>)
 >Re: Hibernate (From: Gustavo Pizano <email@hidden>)
 >Re: Hibernate (From: Oliver Scheel <email@hidden>)
 >Re: Hibernate (From: Karthik N <email@hidden>)
 >Re: Hibernate (From: Mike Schrag <email@hidden>)
 >Re: Hibernate (From: Andrew Lindesay <email@hidden>)
 >Re: Hibernate (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Hibernate
  • Next by Date: Re: Hibernate
  • Previous by thread: Re: Hibernate
  • Next by thread: Re: Hibernate
  • Index(es):
    • Date
    • Thread