Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 24, 2015
  1. @pmjones

    soothe phpdoc

    pmjones authored
Commits on Oct 16, 2013
  1. @pmjones

    [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. @pmjones
  2. @pmjones
Commits on Sep 14, 2013
  1. @pmjones
Commits on Sep 13, 2013
  1. @pmjones

    [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. @pmjones

    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. @harikt

    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. @pmjones

    update comments

    pmjones authored
  2. @pmjones

    update comments

    pmjones authored
Commits on May 2, 2013
  1. @pmjones
Commits on Feb 11, 2013
  1. @pmjones
Commits on Feb 6, 2013
  1. @pmjones
  2. @pmjones

    add filter for input form

    pmjones authored
Commits on Jan 30, 2013
  1. @pmjones
  2. @pmjones
Commits on Jan 29, 2013
  1. @pmjones
Commits on Jan 24, 2013
  1. @pmjones

    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. @pmjones
  2. @pmjones

    implement Filter translator

    pmjones authored
Commits on Jan 4, 2013
  1. @pmjones

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

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

    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. @pmjones
Commits on Dec 7, 2012
  1. @pmjones

    update docblock

    pmjones authored
  2. @pmjones

    updated docblocks

    pmjones authored
Commits on Dec 6, 2012
  1. @pborreli

    Fixed typos

    pborreli authored
Commits on Nov 23, 2012
  1. @pmjones
  2. @pmjones
Commits on Nov 21, 2012
  1. @pmjones

    increase test coverage

    pmjones authored
  2. @pmjones
Commits on Nov 20, 2012
  1. @pmjones

    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. @pmjones
  3. @pmjones
  4. @pmjones

    move lots of stuff around, still need to test it

    pmjones authored
    Signed-off-by: Paul M. Jones <pmjones88@gmail.com>
Something went wrong with that request. Please try again.