Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37675

Re: Events vs. function calls in Moodle Core development

$
0
0
Rex Lorenzo mukaan.  

I would like even more events added to Moodle so that other plugin developers can better tie into Moodle. For example, we are adding a grade_grade_updated and grade_item_updated events that the activity completion component should be using, rather than inserting itself into the gradebook directly.

But that is a core hack we needed to do. With the Logging improvements spec that was developed at the Hackfest, it is proposing to use the events api to replace the add_to_log method calls. So any work you can do with tying into the events api can only help later down the road.


Viewing all articles
Browse latest Browse all 37675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>