English English Spanish EspañolKorea한국어
Previous Page: Overview Folder: Developing With ZoomFlex Next Page: Overview

Overview

To work with the ZoomFlex server side framework you use the ShadoCMS object framework. Click here to view the ShadoCMS object framework documentation.

The service side framework used in ShadoCMS is refered to as the SOF (Shado Object Framework), a more intuitive name for developers might be the Shado ORM (object relation mapping) framework as this is actually what the system does. 

The Basics 

When you create a server side object in the ShadoCMS IDE it creates a  ColdFusion component to interact with the object and also the required database tables and XML Configuration files. The CFC and XML config files will be created in [sitename]/app_templates/objects/[package]/[classname].cfc 

The CFC will extend the core Shado Object [shadomx.core.objects.shadoobject] which will give you all your CRUD and a large number of other functions. To call a SOF object you would use the following code. 

 <cfset oMyObj = createobject("component","[sitename].app_templates.objects.[package].[classname]").init()>

<cfset qMyobj = oMyObj.getObjects()>

The code above would product a query containing all the instances of the Class.

 

 

 

 


Comments

There are no comments for this page as yet.

Add a comment