The Editor SDK is included with your Tools and Frameworks installation. It provides a framework for developing Experience Manager custom editors.
The Editor SDK is based on Oracle JavaScript Extension Toolkit (JET) and Knockout.
Oracle JET is a modular open source toolkit based on modern JavaScript, CSS and HTML design and development principles. Oracle Jet contains a collection of open source JavaScript libraries and Oracle-contributed JavaScript libraries that make it as simple as possible to build Experience Manager editors.
To learn more about Oracle JET, see http://www.oracle.com/webfolder/technetwork/jet/index.html.
Knockout is a JavaScript library that helps you to create editor user interfaces. It is based on the Model-View-ViewModel (MVVM) architecture pattern. Knockout provides data binding between your data model and the editor user interface. Changes to the data model are automatically reflected in the editor user interface and any changes to the editor user interface are automatically reflected to the data model.
To learn more about Knockout, see http://knockoutjs.com/.
The custom editors that you build using this SDK consist of the following components:
editor.js
, a Knockout view model that defines the business logic. This is where you extend the base Editor class and implement required life cycle methods.editor.html
, a HTML template that defines the editor user interface using Oracle JET components._.json
, a resource node definition file with anecr:type
ofeditor
. This file lets you register editors with the system by importingeditor.js
,editor.html
along with any configuration.