Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Czech Hackfest 2009 notes

From MoodleDocs
Revision as of 17:05, 8 December 2009 by Helen Foster (talk | contribs) (Moodle 2.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hackfest participants, if anything we discussed has been been missed out, please edit the page and add it!


Moodle 2.0

DB stuff

  • New development area in admin menu, new feature in db layer - db session
  • Use db for session information setting (on by default)
  • things which really need testing - sessions, large scale
  • migrating data from one db to another db server
  • development > experimental > database transfer
  • development > experimental > database export
  • to learn sql write stats code, write unit test to check if sql is correct
  • DML functions

Plugins

  • Every plugin should have support for install, upgrade, access etc
  • Complete list of plugin locations available
  • previously stuff was hardcoded, now cleaned up
  • to do: work on lang pack part

File API

  • previously teachers moving, renaming files and linking them from everywhere e.g. backup and restore includes all course and site files just in case
  • can be lots of files in course files not used at all, people upload new version, same file put in lots of courses
  • 2 character directory names
  • things which really need testing - copying of files during upgrade
  • need to warn admins in upgrade notes
  • no longer course files for teachers
  • in 2.0 file link will contain lots of info - path, file name
  • if teacher uploads new version of file, students immediately see new version
  • re draft files, previously editing files in place, no undo, when editing set of files copy of old files made, copied to draft area, after editing click save then option to submit or cancel / discard
  • no direct editing of files, done in separate area, instead of using course files, use file picker, save rubbish elsewhere
  • missing piece - management of personal files
  • interface needs optimizing
  • not yet done: quotas
  • editing activity content section ajaxy

Navigation

  • Needs to be a block
  • 2 dimensions - context (site, course, activities) and page type (course-view, mod-quiz-view etc)
  • moodle theme changes, base class, page class
  • mod/quiz/lang - lang file in plugin folder (same for core and contrib)
  • mod/quiz/theme - theme file in plugin folder (same for core and contrib)
  • base theme as simple as possible, install theme will be different - nice-looking theme
  • no more standard red, blue etc, config options to change colours instead, easier to customize
  • 2.0 themes should have much better performance
  • should be easy to install new icon sets e.g. tango
  • sam going to convert/redevelop one theme for 2.0 then patrick to develop 20

Web services