Rapyd TRAC

Rapyd framework story is not recent, I starded development 3 years ago' the idea was to collate a bit of code used to build "backends". Since first version It's widget-oriented "forms, grids, etc..".

Many ideas of current version are borrowed from CodeIgniter and Kohanaphp, two cool mvc framework, but rapyd is not really an application framework, it's more like a way to standardize presentation and editing interfaces/processes using few components/widgets and simple data structures like arrays to describe their output/behaviour

syntax sample

  include('../rapyd/include.php');

  $rapyd = new rapyd();
  $rapyd->load->component('datagrid');

  $config = array(
    'label'     => 'Article List',
    'source'    => 'tbl_articles',
    'per_page'  => 5,
    'columns'   => array(
      array(
        'label'   => 'ID',
        'pattern' => 'article_id',
        'orderby' => true,
        'url'     => 'article_edit.php?show={article_id}',
        'img'     => 'detail.gif',
      ),
      array(
        'label'   => 'Title',
        'pattern' => 'title',
        'orderby' => true,
      ),
      array(
        'label'   => 'Author',
        'pattern' => '{firstname} {lastname}',
      ),
    )
  );
  $grid = new datagrid($config);
  $grid->build();

  echo $rapyd->head();
  echo $grid;