Managing Files in Moodle2

7,540 views

Published on

Published in: Education, Technology

Managing Files in Moodle2

  1. 1. Learning Systems<br />Managing FILES IN MOODLE<br />
  2. 2. Today<br />Why do we care?<br />How Moodle stores files<br />Moodle & “repositories”<br />Where to store / how to manage X<br />
  3. 3. Why care?<br />Effective learning<br />Saving time<br />Best tools for the job<br />Compliance<br />
  4. 4. What Moodle does with files<br />This is going to be mildly complex. <br />You will cope. <br />
  5. 5. What Moodle does with files<br />Moodle is a website<br />Sometimes you store files there<br /> Add a resource -> File<br />Sometimes you just store links<br /> Add a resource -> URL<br />
  6. 6. What Moodle does with files<br />If you add a File to Moodle:<br />Moodle can control things(permissions, show/hide, etc.)<br />Moodle can backup the resource with the site<br />
  7. 7. What Moodle does with files<br />Moodle has <br /><ul><li>a database
  8. 8. a file store</li></li></ul><li>What Moodle does with files<br />When you add a link to Moodle<br />… it gets stored in the database<br />
  9. 9. What Moodle does with files<br />When you add a file… <br />The file is placed in the file store, and its location in your site is stored in the database<br />
  10. 10. What Moodle does with files<br />When someone else adds the same file<br />The file isn’t stored againAnother location is recorded in the database<br />
  11. 11. Each use of that file can have different permissions etc.<br />That’s really cool<br />
  12. 12. What Moodle does with files<br />When an instance of a file is deleted<br />The location is deleted from the database<br />
  13. 13. What Moodle does with files<br />When all instances of a file have been deleted<br />A cleanup process removes the file from the file system<br />
  14. 14. Moodle repositories<br />Moodle 2 has a new type of plugin: repositories<br />It’s a simple way of getting files into Moodle from other systems. <br />
  15. 15. Why use a particular repo?<br />It’s where your stuff is (e.g. Dropbox, GoogleDocs)<br />It’s where someone’s sharing something(e.g. Flickr CC images, YouTube)<br />It helps make other things easier<br />eReserve: CAL reporting<br />une.tv: tools for managing audio & video, syndication<br />
  16. 16. Repo examples: link<br />GOOD<br />Change original (YouTube); change everywhere(link is just a link)<br />BAD<br />Delete original; break links everywhere<br />Repo has to serve files publicly(link is just a link)<br />
  17. 17. Repo examples: file (import)<br />GOOD<br />Delete original; we’re ok<br />Moodle provides access control<br />BAD<br />Change original;update nowhere<br />We might be storing for no reason<br />
  18. 18. What about “Shared Files”<br />(“Legacy course files”)<br />GOOD<br />Files are in Moodle<br />A splash of Moodle access control (linked to course/site)<br />BAD<br />Change original; maybe update where it’s used<br />Delete original; break links everywhere<br />No fine-grained access control<br />Moodle storage limits for massive files<br />Encourages storage of junk we never use<br />
  19. 19. The holy grail: import & sync<br />From http://docs.moodle.org/en/Repository_API (14-12-2010)<br />Once a repository has been used the file will usually be copied into Moodle there and then. However there will also be options to:<br />only return the URL to the file if it's desired to keep it external (but this does present security and integrity risks), or<br />refresh the local file copy regularly and automatically<br />refresh the file manually if desired<br />Once in Moodle, it is subject to the Development:File API for access control like any other file.<br />GREEN = not actually built<br />
  20. 20. The holy grail: import & sync<br />GOOD<br />Change once;update everywhere<br />Moodle provides access control<br />BAD<br />Doesn’t solve the file storage issue (files ARE imported)<br />Doesn’t yet exist<br />
  21. 21. So where do I put… ?<br />* Perhaps importing (and syncing) from a new repo at a later date?<br />
  22. 22. Q. When should I use Shared Files?<br />Less often than you think!<br />A. If multiple (link) resources will point to different parts of the same bucket of filesi.e. an HTML “mini-site”<br />Remember:<br />Shared files provide far less access control<br />Links to Shared Files aren’t magical – they can still be broken if the original disappears!<br />
  23. 23. What next?<br />Get into Moodle and do it!<br />

×