Internals of Oak

To understand the behavior of the Oak Component, you need to understand its superclasses and some auxiliar classes. See the Class Diagram (updated in version 1.4, so it is out-of-date. see changelog)

Oak::Object

This is the superclass of every object in Oak. It implements the constructor, implements properties with the get and set methods.

Oak::Persistent

This class implements persistancy to the objects. To do this it uses the Filer Objects, a Oak::Persistent subclass can save it's properties.

Oak::Filer

Descendant of Oak::Object, this is an abstract class that implements dummy load and store functions.

Oak::Filer::Component

This is the filer that manages the XML of the component file, it knows how to save and load the data of the main component and the data of the owned components.

Oak::Component

The Oak::Component is the base class for all components in Oak. When you create a top-level component, it load its XML file using the Oak::Filer::Component, and then create all its owned components. In addition to Oak::Persistent, Oak::Component subclasses can own other components and can handle events. All components has the ev_onCreate event.

RoadMap

Version 2.0

Some day (not priorized)

Changelog

Version 1.6

Version 1.5

Version 1.4-4

Version 1.4-3

Version 1.4-2

Version 1.4-1

Version 1.4

Version 1.3-r2

Version 1.3-r1

Version 1.3

Version 1.2

Version 1.1

Version 1.0