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="http://www.learningcomponents.com/libs/component.js"></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.
Player.register({
	"icon" : "http://www.learningcomponents.com/components/calculator/icon.png",
	"name" : "Basic Calculator",
	"description" : "Description Here...",
	"url" : "http://www.learningcomponents.com/components/calculator/calculator.html",
	"author" : "Per Anderson",
	"organization" : "Learning Components, Inc.",
	"tags" : "calculator addition subtraction multiply divide math",
	"activities" : [
		{
			"icon" : "http://www.learningcomponents.com/components/calculator/icon.png",
			"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" : "http://www.learningcomponents.com/components/calculator/calculator.html",
			"timelimit" :10,
			"equation" : "2+2=4",
			"editors" : {
				"equation" : "http://www.learningcomponents.com/components/calculator/editor.html"
			}
		}
	]
});

// 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...
});
</script>

See the example Calculator Component under Examples and Links.