typo3/cms-styleguide
Composer 安装命令:
composer require typo3/cms-styleguide
包简介
TYPO3 extension to showcase TYPO3 Backend capabilities
README 文档
README
What is it?
Styleguide is a TYPO3 extension. It provides a backend module in the "System" section of the backend. It can create a page tree to show examples.
When TYPO3 core adds or deprecates features covered by this extension, core developers strive to keep it updated, reflecting these changes.
Styleguide is a reference to show a lot of TYPO3 backend features, often relevant for own extensions:
- A set of snippets showing how to use default backend functionality like tables, buttons, boxes or notifications.
- A huge set of 'TCA' examples, showing "all" features of the backend editing forms.
Usages
-
The extension is interesting for backend extension developers as a reference to see how casual stuff like buttons and other HTML related things are solved or used in the backend, and to copy+paste solutions. Additionally, the TCA examples is a near-complete show-case of FormEngine (editing records in the backend). Developers will see new things they did not know yet. Guaranteed!
-
The extension can be interesting for technical project managers to get an idea of what the backend editing is capable of out-of-the-box and which parts can be sold to customers without adding expensive implementation burdens to developers.
-
Styleguide is used by core developers to test and verify changes to JavaScript, HTML and PHP code do not break layout or functionality of backend modules. The extension is also used in core backend acceptance tests to verify FormEngine details do not break when developing core patches.
-
Styleguide is used within the official core documentation to provide examples, screenshots and possible usages of core functionality. Especially the TCA reference heavily relies on it.
Installation
Styleguide comes as a TYPO3 extension for the TYPO3 backend. After initial installation, it is advisable to let styleguide create an example page tree with records by clicking the "TCA / records -> Create styleguide page tree with data", and waiting for a couple of seconds for the system to crunch the data.
Initialization
With styleguide, it is possible to automatically create sample pages and content for 2 purposes:
- "styleguide TCA demo" to showcase various TCA features
- "styleguide frontend demo" to create pages which can be used for Frontend testing
These pages can be created either in the backend or on the command line:
# show help
bin/typo3 styleguide:generate -h
# create pages
bin/typo3 styleguide:generate -c
Alternatively, the pages can be created in the TYPO3 backend:
- Access the styleguide module by clicking on the question mark in the top bar: ? | Styleguide | TCA / Records / Frontend
- Click the available buttons
Usage
Styleguide comes with a module which is available by clicking on the question mark in the top bar: ? | Styleguide.
You can also peruse through the TCA demo by selecting the pages in the page tree. Use the records module to get access to the records.
The TYPO3 TCA reference documentation often uses examples from the styleguide.
Legal
This project is released under GPLv2 license. See LICENSE.txt for details.
- Placeholder texts are from Bacon Ipsum
typo3/cms-styleguide 适用场景与选型建议
typo3/cms-styleguide 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 764k 次下载、GitHub Stars 达 106, 最近一次更新时间为 2017 年 03 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「typo3」 「style guide」 「typo3 backend」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 typo3/cms-styleguide 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 typo3/cms-styleguide 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 typo3/cms-styleguide 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Symfony bundle for using the CssToInlineStyles translator by tijsverkoyen
Fixing php code style
Set Links with a specific language parameter
The coding standard applying to all Youdot PHP projects, based on Doctrine set of PHPCS rules, with additional checks.
A wrapper for silverstripe/docsviewer that pulls the documentation into the CMS adding a Site Help option to the help menu.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
统计信息
- 总下载量: 764k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 106
- 点击次数: 25
- 依赖项目数: 21
- 推荐数: 2
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2017-03-03
