plugin:struct
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:struct [2017-08-22 13:51] – [Usage] SFITCS | plugin:struct [2024-04-09 23:51] (current) – version upped andi | ||
---|---|---|---|
Line 3: | Line 3: | ||
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
- | author | + | author |
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
- | type : syntax, admin, action | + | type : syntax, admin, action, remote |
- | lastupdate : 2017-07-11 | + | lastupdate : 2024-04-09 |
- | compatible : 2016-06-26a, | + | compatible : !Frusterick Manners, !Greebo, !Hogfather, !Igor, Jack Jackrum, Kaos |
depends | depends | ||
- | conflicts | + | conflicts |
similar | similar | ||
- | tags : | + | tags : database, sqlite, data |
downloadurl: | downloadurl: | ||
Line 23: | Line 23: | ||
===== Why “struct” instead of “data”? ===== | ===== Why “struct” instead of “data”? ===== | ||
- | This plugin draws heavy inspiration from the [[data]] plugin. It basically tries to solve the same problem of assigning structured data to pages and build automatic aggregations from it. | + | This plugin draws heavy inspiration from the [[Data]] plugin. It basically tries to solve the same problem of assigning structured data to pages and build automatic aggregations from it. |
So why another plugin? The data plugin proved to be very useful and versatile but had a few shortcomings: | So why another plugin? The data plugin proved to be very useful and versatile but had a few shortcomings: | ||
Line 32: | Line 32: | ||
* there was no validation for the data entered | * there was no validation for the data entered | ||
- | The [[bureaucracy]] plugin helped with some of the points but not all of them. So struct | + | The [[Bureaucracy]] plugin helped with some of the points but not all of them. So Struct |
* structured data is classified in //schemas// | * structured data is classified in //schemas// | ||
Line 44: | Line 44: | ||
* the structured data is no longer part of the page syntax | * the structured data is no longer part of the page syntax | ||
* data is only edited via a dedicated form within the standard editor or through [[plugin: | * data is only edited via a dedicated form within the standard editor or through [[plugin: | ||
- | * it is possible to create //lookup// schemas where data is not attached to any page | + | * it is possible to create //global// data not attached to any page ((referred to as //lookup// in previous versions of struct)) |
- | * lookup schemas | + | * global data can be used as data source for [[plugin: |
+ | * //serial// data is a collection of data structures belonging to certain pages | ||
* all crucial code is covered by automated tests | * all crucial code is covered by automated tests | ||
This allows for central management of wanted structured data while keeping the functionality of the data plugin. | This allows for central management of wanted structured data while keeping the functionality of the data plugin. | ||
+ | [[https:// | ||
===== Installation ===== | ===== Installation ===== | ||
- | |||
- | [[http:// | ||
:!: **External requirements: | :!: **External requirements: | ||
Line 59: | Line 59: | ||
* [[plugin: | * [[plugin: | ||
- | :!: Please also note that this plugin requires **PHP 5.6 or higher**. | + | Search and install |
- | + | ||
- | + | ||
- | Install | + | |
===== Usage ===== | ===== Usage ===== | ||
Line 76: | Line 73: | ||
* [[plugin: | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
- | * [[plugin: | + | * [[plugin: |
- | * [[plugin: | + | * [[plugin: |
+ | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
+ | * Aggregation Types | ||
+ | * [[plugin: | ||
+ | * [[plugin: | ||
+ | * [[plugin: | ||
+ | * Aggregation Control | ||
+ | * [[plugin: | ||
+ | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
- | * [[plugin: | ||
- | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
* [[plugin: | * [[plugin: | ||
+ | * [[plugin: | ||
+ | * [[plugin: | ||
+ | * [[plugin: | ||
+ | |||
+ | Here a complete overview of [[.struct: | ||
+ | |||
+ | ===== Samples ===== | ||
+ | |||
+ | * [[plugin: | ||
- | Alternatively - [[https:// | ||
===== Development ===== | ===== Development ===== | ||
=== Change Log === | === Change Log === | ||
- | [[https://travis-ci.org/ | + | [[https://github.com/ |
{{rss> | {{rss> | ||
Line 99: | Line 110: | ||
=== Known Bugs and Issues === | === Known Bugs and Issues === | ||
- | Please report bugs and issues at: https:// | + | Please report bugs and issues at https:// |
plugin/struct.txt · Last modified: 2024-04-09 23:51 by andi