定制 danack/tier 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

danack/tier

最新稳定版本:0.7.1

Composer 安装命令:

composer require danack/tier

包简介

An 'framework' application using DI with tiers for full 'Dependency inversion'.

README 文档

README

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

统计信息

  • 总下载量: 563
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 0
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-24