Meta

Date: April 27, 2022 at 2:00pm, Room -115

Speaker: Felipe Montoya

Intro

https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0050-hooks-extension-framework.html

https://github.com/openedx/openedx-events

https://github.com/openedx/openedx-filters

Blended project led by edunext with edX as a collaborator.

Nutmeg will have the full implementation.

Hooks are a stable list of places in the life cycle of the learners and authors where externally defined functions can take place.

Example: Start > Register > Enroll > Learn > Certificate. Hooks can happen immediately before and after each of the >s.

Depending on what’s expected from them, there are two types of hooks: events and filters.

Events:

Filters:

List of current event/filters

https://github.com/openedx/openedx-events/blob/main/openedx_events/learning/signals.py#L44-L53

https://github.com/openedx/openedx-filters/blob/main/openedx_filters/learning/filters.py (still under implementation)

Example

https://github.com/eduNEXT/openedx-filters-samples

How to create new events/filters