----- Original Message ----
> From: Chris <[email protected]>
> To: The elegant MVC web framework <[email protected]>
> Sent: Tuesday, August 11, 2009 8:36:22 PM
> Subject: Re: [Catalyst] XSD Validation of Forms
> 
> > My comment was perhaps more oriented to using a common declarative
> > validation idiom such as an xml schema because with this particular
> > project, I found myself maintaining FormBuilder YAML files and XSDs.
> > Then I decided to convert HTML to XML and use the common XSD for both.
> > Since most decent XML parsers already perform the validation, and they
> > are usually quite fast, I thought that perhaps something similar to
> > the FormBuilder plug-in could be built that used an XML approach.
> >
> 
> I like the idea of a single 'base format' which can be used to drive
> the validation and the form layout too.

I think the mozilla people did something with XUL... maybe we can leverage that 
stuff?

I've done a few firefox plugins and really thought the way it's internal 
templating worked
was quite elegant.  I'd love something similar for Catalyst.  The way overlays 
worked,
for example fit my brain a lot better than the way we generally use includes in 
TT.

> 
> Is your scheme a format which, when rendered as html, defines the form
> and, when parsed appropriately, provides the form validation too?
> 
> As in:
> 

> 

> 
> 
> 
> - Chris
> 
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/



      

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to