Blocks: My ToDo list
block_todo
Maintained by
David Mudrák
Simple plugin implementing a personal ToDo list on the user's Moodle dashboard.
271 sites
70 downloads
26 fans
Usage
- The block can be added on the user's Dashboard page only. It has been designed like that on purpose, please do not report requirement to make this block available at other places. The reason is that with multiple instances, users might assume separate lists in each block. But there is a single list for each user.
- Users can add todo items, delete them and/or mark them as done. Rewording the existing item is not supported (if you need it, create a new item and delete the old one).
Implementation
Apart from being quite useful per se, the main purpose of this plugin is to demonstrate usage of advanced coding techniques available in recent Moodle versions. Most notably:
- Rendering HTML output via Mustache templates
- AJAX based workflow of the elementary CRUD operations.
- Organising JS into AMD modules.
- Organising external functions into traits.
- Low-level access to the database via persistent models.
- Using exporters for handling the data structures in rendering and AJAX.
Useful links
Contributors
David Mudrák (Lead maintainer)
Please login to view contributors details and/or to contact them
Comments