Hi Jeroen, Thanks for the nice feedback. I would definitely look into the suggestions mentioned by you.
On Sun, May 6, 2012 at 7:13 PM, Jeroen De Dauw <[email protected]>wrote: > Hey Akshay, > > Thanks for the update, and good luck with your GSoC project! :) > > > [1] - > > http://www.mediawiki.org/wiki/User:Chughakshay16/ConventionExtension#Data_Storage_Architecture > > You are storing structured data in wiki pages and might be interested in > having a look at two alternate approaches which could be of use to you: > > * The ContentHandler [0] stuff being written for the Wikidata project [1]. > This basically allows for storing stuff different then wikitext (for > example a blob of JSON) into wiki pages, have matching (view, edit, diff, > ect) interfaces for those and also have secondary storage to easily query > the data contained in the blobs. Daniel is currently working on getting > this into core, so you can't use it just yet (but we're hoping to have it > into MW 1.20). > > * I had a very similar need to store structured data for wiki pages when > writing the Education Program [2] extension and decided to sidestep the > page table altogether and store everything in relational format right away > (a page basically corresponding to a row in a database table). The neat > thing about this is that it requires no changes in core MediaWiki, but this > also means that I had to create my own generic diff/undo/history, ect > handlers. You can see examples of this here [3] (although you need > adittional rights to see the editing/undo/rollback interfaces). > > [0] https://meta.wikimedia.org/wiki/Wikidata/Notes/ContentHandler > [1] https://meta.wikimedia.org/wiki/Wikidata > [2] https://www.mediawiki.org/wiki/Extension:Education_Program > [3] http://education.wmflabs.org/wiki/Course:Cyberlaw_%28spring_2012%29 > > Cheers > > -- > Jeroen De Dauw > http://www.bn2vs.com > Don't panic. Don't be evil. > -- > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
