PHP Classes

File: lib/DbModel.class.php

Recommend this page to a friend!
  Classes of Marco Gasi  >  PHP Form Database Processor  >  lib/DbModel.class.php  
File: lib/DbModel.class.php
Role: Class source
Content type: text/plain
Description: - Changed naming convention converting everything to camelCase; - Refactored FormProcessor class, splitting buildForm() function into several smaller functions to make the code more easily mantainable; - renamed several functions in FormProcessor class to make more clear their goal - added DbModel class: now FormModel class extends DbModel
Class: PHP Form Database Processor
Create and process forms to manage database data
Author: By
Last change: - Added a new class just to manage the database connection a singleton
- Migrated DbModel and FormModel classes from mysqli to PDO
- Added the new setting 'dbDriver' to config.php in order to allow to choose which database driver must be used
- Converted all queries to prepared statements to improve security
Date: 1 year ago
Size: 1,683 bytes


You need to be a registered user and login to get this file.

Login Immediately with your account on: