Work on moodle offline

Work on moodle offline

Vikram Vincent
Number of replies: 4
Hi,
I would like to create a plugin/module which would allow a user to create content offline and then push it back into the server. Something on the principle of CVS/SVN and only related to my course(s) as I do not want to download the contents of the entire server. I download the objects related to my course onto my mobile device and work on it(create an object like assignment, quiz..) and then when I get reconnected I synchronise the content with the server.
Are there any APIs I can look at which would serve this purpose? I see that there is an alternate approach mentioned here http://moodle.org/mod/forum/discuss.php?d=132721&parent=580283
How easy/tough would the implementation of this idea be?
Thanks.
평균 등급 : -
In reply to Vikram Vincent

Re: Work on moodle offline

Helen Foster
Core developers 사진 Documentation writers 사진 Moodle HQ 사진 Particularly helpful Moodlers 사진 Plugin developers 사진 Testers 사진 Translators 사진
Hi Vikram,

Have you checked out Alberto Varela's Google Gears integration, a Google Summer of Code project? Please see GSOC/2009 for spec, discussion, tracker issue, blog and test site links.
In reply to Helen Foster

Re: Work on moodle offline

Martín Langhoff
Concurred w Helen. Look at Alberto's project, the plan, notes and implementation.

Alberto's work is a good start on the right road 미소
In reply to Vikram Vincent

Re: Work on moodle offline

Matt Bury
Particularly helpful Moodlers 사진 Plugin developers 사진
Hi Vikram,

I'll just throw a couple of ideas to you and see if they're any help.

It would be quite simple to write a custom SQL editor so that you can write SQL files off-line or download and edit them on desktop software.

I'm currently working on an on-line Flash application, for the SWF Activity Module, that would allow course content developers to work on selected sets of data in a database. It should be more like using a customised version of Microsoft Excell than phpMyAdmin, i.e. no waiting for screen refreshes, and users will be able to edit a set of data and review it before committing it to the on-line database. They'll also be able to create new sets of data from existing ones just by creating a copy and then editing it as desired. Such an application can also store copies on users' hard drives in the form of SharedObjects (similar to browser cookies but more permanent and versatile). Hopefully, all these features can help to speed up course content development time.

An off-line version would be just as easy to write. AIR (Adobe integrated run-time) is the desktop version of Flash but it has read an write privileges on users' desktops, meaning that they can read and store SQL or XMLDB files there. So working entirely off-line would be possible.

Of course, Flash and AIR are not the only software platforms that can do this. Java's a good choice as is C++.

In the case of existing activity modules, like the Quiz Module, the quickest solution would be to install Moodle for Windows, develop content on there and then export it for your on-line version. I'm not sure if mobile devices can run servers though.