What are forms and form validation like in Yii? [Have looked at the docs, but after real-world usage]
I've used form libraries from the PHPClasses one back in 2003 through Symfony forms now (which has cognitive overload, and is so flexible as to be restrictive). Most business systems I write are data focused so forms play a massive role in them - and in my developer happiness.
Re:PHP Sucks
by nikdaheratik on Friday June 17, 2016 @02:57AM
(#11921069)
Validation works directly with the model and you can pick a number of ways to check the input and have it return an appropriate error message.
The view/controller layers are very flexible and can be hooked up to anything from an HTML template using Yii to angular/bootstrap (which is what we're using) or another framework to handle the forms.
I commonly recommend Yii and laud it's extensive documentation and "Definitive Guide" that covers basically everything.
In my current experience as a developer, Yii's documentation is the best I've ever utilized. Much better than any Javadoc I've googled or even php.net's