I once used Prado, a PHP Framework, at one of my works. I really liked it, because of its documentation and demos. If you really want to check it out, here is the address.
The first thing to begin with Prado, you must build your application's skeleton by the way Prado expects;
-Your Application Directory
---assets directory
---protected directory
-------pages directory
-------runtime directory
---index php-file
But don't really worry about it, you can use prado's command line tool 'prado-cli.php'. For example let's say that we'll start a new project named 'firstproject' and we want to create the application's skeleton;
First we must be sure, for linux if php5-cli was installed to our system and for windows if php.exe's path is added to environment variables. After that we copy the prado's directory to our local directory. For my Apache web server in Linux it is '/var/www/'. So let's see;
For Linux;
cd /var/www/
cp -R path-to-prado ./
php prado/framework/prado-cli.php -c firstproject
After this command prado automatically creates the skeleton of your application and create the necessary files. The rest is for you to arrange them for your needs, that's it.
Subscribe to:
Post Comments (Atom)
.bmp)
No comments:
Post a Comment