how do you do validation?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how do you do validation?

larrry
I'm looking for a way to validate my form data.  I briefly considered Magritte, but get kind of frightened by the size of the framework (once bitten by rails, twice shy :).  Do people generally use that? Is there another framework that people recommend. Or does everyone roll their own? 
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: how do you do validation?

John McKeon
Magritte gets my vote, no question.
But there are also Seaside-Widgets which have validation decorators. Haven't used them myself
John

On Tue, Sep 13, 2011 at 3:58 PM, Larry White <[hidden email]> wrote:
I'm looking for a way to validate my form data.  I briefly considered Magritte, but get kind of frightened by the size of the framework (once bitten by rails, twice shy :).  Do people generally use that? Is there another framework that people recommend. Or does everyone roll their own? 
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: how do you do validation?

Yanni Chiu
IMHO, you could roll your own to start, but the place you'd want to get
to is Magritte. It has the needed functionality and flexibility. The
hooks are in place to extend and override.

It may seem that it's a big framework, because of the large number of
class categories and classes. All those classes are the result of well
factored code. There actually are only a few concepts you need to know
to "get it". Understand MADescription and their containers, along with
the visitor pattern, and you've got it.


On 13/09/11 7:00 PM, John McKeon wrote:

> Magritte gets my vote, no question.
> But there are also Seaside-Widgets which have validation decorators.
> Haven't used them myself
> John
>
> On Tue, Sep 13, 2011 at 3:58 PM, Larry White <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     I'm looking for a way to validate my form data.  I briefly
>     considered Magritte, but get kind of frightened by the size of the
>     framework (once bitten by rails, twice shy :).  Do people generally
>     use that? Is there another framework that people recommend. Or does
>     everyone roll their own?

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside