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:
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.
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.
With styleguide, it is possible to automatically create sample pages and content for 2 purposes:
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:
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 list module to get access to the records.
The TYPO3 TCA reference documentation often uses examples from the styleguide.
This project is released under GPLv2 license. See LICENSE.txt for details.