2017 © Pedro Peláez
 

library normform

NormForm is a simple template application for PHP form processing.

image

fhooe/normform

NormForm is a simple template application for PHP form processing.

  • Thursday, April 19, 2018
  • by hochleitner
  • Repository
  • 3 Watchers
  • 1 Stars
  • 28 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

NormForm

NormFom is a simple template application for PHP form processing developed for PHP classes in the program Media Technology and Design at the University of Applied Sciences Upper Austria. It is primarily designed for educational purposes (learning object oriented PHP, form processing and templating languages). Use it for "public" applications at your own risk., (*1)

NormForm is designed as a single-page form validation and processing system, meaning that once the form is submitted, the page calls itself again and the process starts anew. It provides an abstract class (AbstractNormForm) which implements a standard form display-validate-business logic process along with classes for form parameter management and display., (*2)

Installation

The recommended way to use NormForm in your project is through Composer:, (*3)

composer require fhooe/normform

Alternatively, you can use the NormForm Skeleton project that gives you a fully working example built upon NormForm (including a template file and CSS):, (*4)

composer create-project fhooe/normform-skeleton path/to/install

Composer will then create a project in the path/to/install directory., (*5)

Basic Usage

To use NormForm create a class that inherits from AbstractNormForm and implement the required abstract methods isValid() (used for form validation) and business() (for business logic, once the form has been successfully submitted). Then create an instance of your new class and call the normForm() method to initiate the process (preferrably in a separate file such as index.php)., (*6)

Contributing

If you'd like to contribute, please refer to CONTRIBUTING for details., (*7)

License

NormForm is licensed under the MIT license. See LICENSE for more information., (*8)

More Information

The Versions

19/04 2018

dev-master

9999999-dev

NormForm is a simple template application for PHP form processing.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wolfgang Hochleitner
by Martin Harrer

twig education form processing

11/04 2018

v1.0.0

1.0.0.0

NormForm is a simple template application for PHP form processing.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wolfgang Hochleitner
by Martin Harrer

twig education form processing