Name | Modified | Size | Downloads / Week |
---|---|---|---|
2013-10-10 | 2013-10-10 | ||
2011-10-01 | 2011-10-01 | ||
README.txt | 2013-10-10 | 2.6 kB | |
Totals: 3 Items | 2.6 kB | 1 |
BI php framework has been released (2013-10-10) This release contain much improvement and new features. Changes: Folder structure: - app + controllers + helpers + models + views + layout + ... - lib + system This folder contain all framework file. Other folder just be created for example + ... - public + css + js + ... - themes - config + locale For language files + en.ini + ... + db + 2013101012334_init_db.php For migration database + ... - plugins + plugin_a + app + controllers + helpers + models + views + config + db + lib + assets + css + js + ... - console Script for easy working with system INSTAL: - Extract folder to any where - Create symbol link for "public" folder to htdocs or /var/www/ folder - Modify rewrite base path in .htaccess file - Enable rewrite mod - Modify database parameter in config/database.ini file - DONE NOTE: - This is just an example for bi_framework, the framework actually stay in lib/system folder - You need to add more model, helper, controller, library, plugin, theme as you need COSOLE example: 1. Create database - After modify config/database.ini file - At root of bi_framwork folder, run: <code>./console createdb</code> 2. Drop databse - At root of bi_framwork folder, run: <code>./console dropdb</code> 3. Upgrade database - All migration scripts are stored in config/db/ folder. The migration script name have prefix is timestamp, easier for migration/de-migration - At root of bi_framwork folder, run: <code>./console updatedb</code> 4. Select other themes - Themes are stored in themes folder - At root of bi_framwork folder, run: <code>./console update_theme [theme name]</code> 5. Upgrade plugins - Each plugin can contains js, css... and its database table... - The assets of plugin is stayed in assets folder inside its plugin - The language and database migration script are stayed in config/ folder - At root of bi_framwork folder, run: <code>./console update_plugin [up/down] [20130000000]</code> - 20130000000 is a timestamp, according to the prefix of migration script, where you want to migrate up/down