The validation framework is not tied to the form framework. You can use 
it by itself to validate any kind of data.

Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80


Daniel Stevens wrote:
> I've been working with symfony 1.1 for a while now, and while I realize 
> that validation has been moved from sfRequest, a large part of my 
> application is a REST service of sorts, in which I need to validate POST 
> variables that are not associated with forms. At first glance the new 
> validation seems to be married to forms - but that leaves out web 
> services such as XML, JSON, SOAP, REST, etc. It was a snap in 1.0 to 
> create validation files and they would work for both forms and my REST 
> services. Now it seems 1.1 wants me to create a form and validate it 
> which is more work and overhead then I need. How do I validate POST vars 
> that come in as a request without having to make a HTML form?
> 
> Cheers,
> Dan
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to