Difference between revisions of "Database activity"
Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Database activity.
(French link corrected)
|Line 38:||Line 38:|
[[fr:Base de données]]
[[fr:Base de données]]
Revision as of 22:06, 24 September 2006
The Database module allows the teacher and/or students to build, display and search a bank of record entries about any conceivable topic. The format and structure of these entries can be almost unlimited, including images, files, URLs, numbers and text amongst other things. You may be familiar with similar technology from building Microsoft Access or Filemaker databases.
- Note: Please don't confuse this activity type with Moodle's underlying SQL database, which stores all of the information used in Moodle courses and is only of interest to Moodle Administrators.
How to use the database module
- The first task is to add the database. You will be asked to give it a name, provide some text explaining its intended purpose to users and set a few other options.
- Next you define the kind of Fields that define the information you wish to collect. For example a database of famous paintings may have a picture field called painting, for uploading an image file showing the painting, and two text fields called artist and title for the name of the artist and the painting.
- It is then optional to edit the database templates to alter the way in which the database displays entries.
- Note that if you later edit the fields in the databases you must use the Reset template button, or manually edit the template, to ensure the new fields are added to the display
- Finally the Teacher and/or Students can start entering data and (optionally) commenting on and grading other submissions. These entries can be viewed alone, viewed as a list or searched and sorted.
Moodle.org has three good examples of the database module in action:
- Moodle Buzz, a database of the titles, authors and web links to news articles mentioning Moodle
- Themes, a database with screenshots, download links and user comments about Moodle themes
- Modules and plugins, a database containing a variety of web links (download, documentation, discussion) and info (maintainer, module type, requirements) about the modular components of Moodle, including those created by third parties.
You could use the database module to:
- allow collaboration on building a collection of web links/books/journal references related to a particular subject
- display student created photos/posters/websites/poems for peer comment and review
- gather comments and votes on a shortlist of potential logos/mascot names/project ideas
- provide a student file storage area
- Glossary module, which performs a similar though more specialised, text-based role and is also available for previous versions of Moodle.
- a screencast introducing the Database Module and walking through creating a database