Wikiversity:MOOC Interface/Doc
Landing page
[edit source]To create a reasonable structure is the task of a teacher. To create pages that reflect this structure and link between the single items is not. Thus the MOOC interface provides methods to create such pages and contains a MOOC module that loads the structure of your MOOC. The interface enables the user to navigate through the MOOC and displays the correct page
Data structure
[edit source]At first we want to make clear that a MOOC in the context of this interface is well structured. A MOOC contains any number of lessons and each lesson contains any number of learning units, which we will simply call unit. Lessons and units are both items of the MOOC.
This leads to a tree-like structure such as:
This structure is saved in a page we call the MOOC index.
MOOC
[edit source]Lesson
[edit source]A lesson is a collection of units and thus try to convey a larger piece of information, such as a whole subtopic. Lessons can have a number of resources. The table below gives you an overview.
Unit
[edit source]A unit is a small piece of information a student has to learn. Units can have a number of resources, the following table lists.
Resources
[edit source]resource | lesson | unit | location type | location |
---|---|---|---|---|
learning goals | built-in | MOOC index | ||
video | standalone media | hosted on Wikimedia Commons or this Wikiversity example: File:How_to_build_an_Ethernet_Frame.webm | ||
script | standalone wiki page | /script relative to MOOC itemexample: Web Science/Part1: Foundations of the web/Ethernet/Ethernet header/script | ||
quiz | standalone wiki page | /quiz relative to MOOC itemexample: Web Science/Part1: Foundations of the web/Ethernet/Ethernet header/quiz | ||
further reading | built-in | MOOC index |
While videos, scripts and quizzes are standalone and could be used on other pages, learning goals and further reading are not.
Components
[edit source]The following graphic gives an overview of the components the MOOC interface consists of. It illustrates the involvement of these components when a user requests a wiki page that is part of a MOOC.
Course:
1. MOOC item's wiki page
[edit source]The entry point of the interface is the wiki page a user browses to, that is part of a MOOC. In this example it is the wiki page of the MOOC unit Ethernet header that is part of the Web Science MOOC.
page content:
{{#invoke:Mooc|render|base=Web Science/Part1: Foundations of the web}}
This line invokes the MOOC module and uses the base
-option to tell which MOOC it belongs to.
2. MOOC module
[edit source]The core of the MOOC interface is the MOOC module. It is a collection of Lua scripts that load the MOOC index and render the requested MOOC item into a template, together with all its resources and a navigation.
- Index Parser
- Models
- Templates