-
Notifications
You must be signed in to change notification settings - Fork 16
Setup
Rosario Carvello edited this page Jan 12, 2018
·
25 revisions
This section provides you with basic information for download, setup and configure WebMVC framework.
In order to develop using WebMVC framework you need:
- Operating System: Linux, Mac or Windows
- Server: Apache web server with mod_rewrite enabled
- Database: MySql (from 5.0 to the latest version)
- Programming language: PHP (from 5.3 to the latest version) with DOM and mysqli extensions.
The technical skills you need for developing with WebMVC are:
- Good knowledge of PHP programming language and OOP
- Basic knowledge of HTML, JavaScript, and CSS
- Basic knowledge of MySQL database
To install the framework:
- Download it from Github
- Create a project folder in the root folder of your web server
- Copy all the directories downloaded from Github into the project folder
- Go into the project folder and 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_WEB_FOLDER");
In the next section, we show you how to configure some optional parameters.