Making a Database in Moodle

For those of us who are not tech-savvy, the idea of making a database can sound very intimidating. However, a database is not as mysterious or difficult to create as you may think.

A database is strictly is just an organized way of collecting and storing records. If you ever made a list of your CD or book collection this is in many ways a highly simplified database.

Moodle allows a teacher to create a database to allow students to upload and or share information for whatever purpose. The secret to developing a database is to know what information you want it to store. After this, you just select the fields in Moodle to complete the database.

This post will explain how to develop a database in Moodle based on particular needs. We will make a database that stores information about Asian food.

  1. After logging into Moodle you need to turn editing on, click “add resources” and select database. As shown in the picture below.

Screenshot from 2016-09-14 09:10:35.png 2. After clicking “add”, you need to give the database a name and if you want, a description. The options are mostly familiar except for “entries”. The “entries”” options allows you to control when an entry is viewable. Below is a picture of the database.

Screenshot from 2016-09-14 09:15:31.png

3. After clicking “save and display” you will be taken to the next page where you add the fields you want. The fields are simply the different forms of information you want the database to store. There are 12 of them  as listed below and next to each is a description of how we will use them in the example

  • Date-Date you tried the food
  • Text input-Name of Asian food
  • Picture-Picture of Asian food
  • Menu-Meal when the food was eaten
  • Number-Rate the level of spiciness
  • Multi-menu-Who eats the food
  • Checkbox-Where is the food prepared at
  • Radio button-Recommendation of the food
  • Text area-Comments about the food
  • file-Upload recipe
  • URL-Website about the food
  • Latlong-Location of where the food was eaten

Screenshot from 2016-09-14 09:18:09.png

We will now use all twelve in making  a database

4. First, we will create a date field so the student can indicate when they tried the food. To do this click on the drop down box to add a new field . Type in the information and click “add”.

Screenshot from 2016-09-14 09:29:52.png

5.We will now make a text input. This is a single line of space for inputting text. In this field, the students will be able to put the name of the Asian food. There are also two options for making this field required and to autolink it throughout the course. Below is a visual

Screenshot from 2016-09-14 09:22:25.png

6. The picture field allows the students to upload a picture. For us, we want to be able to see the food that the students eat. You can set the options if you desire for the size of the picture

screenshot-from-2016-09-14-093454

7. We will now create a menu field. This field will allow the student to indicate one of several options. For our example, the student will select if the meal was for breakfast, lunch, or dinner. In the options, you must put one choice per line

Screenshot from 2016-09-14 09:38:15.png

8. We will use the number field to indicate the level of spiciness of the food

screenshot-from-2016-09-14-094130

9. The multimenu allows you to select several options at once. For our example, we want to know who eats this type of food foreigner, local, or both.

Screenshot from 2016-09-14 09:46:24.png

10. The checkbox field allows for multiple choices to be selected. For our example, we want to know where the food is prepared.

Screenshot from 2016-09-14 09:51:48.png

 

11. The radio button allows a person to make a single choice. For example, we want the students recommendation about the food

Screenshot from 2016-09-14 09:56:29.png

12. The text area allows for anything to be added. It is also possible to determine the size of this box. For us, we want to allow the student to share additional comments about the food.

Screenshot from 2016-09-14 09:59:48.png

13. The file field allows for attachments. We are going to have the students upload the recipe of the food.

Screenshot from 2016-09-14 10:04:11.png

14. The url field allows for a link. For the example, the students will put a website that explains more about the food

Screenshot from 2016-09-14 10:13:35.png

15. Lastly, the Latlong field allows for the inclusion of location. You have to indicate the external map services you want to use. For our example, we are asking for the location where the student ate the food.

screenshot-from-2016-09-14-101457

16. After completing the various fields, you need to click on “templates’ in order to set the template.

Screenshot from 2016-09-14 10:19:05.png

Below are two more pictures, the first picture shows what an empty entry looks like. This can be accessed by clicking on “add entry”. The second picture is a picture of a completed entry. This can be seen be clicking on “view single”

Screenshot from 2016-09-14 10:20:42.png

Screenshot from 2016-09-14 10:22:38.png

Conclusion

This post explain how to create databases in Moodle. All that is required is an idea of what exactly you want the students to input. From there, clicking on several different fields is not to complicated for any teacher. The benefit of the database is that it is a highly structured way of collecting data. This is useful for students who require a greater degree of support.

2 thoughts on “Making a Database in Moodle

  1. Pingback: Making a Database in Moodle | Education and Res...

Leave a Reply