Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Danack/Tier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tier - a layered application architecture.

An application runner framework that uses a DIC to allow multiple 'tiers', to allow complete separation between routing, controllers and view tiers.

Build Status

The real name for the "pattern" is breaking the execution of a program up into individual blocks. Each of those blocks can have their own set of dependencies.

This is why the 'framework' is called Tier, as it allows you to "arrange in layers" . Each block of execution builds up information to be used by subsequent execution blocks.

Documentation

The documentation, such as it is, is available at http://tier.phpjig.com/

How to run

There is a skeleton application available here, which can be run with:

git clone https://github.com/Danack/TierJigSkeleton
cd TierJigSkeleton/
composer install
php -S localhost:8000 -t public

Running built in test

Some of the tests depend on PHP's built-in server. This is run automatically as part of the test suite if PCNTL is availble. For debugging purposes, you may wish to run this server manually which can be done with:

php -S localhost:8000 -t ./test/app/public

About

An example application built with Tiers with Auryn to handle dispatching.

Resources

Stars

Watchers

Forks

Packages

No packages published