Moodle

Speed up Moodle by Google Gear

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Won't Fix
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Performance
  • Labels:
    None

Description

Google Gear integration

Currently, Moodle loads a lot of javascript and css files to run, this causes many http connections, which could slow the web performance, one possible solution to solve this is using Google Gear to cache these files (including pictures) locally.

Google Gear LocalServer: http://code.google.com/apis/gears/api_localserver.html
Offline resources in Firefox: https://developer.mozilla.org/en/Offline_resources_in_Firefox

One successful case is wordpress turbo: http://www.teckitech.com/blogging/speed-up-wordpress-with-wordpress-turbo-google-gears/

There are more things we can do using Google Gear:

1. we can create toolkits for students/teacher to store notes or useful information locally
2. when Internet connection is broken, store assignments locally, when internet is active, upload assignments automatically.
3. Even more, we can create off-line moodle (however, I think it is too much for GOSC)

This might be a GSOC project.

Activity

Hide
Martín Langhoff added a comment -

A good part of what GG does has become part of the "HTML 5" standard. It's changed quite a bit in the process, but Firefox 3 and 3.1 implement good part of it.

GG and FF devs are recommending HTML5 as the right path (unless you need it Right Now and your users can be asked to install GG).

If possible, I'd target both

Show
Martín Langhoff added a comment - A good part of what GG does has become part of the "HTML 5" standard. It's changed quite a bit in the process, but Firefox 3 and 3.1 implement good part of it. GG and FF devs are recommending HTML5 as the right path (unless you need it Right Now and your users can be asked to install GG). If possible, I'd target both
Hide
Dongsheng Cai added a comment -

Thanks for following up, Martín.

We should take into consideration HTML5, we could create a proxy class in js to use GG or HTML 5 standard.

Show
Dongsheng Cai added a comment - Thanks for following up, Martín. We should take into consideration HTML5, we could create a proxy class in js to use GG or HTML 5 standard.
Hide
Helen Foster added a comment -

Dongsheng, thanks for your new feature suggestion, and Martín, thanks for your comments.

Google Gear integration forum discussion: http://moodle.org/mod/forum/discuss.php?d=118015

Show
Helen Foster added a comment - Dongsheng, thanks for your new feature suggestion, and Martín, thanks for your comments. Google Gear integration forum discussion: http://moodle.org/mod/forum/discuss.php?d=118015
Hide
Helen Foster added a comment -

This feature idea is now included in the list http://docs.moodle.org/en/Projects_for_new_developers

Show
Helen Foster added a comment - This feature idea is now included in the list http://docs.moodle.org/en/Projects_for_new_developers
Hide
Dongsheng Cai added a comment -

Thanks Helen

Show
Dongsheng Cai added a comment - Thanks Helen
Hide
Helen Foster added a comment -

Just come across another discussion:
OLPC and GG-based offline-moodle http://moodle.org/mod/forum/discuss.php?d=107920

Show
Helen Foster added a comment - Just come across another discussion: OLPC and GG-based offline-moodle http://moodle.org/mod/forum/discuss.php?d=107920
Hide
Dongsheng Cai added a comment -
Show
Dongsheng Cai added a comment - Alberto's working branch: http://github.com/ajv/Offline-Caching/tree/master
Hide
Anthony Borrow added a comment -

Dongsheng - Feel free to add me as a watcher to any issue you want me to look at. From your email, it sounds like the code is a patch. Ideally, what I like to do is to separate out the new files that could be treated like a plugin and the patch part being modifications to CORE code. Let me know how I can be of help. I would be happy to create some space in contrib/patches for the Gears code. Peace - Anthony

Show
Anthony Borrow added a comment - Dongsheng - Feel free to add me as a watcher to any issue you want me to look at. From your email, it sounds like the code is a patch. Ideally, what I like to do is to separate out the new files that could be treated like a plugin and the patch part being modifications to CORE code. Let me know how I can be of help. I would be happy to create some space in contrib/patches for the Gears code. Peace - Anthony
Hide
Dongsheng Cai added a comment -

Anthony, thanks, I will talk to Alberto today about the contrib cvs access

Cheers.

Show
Dongsheng Cai added a comment - Anthony, thanks, I will talk to Alberto today about the contrib cvs access Cheers.
Hide
Alberto J Varela added a comment -

Most of my files can be indeed treated as a plugin (location is lib/offline). The link provided by Dongsheng is my current and most updated code branch: http://github.com/ajv/Offline-Caching/tree/master. We will arrange how to patch the code that cannot be treated as a plugin.

Show
Alberto J Varela added a comment - Most of my files can be indeed treated as a plugin (location is lib/offline). The link provided by Dongsheng is my current and most updated code branch: http://github.com/ajv/Offline-Caching/tree/master. We will arrange how to patch the code that cannot be treated as a plugin.
Hide
Anthony Borrow added a comment -

Thanks Alberto - I really need a crash course on git but am working on some other projects (non-Moodle unfortunately) at the moment. Let me know how I can help out when you and Dongsheng are ready to add something to Moodle's CVS. Peace - Anthony

Show
Anthony Borrow added a comment - Thanks Alberto - I really need a crash course on git but am working on some other projects (non-Moodle unfortunately) at the moment. Let me know how I can help out when you and Dongsheng are ready to add something to Moodle's CVS. Peace - Anthony
Hide
Dongsheng Cai added a comment -

We should look at html5 now, or our moodle app.

Show
Dongsheng Cai added a comment - We should look at html5 now, or our moodle app.
Hide
Dan Marsden added a comment -

+1 to close this as won't fix - this was a cool project and I'm sure Alberto learnt a lot from the experience! - but unfortunately we chose the wrong tech

Google gears has been deprec and support is being pulled from Chrome too

HTML5 looks like it could bring a range of interesting features...

Show
Dan Marsden added a comment - +1 to close this as won't fix - this was a cool project and I'm sure Alberto learnt a lot from the experience! - but unfortunately we chose the wrong tech Google gears has been deprec and support is being pulled from Chrome too HTML5 looks like it could bring a range of interesting features...
Hide
Dongsheng Cai added a comment -

Closing...

Show
Dongsheng Cai added a comment - Closing...

People

Dates

  • Created:
    Updated:
    Resolved: