Form Design Guidelines

I am trying to find a form mechanism that can generate markup from simpler type instructions addTextField. This is common in CMS and infrastructures, but I'm looking for something that I can use in a simple PHP project other than CMS. Does anyone know about this form engine? If you do this and use it, specify some of its functions. If he has a check, etc.

+3
source share
3 answers

Zend_Frameworkwas the first thing that appeared in my head. The required component is called Zend_Form. Although ZF is a complete structure and is intended for use in MVC (model controller) applications, you can still Zend_Auth separately. However, I will warn you that there is a bit of a learning curve: http://framework.zend.com/manual/en/zend.form.html .

It supports many form elements, grouped forms, filtered inputs, validations (built-in and custom validations), input screens, and ordering elements.

Here's a quick start: http://framework.zend.com/manual/en/zend.form.quickstart.html to show you what you will get to if you choose Zend_Form.

+3
source
+1

The mechanism forms at Sourceforge is a lighter version of Zend. It supports classic features like checks and filters.

The main difference from Zend is that JForm is a lower level when it comes to layout. HTML makes it easier to define a fully customizable form structure. Therefore, more code is required to create a default form table.

+1
source

Source: https://habr.com/ru/post/1766494/


All Articles