Qoob Portfolio

The open qoob is a php mvc framework created to speed up the process of creating dynamic sites. This is the code running this website!

Qoob Portfolio

index.php


<?php
//______________________________________________________________________________
//                                                                framework init
$qoob = require('qoob/qoob.php');
library::set('QOOB.root', dirname(__FILE__));
$qoob->config('qoob/app/config.ini.php');
//______________________________________________________________________________
//                                                                    add routes
$qoob->route('GET /',                                          'app\about->index');
$qoob->route('GET /about',                                     'app\about->index');
$qoob->route('GET /resume',                                    'app\resume->index');
$qoob->route('GET /contact',                                   'app\contact->index');
$qoob->route('POST /contact/send',                             'app\contact->send');
$qoob->route('GET /contact/thank_you',                         'app\contact->thank_you');
$qoob->route('GET /projects',                                  'app\projects->index');
$qoob->route('GET /projects/:category',                        'app\projects->category');
$qoob->route('GET /projects/:category/:title',                 'app\projects->overview');
$qoob->route('GET /code/',                                     'app\code->index');
$qoob->route('GET /code/:repo',                                'app\code->repo');
$qoob->route('GET /code/:repo/:branch',                        'app\code->branch');
$qoob->route('GET /code/:repo/:branch/history',                'app\code->history');
$qoob->route('GET /code/:repo/:branch/:commit',                'app\code->commit');
$qoob->route('GET /code/:repo/:branch/:commit/tree/:obj',      'app\code->tree');
$qoob->route('GET /code/:repo/:branch/:commit/tree/:obj/tar',  'app\code->tar');
$qoob->route('GET /code/:repo/:branch/:commit/tree/:obj/zip',  'app\code->zip');
$qoob->route('GET /code/:repo/:branch/:commit/blob/:obj',      'app\code->blob');
$qoob->route('GET /code/:repo/:branch/:commit/blob/:obj/raw',  'app\code->raw');
$qoob->route('GET /code/:repo/:branch/:commit/blob/:obj/tar',  'app\code->tar');
$qoob->route('GET /code/:repo/:branch/:commit/blob/:obj/zip',  'app\code->zip');
//______________________________________________________________________________
//                                                                       execute
$qoob->run();
?>

Download

raw zip tar