Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Jeff McDowell and Joel Hill and Jonathan Rowny and Shawn Grigson and Jonathan Dowdle and Matt Vickers and Christian Ready and Asher Snyder and Clark Valberg and Oscar Arevalo and David Bainbridge

Jeff Chastain

Member since Dec 11, 2008

Recent Blog Comments By Jeff Chastain

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 12, 2008 at 3:36 PM

    @Ben - In the XML definition for Validat where you define which rules (assertions) should be applied to which fields (dataElements), thee is a property there called message. That message property can contain either plain english text or in most cases, I will have it return a resource bundle key th... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 12, 2008 at 3:19 PM

    @Ben - In some cases I can see beans being as "dumb" as you mentioned with only basic getter/setter methods. But if you did not have the bean object, where would functionality like "getAge()" go when a Person only has a birthdate? Beans can have a lot more functionality to them and I don't see va... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 12, 2008 at 11:55 AM

    @RyamTJ: Validat works exactly the same way ... it is really synonymous to your individual validation beans except with Validat you can setup different validation configurations for different states that a bean might be in. Then, when it comes time to validate data, you can pass either the dirty b... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 9, 2008 at 5:35 PM

    @CoolJJ This is where the concept of having a seperate validation engine really starts to look good. With the validation engine, you can have multiple sets of rules for data based upon a given state or any other reason. Then, you can pass the bean or the collection of data to the validation engin... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 9, 2008 at 4:58 PM

    @Ben, There are a series of blog postings that were done on the Alagad blog describing the functionality and capabilities of Validat ( http://www.alagad.com/go/blog?categoryId=8F6F9CEA-3048-55C9-439427FF4AD5446E ). There is also some basic sample code included in the download. As with most open s... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 9, 2008 at 4:28 PM

    Whenever you talk about validation in an object oriented world, the question comes up as to whether you should be stuffing potentially invalid data into a bean and then validating it, or validating the data, then stuffing it into the bean. It is a small bit of overhead, but if you validate the data... read more »