Category:Site

From ControlTier

Jump to: navigation, search

Icon-SiteObject.png The Site type organizes Services and represents a cohesive Business Service. Site provides a means to execute life cycle actions across a group of Services from a single point of control. Sites can nest other Sites. Sites can also be controlled via Updater during end-to-end build and deployment processes.

Contents

Reference

Core type model

Definition

Project XML

A Site can be registered in XML using the project.xml format. Here is an example.

File listing: site.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project PUBLIC "-//ControlTier Software Inc.//DTD Project Document 1.0//EN" 
    "project.dtd">
<project>
  <!--
      **
      ** Define the Site 
      **
  -->
  <deployment 
      type="Site"
      name="appTier" 
      description="The application server tier." 
      startuprank="1">
  </deployment>
</project>

You can load this XML file using the ProjectBuilder load-objects command like so:

ctl -p project -m ProjectBuilder -c load-objects -- -filename site.xml

1.2 Querying

Use the ProjectBuilder find-objects command to list all "Site" instances:

 $ ctl -p demo -m ProjectBuilder -c find-objects -- -type Site
 |
 |--(Site) appTier

Icon-large-SiteObject.png For a graphical alternative, you can use the Graphical resource editor and view the sites there.

Go to the Site list. You will see it list all sites.


Subcategories

This category has only the following subcategory.

S

Pages in category "Site"

The following 4 pages are in this category, out of 4 total.

A

M

S

Personal tools
Namespaces
Variants
Actions
Navigation
Communication
Development
Toolbox
Print/export