]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/an_alternative_approach_to_structured_data.mdwn
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git] / doc / forum / an_alternative_approach_to_structured_data.mdwn
1 Looking at the discussion about [[todo/structured_page_data]], it looks a bit like folks are bogged down in figuring out what *markup* to use for structured page data, something I doubt that people will really agree on.  And thus, little progress is made.
2
3 I propose that, rather than worry about what the data looks like, that we take a similar approach
4 to the way Revision Control Systems are used in ikiwiki: a front-end + back-end approach.
5 The front-end would be a common interface, where queries are made about the structured data,
6 and there would be any number of back-ends, which could use whatever markup or format that they desired.
7
8 To that purpose, I've written the [[plugins/contrib/field]] plugin for a possible front-end.
9 I called it "field" because each page could be considered a "record" where one could request the values of "fields" of that record.
10 The idea is that back-end plugins would register functions which can be called when the value of a field is desired.
11
12 This is gone into in more depth on the plugin page itself, but I would appreciate feedback and improvements on the approach.
13 I think it could be really powerful and useful, especially if it becomes part of ikiwiki proper.
14
15 --[[KathrynAndersen]]
16
17 > It looks like an interesting idea.  I don't have time right now to look at it in depth, but it looks interesting. -- [[Will]]