royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <>
Subject Re: [Discussion] About validation
Date Mon, 02 Oct 2017 17:46:44 GMT
I didn't look at the Validation commit too closely because I saw commit
comments that it was work in progress and need refactoring into beads and
PAYG.  So work with Herbs and others to figure out a better implementation
that takes into account different validation implementations.  Although
I'd prefer that any refactoring for Validation happens before or after the
big rename.

Lately, I've been thinking that Core should be mostly interfaces and
relatively few concrete classes, and a pile of common utility functions,
so I agree that the actual Validators might be better off in another SWC.
It would be great if all implementations could share interfaces, if any
interfaces are needed. Maybe they just watch events.

My 2 cents,

On 10/2/17, 2:38 AM, " on behalf of Carlos Rovira"
< on behalf of> wrote:

>I notice Harbs was including one of the missing parts in Royale:
>So great, since that is something very needed to get 1.0 state.
>I'd want to understand about the implementation. I suppose is based on the
>Flex Validator implementation to use it in MXML. Is that right? When it's
>finished it would be something similar to what we had in old Flex SDK?
>I want as well to expose some thoughts as I started to saw it:
>1.- I see the code is inside "Core" project (inside utils folder) and not
>in a new "Validation" project. Is this something temporal? I was expecting
>this to be as others projects (i.e: Formatters) and be a PAYG piece.
>know if this was already discussed)
>2.- Since Royale is strongly PAYG based my expectations in the future
>be to have the old Flex sdk implementation and another completly different
>that IMHO had a more modern and better approach, and was what I end using.
>I'm talking about GDS Validation framework:
>This GDS implementation used annotations (that in our case could be beads
>although I like annotations in AS3 Value Objects and I think we should not
>lose that since is very powerful)
>The main way of thinking here was to separate validation from the UI
>control used and be able to make validations in controller's method , for
>example before sending some Value Object to the server.
>Resuming: For me old Flex SDK validators are need for migration. New
>would want new modern options, and I think this would be along other
>what make a difference between Royale and competitors.
>Hope we could discuss this since I thing it's an important subject.
>Carlos Rovira

View raw message