| 
| 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 Marco Gasi |  
| 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: | 6 years ago |  
| Size: | 1,683 bytes |  
|  |  |  |