What's new? | Help | Directory | Sign in
Google
phpsimpl
PHP Simpl framework - Simple CRUD framework that does much more.
  
  
  
  
    
Search
for
Updated Mar 22, 2007 by nick.denardis
Labels: Phase-Deploy, Phase-Implementation, Featured
Installation  
Simple Instructions to install Simpl onto a web server.

Introduction

  1. Download the newest version of Simpl from this site.
  2. Copy the "simpl" directory to your web root (ex. /usr/local/www/). It is not required to install in a web viewable directory
  3. Define some basic directories for Simpl
  4. // Directories
    // Always Include trailing slash "/" in Direcories
    define('DIR_ABS', '/usr/local/www/mysite/');
    define('FS_SIMPL', DIR_ABS . 'simpl/');
    define('FS_CACHE', DIR_ABS . 'cache/');
    
    // Database Connection Options
    define('DB_USER', '');
    define('DB_HOST', '');
    define('DB_PASS', '');
    define('DB_DEFAULT', '');
  5. Include the Simpl class
  6. // Simpl Framework
    include_once(FS_SIMPL . 'simpl.php');
  7. Connect to the database
  8. // Make the DB Connection
    $db = new DB;
    $db->Connect();
  9. Include your application level classes and you are good to go

Next Step

Read the BaseClasses page to get a full understanding of Simpl's abilities.


Comment by mar...@spiderweb.com.au, Mar 12, 2008

i do not understand these instructions any chance of making instructions clearer ?


Sign in to add a comment