On Wed, Feb 17, 2016 at 6:44 PM, Lin Yo-An <cornelius.howl@xxxxxxxxx> wrote: > > > In order to build forms automatically, we developed a library that can > build HTML forms automatically from the schema and can handle the > logics/validations. > > https://github.com/c9s/ActionKit > > Does it have a live demo site to try? > The schema is something look like this: > > class YourAction extends \ActionKit\Action{ function schema() { $this->param('id') ->renderAs('HiddenInput'); $this->param('password') ->renderAs('PasswordInput'); $this->filterOut('hack','hack2','role'); } > } > > > Once you defined the schema, the server side can handle the input > validation and data processing. > > The underlaying part is FormKit, which provides fluent API to build > widgets, and you can choose different layout class to layout your widgets: > > https://github.com/c9s/FormKit > > > > -- > Best Regards, > > Yo-An Lin > -- Code <http://new.sarap.asia>, code <http://jdk.schooluniform.asia>, code <http://java.vpsnotes.com>, and code <http://johnmac.hephep.asia>