PHP Classes

Dynamic class for CRUD with MySQL database: Form processing to MySQL database storage

Recommend this page to a friend!
  All requests RSS feed  >  Dynamic class for CRUD with MySQL dat...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Dynamic class for CRUD with MySQL database

Edit

Picture of Agus Indrayana by Agus Indrayana - 9 years ago (2015-05-22)

Form processing to MySQL database storage

This request is clear and relevant.
This request is not clear or is not relevant.

+3

I need a class that can be used in many forms for processing MySQL database table records.

I want a dynamic class to process the MySQL data (create, read, update, and delete) on a table in the database, without having to create many forms manually.

  • 1 Clarification request
  • 1. Picture of sattar albasrawi by sattar albasrawi - 6 years ago (2018-08-03) Reply

    I want a dynamic class to process the MySQL data (create, read, update, and delete) on a table in the database, without having to create many forms manually.

    Ask clarification

    2 Recommendations

    PHP Forms Class with HTML Generator and JavaScript Validation: HTML forms generation and validation.

    Class that generates HTML forms supporting:

    - Multiple inputs may be interconnected in such way that client side events that occur on one input can trigger actions on the context of other inputs. Developers may use input interconnection support without writing Javascript code.
    - Can be extended with new types of input controls plug-in classes.
    - Custom input plug-in classes can be used to support for handling client site events on the server side without submitting the form or redrawing the whole form page
    - Some control plug-in classes are made available:
    * AJAX based form submission (without reloading the whole page)
    * Auto-complete text inputs
    * Select a location on a map using Google Maps API
    * Calendar date input
    * CAPTCHA test to prevent automated access by robots
    * Linked select input to switch select options when the value of another input changes. An unlimited number of selected can be linked in cascade. Additional plug-in subclasses are provided to retrive option groups from a MySQL database or many other SQL databases using the Metabase PEAR::MDB2 PHP database abstraction layer APIs
    * Manage animations that apply visual effects to the page form elements, like: fade-in, fade-out, show, hide, update content, etc..
    - XHTML compliant output.
    - Load submitted form field values even with register_globals option Off and strip slashes when magic_quotes_gpc option is On.
    - Keyboard navigation support:
    * Attachment of labels with activation keys to each form field.
    * Tab navigation order index.
    - Built-in server side (PHP based) and client side (Javascript 1.0 or better) field validation for:
    * E-mail address
    * Credit card numbers (Visa, Mastercard, American Express, Discover, Diners Club, Carte Blanche, enRoute, JCB, any of these or even determined by a select field).
    * Regular expressions.
    * Field not empty.
    * Field equal to another (useful for password confirmation fields).
    * Field different from another (useful for reminder fields that must not be equal to the actual password).
    * As set (for check boxes, radio buttons and select multiple fields).
    * As integer number (with range limitation).
    * As floating point number (with range limitation).
    * Programmer defined client and server validation functions.
    - Highlight invalid fields rendering them distinct CSS styles
    - Security attack prevention by optionally discarding invalid values passed in fields that could not be edited by users but may be spoofed by attackers.
    - Option to define a value that, when used in a field, it is accepted without performing any of the validations defined for the field.
    - Ability to stop the user from submiting a form more than once inadvertdly.
    - Sub form validation (validate only smaller set of field depending on the submit button that was used).
    - Composition and generation of the form HTML output with fields displayed as fully accessible or in read-only mode.
    - Generation of Javascript functions (useful to set to the page ONLOAD event):
    * Set the input focus to a field.
    * Select the text of a field.
    * Set the input focus and select the text of a field.
    * Enable and disable input fields
    - Automatic capitalization of the text of a field:
    * Upper case.
    * Lower case.
    * Word initials
    - Replacement of text field expressions to perform adjustments like trimming whitespace or auto-complete values based on rules defined by regular expressions
    - Compose forms with templates using plain HTML files with embedded PHP code or using the Smarty template engine with a supplied pre-filter plugin
    - Etc.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +3

    Picture of Manuel Lemos by Manuel Lemos package author package author Reputation 26695 - 9 years ago (2015-05-23) Comment

    This general purpose forms class comes with CRUD plugin that can list, create, update and delete records of information stored in a database or anywhere else.

    There is a demo page for this plugin here:

    http://www.phpclasses.org/package/1-PHP-HTML-forms-generation-and-validation-.html#demos/6098

    It is a demo of the test_crud_input.php example script that comes with the package.

    http://www.phpclasses.org/package/1-PHP-HTML-forms-generation-and-validation-.html#view_files/files/43568 


    Table Maintenance: Manage forms for CRUD MySQL table records

    This package can manage forms for CRUD MySQL table records.

    It can display, validate and process forms to create, read, update, and delete records for MySQL tables.

    Forms and listings are generated automatically using HTML templates given the name of the database table of the records to be managed.

    Record listings may appear paginated with navigation links.

    Automatic validation of form inputs is performed depending on the type of database table record. Additional custom validations may also be performed.

    Actions to create, update and delete records require confirmation of the user in a page that displays a preview of the changes.

    Database record changes are logged to an audit trail database table.

    The record listing mode, the form input labels for each table column, and the order of presentation of the table column values are configurable parameters.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +4

    Picture of Dave Smith by Dave Smith Reputation 7620 - 9 years ago (2015-05-22) Comment

    I would give this one a try.

    • 1 Comment
    • 1. Picture of sattar albasrawi by sattar albasrawi - 6 years ago (2018-08-03) Reply

      Table Maintenance


    Recommend package
    : 
    :