I am new to PHP and a standard task in HTML Development is Form Rendering & Processing. What are PHP Frameworks that support the following requirements:
- Declarative Definition of Form elements with
- Optional: Declarative Validation/Sanitization Definition
- Optional: Help (Icon/Poup)
- Easy to define/create own custom / composite Elements
- Support of Repeatable Fields
- (You define a group of elements that a user can add a lot of instances like an address1, address2…)
- Processing of the incoming POST Data
- Including Validation, Sanitization based on definition
- Not Pure JS based (at least the form should render and be submittable without JS turned on/gracefull fallback)
- Responsive
- Stateless
- Ideally a large repository of ready elements
- Standard HTML Input elements
- additionally for example: tree-select, map, date/time, wysisyg editor, upload with preview, slider….)
I came across CMB2 (but this is something more for Wordpress and has some drawbacks…). As I am new to PHP I am looking for something like this for PHP in general. (in Some extend its like Java Server Faces, but no State oriented or real Component Framework only something lightweight). I could implement this on my own, but even using thirdparty libs for Help, Validation etc… doing this right will be much beyond 5000 LOC and would be a waste of time if there are good frameworks that do this already.
Aucun commentaire:
Enregistrer un commentaire