Skip to content

pebbie/botol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOTOL

web framework inspired by bottle (http://bottlepy.org) written in PHP


uses external libraries such as :

  • Savant3 for templating
  • RedBean for persistence (optional)
  • PEAR-JSON (optional)

the simplest hello world in botol

  • create any .php file in mod/ folder containing these lines
<?php
route('/hello/:name','hello');
function hello($arg)
{
    echo "hello,".$arg['name'];
}

conventions :

  • put your additional libraries/include codes (.php) in /ext directory
  • put your app codes (.php) in /mod directory
  • put your template codes (Savant3 .tpl files) in /tpl directory

About

php web microframework inspired by bottle (python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages