My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Installation  
Simple Instructions to install Simpl onto a web server.
Phase-Deploy, Phase-Implementation, Featured
Updated Feb 4, 2010 by nick.den...@gmail.com

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 inskyb...@gmail.com, Mar 12, 2008

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

Comment by mau...@hotmail.com, May 10, 2009

I saw the example working. But, still, It is dificult to me to see how it works. I dont know what I must do on my own work.

All we will be glad if you make a good documentation to see how it works.

Thanks!

Comment by ege...@gmail.com, Jun 18, 2009

I also don't understand it. I couldn't get the application working unfortunately. A lot of steps are missing in the documentation.

Comment by jeziv...@gmail.com, Aug 25, 2009

where do you include this:

"Include the Simpl class "

Comment by anthonir...@gmail.com, May 23, 2010

Better Doc is necessary for understanding !!!

Comment by fuljen...@gmail.com, Jun 13, 2010

Maybe phpsimpl is good but the installation steps are not good; you have to reverse engineer several things. I found phpsimpl searching for crud?, my expectations <-- really important as a developer are 1.- unzip 2.- configure database parameters 3.- get a crud for my database

If phpsimpl is not intended to do that way, that should be explained. Otherwise, it should work that way.

Comment by jacky.wa...@gmail.com, Sep 26, 2011

Cannot understand the install instructions. Should not be called simple, it should be called difficult.

Comment by k...@microtec.se, Oct 7, 2011

If you are trying to run examples/ and are having problems: Edit the examples/inc/define.php to your own database-credentials. Just entering them in the simpl/config.php just won´t do it since the author has defined them in examples/inc/define.asp already.

And please note that the example won't run unless you create the corresponding tables as the examples are made to run against.

This is really crappy instructions from the creators and some things should really be clearified.


Sign in to add a comment
Powered by Google Project Hosting