presentation/framework
最新稳定版本:v0.26.9
Composer 安装命令:
composer require presentation/framework
包简介
Flexible Framework-Agnostic UI for Enterprise Web Applications
README 文档
README
Flexible Framework-Agnostic UI for Enterprise Web Applications
Project status: alpha since 2016-08-12
Have questions? Ask in issue-tracker.
Table of Contents
Requirements
- PHP 5.5+ (hhvm & php7 are supported)
Installation
Installing into Existing Project
The recommended way of installing the component is through Composer.
Run following command from your project folder:
composer require view-components/view-components
Installing as Stand-alone Project
For running tests and demo-application bundled with this package on your system you need to install it as stand-alone project.
composer create-project view-components/view-components
This is the equivalent of doing a git clone followed by a "composer install" of the vendors. Composer will automatically run 'post-create-project-cmd' command and that will call interactive installation.
If you want to use default settings and run it silently, just add --no-interaction option.
If you already cloned this repository, or you want to reinstall the package, navigate to the package folder and run composer create-project command without specifying package name.
If you are sure that you don't need to reinstall composer dependencies, you can execute only bundled installer: composer run post-create-project-cmd
This kind of installation has additional requirements:
- ext-curl
- ext-pdo_sqlite
Demo Application
This package bundled with demo-application.
Souce code of demos available here
Working Demo
Travis CI automatically deploys web-application bundled with this package to Heroku.
Here you can see working demos: http://view-components.herokuapp.com/
First run may be slow because Heroku shutting down workers when there is no traffic and starts it again on first visit
Running Demo Application Locally
To run it locally, you must install this package as stand-alone project with dev-dependencis.
Then, run web-server from the package directory with the following command:
composer serve
This command uses web-server bundled with PHP.
Now, open http://localhost:8000 in the browser (for Windows users it will be opened automatically after starting web-server).
Documentation
Work in progress. Contributions are extremely welcome!
Testing
This application bundled with unit and acceptance tests created with PHPUnit.
To run tests locally, you must install this package as stand-alone project with dev-dependencies.
Command for running unit and acceptance tests:
composer test
Command for checking code style:
composer cs
Contributing
Please see Contributing Guidelines and Code of Conduct for details.
Security
If you discover any security related issues, please email mail@vitaliy.in instead of using the issue tracker.
License
© 2014—2016 Vitalii Stepanenko
Licensed under the MIT License.
Please see License File for more information.
presentation/framework 适用场景与选型建议
presentation/framework 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 144 次下载、GitHub Stars 达 24, 最近一次更新时间为 2015 年 09 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「view」 「html」 「Rendering」 「widgets」 「presenter」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 presentation/framework 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 presentation/framework 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 presentation/framework 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Shoot aims to make providing data to your templates more manageable
Texy converts plain text in easy to read Texy syntax into structurally valid (X)HTML. It supports adding of images, links, nested lists, tables and has full support for CSS. Texy supports hyphenation of long words (which reflects language rules), clickable emails and URL (emails are obfuscated again
Illuminate View for Morningmedley.
HTML and form generation
Blade template for Kirby
A modern HTML DOM parser for PHP using DOMDocument and Symfony CssSelector.
统计信息
- 总下载量: 144
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 24
- 点击次数: 18
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-02