adlawson / php-reform

:rotating_light: [UNMAINTAINED] PHP 5.3+ form library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reform

Reform aims to make traditional form frameworks a thing of the past by meeting some core goals and principles. These simple rules allow both frontend and backend developers complete freedom and flexibilty when working with forms.

  1. Domain and view logic are completely separated
  2. Intuitive to use by both backend and frontend developers
  3. Clean, easy to follow code with no hidden "magic"

The framework comes with basic views for rendering forms and individual elements, but the focus is on allowing frontend developers to create the form views just as they do with any other markup.

###Core concepts

  • Attribute Element attributes that can modify behaviour when rendered
  • Element Represent the parts of a form, from a simple text input to the form itself
  • Filter Modify the element value on set
  • Validator Check the element value and handle error messages

####License The content of this library is released under the New BSD License by Andrew Lawson.
You can find a copy of this license in LICENSE or at http://www.opensource.org/licenses/bsd-3-clause

About

:rotating_light: [UNMAINTAINED] PHP 5.3+ form library

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 100.0%