2017 © Pedro Peláez
 

library hydra

Container Application Framework

image

geggleto/hydra

Container Application Framework

  • Tuesday, May 10, 2016
  • by geggleto
  • Repository
  • 2 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Hydra

Container Application Framework, (*1)

Setup

  • Web root of your web server should be www/

Install

  • php composer.phar create-project geggleto/hydra [your-project-name]

Example

  • See www/auth/index.php

Container Access in sub-apps

Note that the sub-apps do not have access directly to the container, this is to prevent sub-apps overwriting other module's settings. Sub-apps have read access to the container through the ContainerInterop interface., (*2)

The ContainerProxy disables the \ArrayAccess component of the container., (*3)

Todo

  • Write composer script to auto-copy the public directories to www/

Thoughts

I am not totally convinced that we should be letting modules access Slim directly since it could possibly cause overlap in some areas. The container instances should be initialized on a per sub-application basis then merged into Slim's DIC., (*4)

The Versions

10/05 2016

dev-master

9999999-dev

Container Application Framework

  Sources   Download

MIT

The Requires