To continue with this content, please log in with your Data Access ID or create a new account.
Cancel Data Access ID
You may not be authorized to see this content. Please contact Data Access Europe for more information.
Cancel Data Access Europe
You are not authorized to see this content.
Cancel Data Access Europe
Next lesson:
Step 1: Create a container
Cancel

Advanced Dynamic Objects

Dynamic Objects Workflow

Generally, the same workflow is always used when creating an application with dynamic objects. This lesson discusses all of the steps in the workflow and why the exist. Over time, some of the steps may become redundant or were completed during earlier steps. Nevertheless, it is recommended to follow this workflow to ensure that common mistakes are avoided during the early of development.

  1. Step One - Create an instance of the dynamic container class: Dynamic objects must always be placed inside a dynamic container object. This dynamic container is an instance of the cWebDynamicObjectContainer class. 
  2. Step Two - Defining an object-specific behavior for dynamic objects: object-specific behaviors, such as procedures, functions and event handling, are essentially how an object in an application should behave and interact with other objects. 
  3. Step Three - Creation Phase: in this phase, the initial set of dynamic objects are added to the container. The container automatically displays all objects when it is activated. This step is optional, because the container can remain empty. 
  4. Step Four - Activation Phase: activate the container. This short step marks the end of the creation phase, signaling to the client that all objects are registered, rendered and displayed.
  5. Step Five - Modification Phase: the final step. This phase is the end-state of the container. It always remains in this phase, unless otherwise specified. During the modification phase, new dynamic objects can be inserted or exiting ones can be modified.