diff options
author | http://kerravonsen.dreamwidth.org/ <http://kerravonsen.dreamwidth.org/@web> | 2009-12-04 04:29:10 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-12-04 04:29:10 -0500 |
commit | 27dd2810d48c7a08f6b82632d26d9f6f00f5cb6b (patch) | |
tree | 7e041e2460a37da5e33caefb389b4ff4ef0345d3 /doc | |
parent | 2a4f37b4622bd5ce8e2c153fff2ae5d1d57f57de (diff) | |
download | ikiwiki-27dd2810d48c7a08f6b82632d26d9f6f00f5cb6b.tar ikiwiki-27dd2810d48c7a08f6b82632d26d9f6f00f5cb6b.tar.gz |
request for comment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/an_alternative_approach_to_structured_data.mdwn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/forum/an_alternative_approach_to_structured_data.mdwn b/doc/forum/an_alternative_approach_to_structured_data.mdwn new file mode 100644 index 000000000..8898c90da --- /dev/null +++ b/doc/forum/an_alternative_approach_to_structured_data.mdwn @@ -0,0 +1,15 @@ +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. + +I propose that, rather than worry about what the data looks like, that we take a similar approach +to the way Revision Control Systems are used in ikiwiki: a front-end + back-end approach. +The front-end would be a common interface, where queries are made about the structured data, +and there would be any number of back-ends, which could use whatever markup or format that they desired. + +To that purpose, I've written the [[plugins/contrib/field]] plugin for a possible front-end. +I called it "field" because each page could be considered a "record" where one could request the values of "fields" of that record. +The idea is that back-end plugins would register functions which can be called when the value of a field is desired. + +This is gone into in more depth on the plugin page itself, but I would appreciate feedback and improvements on the approach. +I think it could be really powerful and useful, especially if it becomes part of ikiwiki proper. + +--[[KathrynAndersen]] |