Skip to content

sg4r3z/umvc

Repository files navigation

CORE DB CLASS

File PATH: classes/class.db.php Reference: https://code.google.com/p/php-pdo-wrapper-class/

GENERATORS FOLDER

File: models_generator.py generate the models class for framework in models/ directory generate the validators class for framework in validators/ dirctory

automatically read setting.inc.php to interface with your db just configure the DB_Hostname,DB_Username,DB_Password,DB_Name in correct RUN_MODE

types.xml

the file types.xml allows the generator to define the pattern of validation to be used during the generation of the model Are implemented the following types INT, VARCHAR, DATE, DATETIME

MODELS GENERATOR

to install the mysqldb module in python write in terminal: sudo apt-get install python-MySQLdb

URL REWRITE

to enable the mod_rewrite in apache2 write in terminal: a2enmod rewrite

replace every occurrence of "AllowOverride None" with "AllowOverride all" in /etc/apache2/sites-available/default

sudo service apache2 restart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages