Translations of this page:

User Tools

Site Tools


en:moodle:activities:database:start

Database

In a database, data from students and teachers can be stored in a structured and systematically efficient way. Content with the associated data is stored in a similar way to a table. Databases allow systematic searching and the assignment and classification of files, data and content.

Note: When adding entries via the Moodle app, you may be in offline mode. A corresponding note will appear in the browser. Without confirmation of the synchronization the database entry will not be saved!

Examples of Moodle database applications

  • Collaboratively create a digital archive or collection of diverse materials (e.g., literature or image collection)
  • Provide participants with an upload option (in addition to the Forum, Glossary or Assignment activity)
  • Have images, photos, logos, text, websites, etc. commented

Create database

Step 1: Create a new database

Switch on edit mode > Add an activity or resource > Database

A form with setting options for the database appears. Give your database a name and describe the contents. The other settings can be kept for the time being.

Step 2: Apply templates

You can configure the data fields yourself. The input mask, the list view and the single view can look clearer and more attractive if they are designed with HTML. It is easier to take a pre-made template with fields and designed interface from templates that other Moodle users have created. Click on the “Presets” tab and select a template in the “Import” section. You will find templates for an image gallery and a literature database as well as a variety of templates provided by your colleagues.

Instructions on how to create your own templates can be found in the general Moodle documentation on Building Database, moodle.org.

Step 3: Filling the database.

After you have created the database, click on the “Add Entry” tab.

Export database entries

If you want to reuse the database content in another course or share it with other users, you can export the database entries to a file.

Exporting entries, moodle.org

en/moodle/activities/database/start.txt · Last modified: 2024/03/25 14:02 by maziyar