资 源 简 介
Imp is a companion class to Smarty that facilitates form generation and validation. It is meant to turn many dozens of lines of monotonous form related code into just a few, both in the form definition template and the logic on the back end.
It is designed chiefly around the idea of intuitive and accessible developer access, and every care is taken to strip the commands down to their most accessible and self-explanatory syntax.
A secondary design goal was a loose coupling between Imp the rest of the flow of PHP/HTML form submission. As such, users should be able to access all of the standard form behavior they are used to, only picking the bits of Imp functionality that they need or want.