Open edX XBlock Tutorial
latest
  • 1. General Information
  • 2. XBlock Overview
  • 3. Build an XBlock: Quick Start
  • 4. Anatomy of an XBlock
  • 5. Customize Your XBlock
  • 6. XBlock Concepts
    • 6.1. XBlock Fields
    • 6.2. XBlock Methods
    • 6.3. XBlock Fragments
    • 6.4. XBlock Children
    • 6.5. XBlock Runtimes
    • 6.6. XBlocks, Events, and Grading
  • 7. XBlocks and the edX Platform
  • 8. Glossary
  • Using XBlock Software Development Kit
Open edX XBlock Tutorial
  • Docs »
  • 6. XBlock Concepts
  • Edit on GitHub

6. XBlock ConceptsΒΆ

You build XBlocks that course teams use to create independent course components that work seamlessly with other components in an online course. For example, you can build XBlocks to represent individual problems, lessons, or course sections. For more information, see Introduction to XBlocks.

This part of the tutorial provides conceptual information about XBlocks that all XBlock developers must understand.

  • 6.1. XBlock Fields
    • 6.1.1. XBlock Fields and State
    • 6.1.2. Field Scope
    • 6.1.3. Fields and Data Storage
    • 6.1.4. Initializing Fields
    • 6.1.5. Fields and OLX
    • 6.1.6. Field Requirements in the edX Platform
    • 6.1.7. Default Fields in a New XBlock
  • 6.2. XBlock Methods
    • 6.2.1. View Methods
    • 6.2.2. Handler Methods
    • 6.2.3. Default Methods in a New XBlock
  • 6.3. XBlock Fragments
    • 6.3.1. Fragment Contents
    • 6.3.2. Fragments and XBlock Children
    • 6.3.3. Fragments and Views
  • 6.4. XBlock Children
    • 6.4.1. XBlock Tree Structure
    • 6.4.2. Accessing Children (Server-Side)
    • 6.4.3. Accessing Children (Client-Side)
  • 6.5. XBlock Runtimes
    • 6.5.1. Runtime Functions
    • 6.5.2. Extending XBlocks
    • 6.5.3. JavaScript Runtimes
    • 6.5.4. XBlock Runtime API
    • 6.5.5. Rendering XBlocks with the XBlock URL
  • 6.6. XBlocks, Events, and Grading
    • 6.6.1. When an XBlock Should Emit Events
    • 6.6.2. Publish Events in Handler Methods
    • 6.6.3. Publish Grade Events
Next Previous

© Copyright 2018, edX Inc.. Revision 09c896f4.

Built with Sphinx using a theme provided by Read the Docs.