Namespaces"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(New page: (Draft) The entire V3 core code (and most of its plugins) we'll be running inside a single reference object, the ROOT namespace. Currently this objects is named '''V3''', to be renamed as...)
 
(Set the namespace name to CKEDITOR.)
 
Line 1: Line 1:
(Draft)
+
The entire CKEditor core code (and most of its plugins) we'll be running inside a single reference object, the '''CKEDITOR''' namespace.This object will be available in the page running the editor, and no other variables will be defined in the page by our code.<br>
  
The entire V3 core code (and most of its plugins) we'll be running inside a single reference object, the ROOT namespace. Currently this objects is named '''V3''', to be renamed as soon as the project name gets resolved.
+
Inside the core code, the CKEDITOR namespace will be then fragmented in further namespaces, which will group the code resources in specialized blocks. Some examples are '''CKEDITOR.dom''', '''CKEDITOR.env''' and '''CKEDITOR.ui'''.  
  
Inside the core code, the V3 namespace will be then fragmented in further namespaces, which will group the code resources in specialized blocks. Some examples are '''V3.dom''', '''V3.env''' and '''V3.ui'''.
+
Namespaces will mainly hold objects and classes, but it is also allowed to have properties and functions on it. For example, '''CKEDITOR.env.ie '''returns a Boolean value, while '''CKEDITOR.dom.document''' points to a class
 
 
Namespaces will mainly hold objects and classes, but it is also allowed to have properties and functions on it. For example, '''V3.env.ie'''returns the Internet Explorer version, while '''V3.dom.Document''' points to a class.
 

Latest revision as of 12:37, 6 August 2008

The entire CKEditor core code (and most of its plugins) we'll be running inside a single reference object, the CKEDITOR namespace.This object will be available in the page running the editor, and no other variables will be defined in the page by our code.

Inside the core code, the CKEDITOR namespace will be then fragmented in further namespaces, which will group the code resources in specialized blocks. Some examples are CKEDITOR.dom, CKEDITOR.env and CKEDITOR.ui.

Namespaces will mainly hold objects and classes, but it is also allowed to have properties and functions on it. For example, CKEDITOR.env.ie returns a Boolean value, while CKEDITOR.dom.document points to a class

This page was last edited on 6 August 2008, at 12:37.