At the core of the Learning Components Platform are a handful of javascript files that act as wrappers for your web applications to interface with the Learning Components Sequencer, Player and Dashboard. There are three javascript files: component.js, editor.js and monitor.js. Including one of these library files in your html document makes your web application recognizable by the Learning Components Platform as a component, an editor for a property within a component or as a monitor to be displayed in the dashboard. Component Example:

<script type="text/javascript" src=""></script>
<script language="text/javascript">

// Register your component instance and it's activities with the Player.
// If your component is loaded by itself outside of a sequence, each of your 
// activity instance will be loaded as if part of a sequence for testing.
	"icon" : "",
	"name" : "Basic Calculator",
	"description" : "Description Here...",
	"url" : "",
	"author" : "Per Anderson",
	"organization" : "Learning Components, Inc.",
	"tags" : "calculator addition subtraction multiply divide math",
	"activities" : [
			"icon" : "",
			"name" : "Calculate Activity",
			"description" : "Teach learners to use a basic calculator.",
			"instructions" : "Add two and two together. You have ten seconds to complete the activity.",
			"component" : "",
			"timelimit" :10,
			"equation" : "2+2=4",
			"editors" : {
				"equation" : ""

// Set the ready callback function.
// This function will be called by the Player
// once this component has loaded.
// The Player will pass in an activity instance.
Player.ready(function(instance) {
	currentActivity = instance;
        // initialize your component for this activity...

See the example Calculator Component under Examples and Links.