Saturday, 14 September 2013

Best way to store course notes / medium sized text digitally - Must be: efficient, easy to display on web, flexible

Best way to store course notes / medium sized text digitally - Must be:
efficient, easy to display on web, flexible

I am building my personal web site and I want to store my course notes on
it. My course notes are currently on paper so I will be typing them up. I
am thinking about storing each of my courses in its own XML file with a
structure that goes like: The dashes represent tags, disregard the
numbers.
COURSE1.XML
-Title -Topic 1
- Sub Topic 1.1
- Multimedia link
- Code link
- Actual Text
- Sub Topic 1.2
...
- Topic 2
...
My website idea is if user clicks on course 1 link then my program will go
find that XML parse it and display its contents.
My Requirements:
- Must be able to display on web sites
- Parsing should be fast
- In the future I might do other things so I want something that is
flexible.
Is using XML for this a good design decision? Or can I do better? If XML
is a good design decision: Should I stay with my current design of 1 XML
per-course or have a folder for a course and have 1 XML for each topic?
Other than XML, what other options do I have?
Hopefully this isn't too subjective...

No comments:

Post a Comment