PHP Classes

File: examples_instructions.txt

Recommend this page to a friend!
  Classes of Saro Carvello   PHP Web MVC Framework   examples_instructions.txt   Download  
File: examples_instructions.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: PHP Web MVC Framework
MVC framework providing autogenerated MySQL models
Author: By
Last change: Update instructions to config temp folder
Updates instruction for PHP built in HTTP server
none
Nuova versione
Date: 10 months ago
Size: 1,700 bytes
 

Contents

Class file image Download
Examples and Buiders setup -------------------------- A) Unzip package into a web folder B) Install Database script file sql/mrp.sql C) Modify the following lines of config/application.config.php" according to your db and web server /** * MySQL User */ define("DBUSER","PUT_YOUR_USERNAME"); /** * MySQL Password */ define("DBPASSWORD","PUT_YOUR_PASSWORD"); /** * MySQL Database */ define("DBNAME","PUT_YOUR_DB_NAME"); /** * MySQL Port */ define('DBPORT', '3306'); /** * Defines a constant for site URL * @note without the ending slash * @example: http://localhost/webmvc */ define("SITEURL","http://PUT_YOUR_HOST/PUT_YOUR_FOLDER"); D) Modify the following lines of "util/mysqlreflection/mysqlreflection.config.php" according to your db define("DBHOST","PUT_YOUR_DB_HOST"); define("DBUSER","PUT_YOUR_USERNAME"); define("DBPASSWORD","PUT_YOUR_PASSWORD_HERE"); define("DBNAME","PUT_YOUR_DB_NAME_HERE"); define('DBPORT', '3306'); E) /** * Defines a constant for a temporary folder */ define("APP_TEMP_PATH", "D:\\gitmvc\\temp"); F) Run: http://YOUR_HOST/YOUR_FOLDER ADDITIONAL INSTRUCTION (FOR WINDOWS USERS ONLY) If you don't have an installed Apache HTTP server then you can use PHP built-in webserver. To do this follow the previous instruction steps but replace the following lines: C) define("SITEURL","http://localhost:8000/PUT_YOUR_FOLDER"); Edit mvc_bootstrap.bat and update lines "set FRAMEWORK_PATH=D:\gitmvc" with YOUR_FOLDER. Choose also your PHP version having the care to have previously downloaded and installed it into your system. LIVE EXAMPLES: www.webmvcframework.com