Giter VIP home page Giter VIP logo

edx-undocumented's Introduction

EdX's Undocumented Features

The wiki is where things are described and discussed. The files in this repo are for examples that take advantage of things described in the wiki.

This is NOT for documenting edX. EdX already has good documentation, and you should definitely check out the official edX docs and the new edX Developer Docs.

edx-undocumented's People

Contributors

colin-fredericks avatar

Stargazers

Jonathan Davidson avatar Jeff Witt avatar  avatar Marija Naumoski avatar Peng Wang avatar

Watchers

Peter Pinch avatar James Cloos avatar Zachary A. Pardos avatar  avatar Saif Rayyan avatar

edx-undocumented's Issues

Log event naming convention (MITx DLL)

In case it's helpful, here's a suggestion I sent to MIT's Digital Learning Lab some time back (modified to remove project-specific details):


I've been working on a project which requires custom tracking-log events and found the following guidance on event names in the edX developer guide:

Event names are intended to be formatted as . separated strings and help processing of related events. The structure is intended to be namespace.object.action. The namespace is intended to be a . separated string that helps identify the source of events and prevent events with similar or identical objects and actions from being confused with one another. The object is intended to be a noun describing the object that was acted on. The action is intended to be a past tense verb describing what happened.

Examples:

  • edx.course.enrollment.activated
    • Namespace: edx
    • Object: course.enrollment
    • Action: activated

Per that advice, what do folks think of settling on "mitx.dll" as a namespace for DLL experimental/research events, followed by the name of the project/tool? For example, here are the events I'm logging in the latest version of my "supercool" project:

  • mitx.dll.supercool.loaded - logged when the script is loaded
  • mitx.dll.supercool.error - logged when the script catches an internal error
  • mitx.dll.supercool.cool_item.transformed - logged after the script transforms the cool_item

To avoid naming collisions, we could maintain a shared spreadsheet of the different project names in use... that way nobody accidentally names their events mitx.dll.supercool.* for example. I'd be glad to coordinate the effort if people think it's a good idea!


Feel free to co-opt all or part of this for the wiki page on logging events.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.