Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 16, 2013
  1. Paul M. Jones

    [ADD] Inject a $router when loading configs. This is a backwards-comp…

    pmjones authored
    …atible change; old configs will work along with the new ones, and new configs can make use of the new $router. Old configs take precedence over new.
Commits on Sep 16, 2013
  1. Paul M. Jones
  2. Paul M. Jones
Commits on Sep 14, 2013
  1. Paul M. Jones
Commits on Sep 13, 2013
  1. Paul M. Jones

    [CHG] Bootstrap\Factory::newInstance() and prep() to add a 'silent_lo…

    pmjones authored
    …ader' param; when true, this forces the autoloader into MODE_SILENT for testing
Commits on Sep 12, 2013
  1. Paul M. Jones

    the two-step view already does most of this logic; replace with logic…

    pmjones authored
    … that only sets the format from the controller
Commits on Sep 8, 2013
  1. Hari K T

    Get the format from the Accept header.

    harikt authored
    Eg : curl -i -H "Accept:application/json"  http://localhost:8000/greet
    
    The action in the case will be like
    
    namespace Example\Package\Web\Greet;
    
    use Aura\Framework\Web\Controller\AbstractPage;
    
    class Page extends AbstractPage
    {
        public function actionIndex()
        {
            $this->data->message = $this->context->getQuery('name', 'guys!');
            // multiple views
            $this->view = [
                '.html' => 'index',
                '.json' => 'greet.json.php',
            ];
            $this->layout = [
                '.html' => 'default',
                '.json' => '',
            ];
        }
    }
    
    // config/default.php
    $di->get('router_map')->add('example_package_greet', '/greet', [
        'values' => [
        'controller' => 'greet',
            'action' => 'index',
        ],
    ]);
    
    See we have not used any formats here.
    
    In the view index.php will be normal html, where as `greet.json.php`
    will be json_encode($this->data);
    
    I am interested to hear your thoughts on this.
    
    Thanks
Commits on May 21, 2013
  1. Paul M. Jones

    update comments

    pmjones authored
  2. Paul M. Jones

    update comments

    pmjones authored
Commits on May 2, 2013
  1. Paul M. Jones
Commits on Feb 11, 2013
  1. Paul M. Jones
Commits on Feb 6, 2013
  1. Paul M. Jones
  2. Paul M. Jones

    add filter for input form

    pmjones authored
Commits on Jan 30, 2013
  1. Paul M. Jones
  2. Paul M. Jones
Commits on Jan 29, 2013
  1. Paul M. Jones
Commits on Jan 24, 2013
  1. Paul M. Jones

    don't read the same $mode file twice. read 'default' then whatever th…

    pmjones authored
    …e non-default mode is. closes #32. thanks @ammmze
Commits on Jan 23, 2013
  1. Paul M. Jones
  2. Paul M. Jones

    implement Filter translator

    pmjones authored
Commits on Jan 4, 2013
  1. Paul M. Jones

    load system-level default config, and then system-level mode config, …

    pmjones authored
    …instead of just the mode without default. fixes #29
  2. Paul M. Jones
Commits on Dec 28, 2012
  1. Paul M. Jones

    BC break: in front controller, add a session manager, and commit the …

    pmjones authored
    …session at the end of exec()
Commits on Dec 23, 2012
  1. Paul M. Jones
Commits on Dec 7, 2012
  1. Paul M. Jones

    update docblock

    pmjones authored
  2. Paul M. Jones

    updated docblocks

    pmjones authored
Commits on Dec 6, 2012
  1. Pascal Borreli

    Fixed typos

    pborreli authored
Commits on Nov 23, 2012
  1. Paul M. Jones
  2. Paul M. Jones
Commits on Nov 21, 2012
  1. Paul M. Jones

    increase test coverage

    pmjones authored
  2. Paul M. Jones
Commits on Nov 20, 2012
  1. Paul M. Jones

    major rework of bootstrapping process: move Config behaviors back int…

    pmjones authored
    …o bootstrapper, make bootstrapper into a factory, split out Cli and Web bootstrappers
  2. Paul M. Jones
  3. Paul M. Jones
  4. Paul M. Jones

    move lots of stuff around, still need to test it

    pmjones authored
    Signed-off-by: Paul M. Jones <pmjones88@gmail.com>
Commits on Nov 17, 2012
  1. Paul M. Jones
Something went wrong with that request. Please try again.