Difference between revisions of "ADF Core"

From ADF Docs
Jump to: navigation, search
(Created page with '== Overview == Directory for the core components that implement the lightwire object factory. == Components == * Core.cfc - Initialization component for the ADF. This code crea…')
 
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
Directory for the core components that implement the lightwire object factory.
+
Directory for the core components that implement the LightWire object factory.
 +
 
 +
== Lightwire ==
 +
* [[ADF_Core_Bean_Config|Bean Config]] - Component that configures the object factory at the Server space. 
 +
* [[ADF_Core_Site_Bean_Config|Site Bean Config]] - Component configures the object factory at the site into Application space.
 +
* [[ADF_Core_LightWire_Config_Extended_Base|LightWire Config Extended Base]] - Component is extended from the [[Core Bean Config|Core Bean Config]] and provides automation functions for configuring the factory.
  
 
== Components ==
 
== Components ==
* Core.cfc - Initialization component for the ADFThis code creates the factory object into server space.  The configuration of the object factory is controlled through the [[ADF:Core Bean Config|Core Bean Config]]
+
* [[ADF_Core_App_Base|App Base]] - Application base component.  Extends the [[ADF_Core_Base|Base]] component and is extended by the ADF application App components. Provides a layer between the ADF and the ADF application.
  <cfscript>
+
* [[ADF_Core_Base|Base]] - Root base component for the ADF.  Extended by the [[ADF_Core_App_Base|App Base]] and [[ADF_Core_Site_Base|Site Base]] to perform operations with the object factory.
    server.ADF = StructNew();
+
* [[ADF_Core_Config|Config]] - Functions for returning the site configurations through XML files and custom elements.  
    server.ADF.dependencyStruct = StructNew();
+
* [[ADF_Core_Core|Core]] - Initialization component for the ADF. This component loads the object factory into server space. The configuration of the object factory is controlled through the [[Core Bean Config|Core Bean Config]].
    // Build object factory
+
* [[ADF_Core_Site_Base|Site Base]] - Site base component.  Extends the [[ADF_Core_Base|Base]] component and is implemented to load the ADF into the site application space.
    server.ADF.beanConfig = createObject("component","ADF.core.lightwire.BeanConfig").init();
 
    server.ADF.objectFactory = StructNew();
 
    server.ADF.objectFactory = createObject("component","ADF.thirdParty.lightwire.LightWire").init(server.ADF.beanConfig);
 
    // Build the environment variables
 
    configEnvironment();
 
  </cfscript>
 
* Base.cfc - Root base component for the ADF.  Extended by the AppBase component (AppBase.cfc) to perform get operations for a factory object.
 
* AppBase.cfc - Application base component. Extends the Base component and is extended by the custom application App components. Provides a layer between the ADF and the custom application.
 
 
 
== Lightwire ==
 
* BeanConfig.cfc - [[ADF:Core Bean Config|Core Bean Config]] component that configures the factory object.
 
* LightWireConfigExtendedBase.cfc - [[ADF:Lightwire Config Extended Base|Lightwire Config Extended Base]] component is extended from the [[ADF:Core Bean Config|Core Bean Config]] and provides automation functions for configuring the factory.
 
  
== Factory Object Configuration ==
 
The ADF core initialization is controlled through the [[ADF:Core|Core]].  This component loads the object factory into server space.
 
  
The ADF factory objects are configured through the [[ADF:Core Bean Config|Core Bean Config]].
+
[[Category:Core]]

Latest revision as of 15:42, 24 March 2010

Overview

Directory for the core components that implement the LightWire object factory.

Lightwire

Components

  • App Base - Application base component. Extends the Base component and is extended by the ADF application App components. Provides a layer between the ADF and the ADF application.
  • Base - Root base component for the ADF. Extended by the App Base and Site Base to perform operations with the object factory.
  • Config - Functions for returning the site configurations through XML files and custom elements.
  • Core - Initialization component for the ADF. This component loads the object factory into server space. The configuration of the object factory is controlled through the Core Bean Config.
  • Site Base - Site base component. Extends the Base component and is implemented to load the ADF into the site application space.