phpgt/webengine
Composer 安装命令:
composer require phpgt/webengine
包简介
Minimalistic, ergonomic PHP toolkit.
README 文档
README
WebEngine is an ergonomic toolkit for building web applications. It follows a static-first approach: development begins using plain HTML files, with PHP introduced only when needed. Dynamic behaviour is handled through server-side DOM manipulation, mirroring well-known client-side techniques.
Web frameworks offer many features, but often come with steep learning curves or imposing rules. The motivation behind this project is the belief that what a framework can offer can be achieved by eliminating code rather than adding more.
Head over to the Github Wiki for documentation.
Features at a glance
- Simple routing: A page's view in
page.htmlhas optional logic separated withinpage.php - Pages made dynamic via server-side DOM Document access
- HTML templates
- Database organisation
- Create web pages or web services (APIs) with the same code structure
- Preconfigured client-side build steps (SCSS, ES6, etc.)
- Strong separation of concerns over PHP, HTML, SQL, JavaScript, CSS
- Preconfigured PHPUnit and Behat test environment
- Workflow tools to quickly create, integrate and deploy projects
Essential concepts
Static first
Start with a static HTML prototype to move fast and remove barriers. Add logic only where needed to turn it into production code, keeping the steps minimal.
Build using tech you already know
WebEngine builds on the core technologies of the World Wide Web, such as HTML and HTTP. Use familiar tools to get real work done, with helpful enhancements layered on top.
Drop in tools without fuss
SCSS parsing, HTML templating, CSRF handling, and other tools are included out of the box. The modular architecture keeps compatibility high, so you can install packages from NPM or Packagist with no configuration.
Develop locally or in a VM
Scripts are provided to spin up local servers or virtualised environments quickly, without changing your system configuration.
Community blueprints
Blueprint projects help you start fast. They provide just enough structure and design to get a prototype running, without locking you into a specific style of development or design.
Getting started
Getting started developing WebEngine applications
If you are new to WebEngine development, check out the Quick Start guide in the documentation, or jump straight into the tutorials.
Getting started contributing to WebEngine
If you are looking to contribute to WebEngine itself, please read the Contribution guidelines document.
How to get help
Submit an issue
The Github issue tracker is used to submit bug reports, feature requests or certain types of technical support requests. If you think something is not working correctly, or the documentation doesn't cover your issue, feel free to open a new issue, describing what you have tried, what you expect, and what went wrong.
It would be helpful if you could create your issue in the appropriate repository - for instance, if the issue/question is regarding using a database in WebEngine, https://github.com/phpgt/Database/issues would be the best place - but it's fine to create the issue on WebEngine's issue tracker, and someone can then move the issue if necessary.
Proudly sponsored by
phpgt/webengine 适用场景与选型建议
phpgt/webengine 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 22.26k 次下载、GitHub Stars 达 26, 最近一次更新时间为 2016 年 08 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「php」 「router」 「webservice」 「prototype」 「Toolbox」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 phpgt/webengine 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 phpgt/webengine 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 phpgt/webengine 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Router
PMVC App Action Router
Database alias router extension for Nette Framework
Alfabank REST API integration
PHP Router
统计信息
- 总下载量: 22.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 27
- 点击次数: 15
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-16
