Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Moodle E-Learning Course Development - Third Edition: RAW

You're reading from   Moodle E-Learning Course Development - Third Edition: RAW A complete guide to create and develop engaging e-learning courses with Moodle

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781782163343
Length 404 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Susan Smith Nash Susan Smith Nash
Author Profile Icon Susan Smith Nash
Susan Smith Nash
William Rice William Rice
Author Profile Icon William Rice
William Rice
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. A Guided Tour of Moodle FREE CHAPTER 2. Installing Moodle 3. Configuring Your Site 4. Creating Categories and Courses 5. Resources, Activities, and Conditional Access 6. Adding Resources 7. Adding Assignments, Lessons, Feedback, and Choices 8. Evaluating Students with Quizzes 9. Getting Social with Chats and Forums 10. Collaborating with Wikis and Glossaries 11. Running a Workshop 12. Groups and Cohorts 13. Extending Your Course by Adding Blocks 14. Features for Teachers Index

The Moodle architecture

Moodle runs on any web server that supports the PHP programming language and a database. It works best, and there is more support, when running on the Apache web server with a MySQL database. These requirements—Apache, PHP, and MySQL—are common to almost all commercial web hosts, even the lowest-cost ones.

The Moodle learning management system resides in three places on your web host:

  • The application occupies one directory, with many subdirectories for the various modules
  • Data files that the students and teachers upload—such as photos and assignments submitted by students—reside in the Moodle data directory
  • Course material that you create with Moodle (web pages, quizzes, workshops, lessons, and so on), grades, user information, and user logs reside in the Moodle database

The Moodle application directory

The following screenshot shows you my Moodle application directory. Without even knowing much about Moodle, you can guess the function of several of the directories. For example, the admin directory holds the PHP code that creates the administrative pages, the lang directory holds translations of the Moodle interface, and the mod directory holds the various modules:

The Moodle application directory

The index.php file is the Moodle home page. If a student was browsing my Moodle site, the first page that the student would read is the file http://moodle.williamrice.com/index.php.

On my site, the free course Basic Botany for Foragers happens to be course number 4. Only the Moodle system knows it as course number 4; we know it as Basic Botany for Foragers. When a student enters that course, the URL in the student's browser reads http://moodle.williamrice.com/moodle/course/view.php?id=4. In the preceding screenshot, you can see that /course is one of the directories in my Moodle installation. As the user navigates around the site, different .php pages do the work of presenting information.

Because each of Moodle's core components and modules is in its own subdirectory, the software can be easily updated by replacing the old files with new ones. You should periodically check the https://www.moodle.org website for news about updates and bug fixes.

The Moodle data directory

Moodle stores the files uploaded by the users in a data directory. This directory should not be accessible to the general public over the web. That is, you should not be able to type in the URL for this directory and access it using a web browser. You can protect it either by using an .htaccess file or by placing the directory outside of the web server's documents directory.

The preceding screenshot shows you that in my installation, the web document directory for moodle.williamrice.com is /www/moodle. Therefore, I placed the data directory outside /www/moodle, in /www/moodledata_for_moodle.williamrice.com, as seen in the following screenshot:

The Moodle data directory

On my server, the directory /www/moodledata corresponds to the subdomain www.moodledata.williamrice.com. This subdomain is protected from open access by a .htaccess file. The directory /www/www corresponds to the root domain, www.williamrice.com.

The Moodle database

While the Moodle data directory stores the files uploaded by students, the Moodle database stores most of the information in your Moodle site. The database stores objects that you create using Moodle. For example, Moodle enables you to create web pages for your courses. The actual HTML code for these web pages is stored in the database. Links that you add to a course, the settings, the content of forums and wikis, and quizzes created with Moodle, are all examples of data stored in the Moodle database.

The three parts of Moodle—the application, data directory, and database, work together to create your learning site. Backup and disaster recovery are an obvious application of this knowledge. However, knowing how the three parts work together is also helpful when upgrading, troubleshooting, and moving your site between servers.

You have been reading a chapter from
Moodle E-Learning Course Development - Third Edition: RAW
Published in: Jun 2015
Publisher:
ISBN-13: 9781782163343
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image