Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Student projects/AJAX course format.

Student projects/AJAX course format: Difference between revisions

From MoodleDocs
(Shifted to dev docs)
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Current Progress==
{{Moved_to_dev_docs}}
 
I am currently working on research and planning.
 
==Research and planning==
 
===Drag and Drop===
 
There has been some discussion on the forums about the want to use a RIA library, this would be a more elegant solution than homebrew but more research needs to be done as to wether one can be found that does not cause the same compatibility issues as Scriptaculous has been shown too by extending the built-in Array and Object classes.
 
====RIA's====
Several people have hacked RIA's,such as Scriptaculous, into their moodle installations to add functionality such as drag-and-drop. I am not wholey convinced that perminantly implimenting a preexisting RIA into moodle would be the cleanest and most extensible solution.
 
One of the major drawbacks of Scriptaculous in particular is that it uses the prototype object to extend javascripts built in Array object which can cause strange behaviors. As far as I know this has only caused problems with moodle's texteditor but having odd behavior exist at all is something that I would like to aviod.
 
====Custom Implimentation====
Due to the issues with the prototype library I feel that it would be better to create a custom drag-and-drop library to integrate into moodle. This would allow better control and would allow us to ensure compatibility with moodle's current codebase.
 
===Specifications===
 
====Other Links to spec discussions====
 
*[http://moodle.org/mod/forum/discuss.php?d=33778#186312 Forum discussion about an AJAX course layout system]
*[http://chameleon-theme.unodo.de/course/view.php?id=5 Current implimentation into Chameleon theme site] (Would need to be further integrated and extended)
*[http://moodle.org/mod/forum/discuss.php?d=40532 Forum discussion on AJAX in Moodle]
 
====Project suggestion====
 
From [[Student projects]]:
 
:''
AJAX course format
Background
 
The current course formats are designed to work on lower browsers and older technologies. They are highly compatible with browsers but can   
really slow down the course creation process.
Overview
 
Design a clean, extensible method for implementing a course format using AJAX. This may require development of a web service to service 
the Javascript front end.
Details
  1. It should be optional and accessible, so that it can drop back to the current interface on browsers that are incapable of dealing  with dynamic pages.
  2. Blocks can be dragged and dropped.
  3. Sections can be dragged and dropped, made hidden or visible.
  4. Activities and resources can be dragged and dropped, made hidden or visible, have the group status changed, etc.
Mentors: Martin Dougiamas and Urs Hunkler
Programmer: Edward Coyne''
 
[[Category:Developer]]
[[Category:Project]]

Latest revision as of 08:16, 22 June 2011

This development related page is now located in the Dev docs.

See the Student projects/AJAX course format page in the Dev docs.