Larrys Form Generation

This class can create HTML forms using jQuery for validation.

It can generate HTML for different types of form elements like inputs, labels, form start and end sections.

The generated HTML includes JavaScript that can validate the form inputs either when the inputs are changed or the form is submitted.

Download Here

DB Schema Management

I have been doing php/MySQL development for many years now and have started looking at distributing applications. One or the
issues that I have come up with the the creation and updating of the database schema. I started developing this class on a project
that was creating a WordPress plugin that the client was hoping to resell. I had been working with WP eCommerce and sae how they
managed their schema and developed this system that overcomes some of the shortcomming of that system.

This class can be used to:

  1. extract a database schema into a php script that defines the schema in an array.
  2. apply the extracted script to recreate the database schema.
  3. Allow the editting of the extracted script to impment changes to the schema.
  4. Allow users of the application to create changes to the schema that are separate to the extracted script.
  5. Support for pre and post processing scripts.
  6. Require a minimum schema version to apply the update.

Download Here

Validation Javascript

This script can be used to validate a form or a control.

This script requires jQuery.

Valid validations are:

  • required
  • email
  • date – in dd-mon-yyyy, dd-mm-yyyy, yyyy-mon-dd or yyyy-mm-dd formats
  • time
  • currency
  • numeric
  • alphanumeric
  • alpha
  • phone
  • state
  • zipcode
  • urlentry

Valid controls are:

  • text
  • testarea
  • select – Required only, value not ” or 0
  • radio buttons – one must be checked

Download Here