Cómo añadir información

Creating Components

    Tabla de contenidos
    No headers

    Infrastructure Studio comes with a set of components that meet many customer’s needs, but may not meet the needs of advanced developers. This is a brief overview of components. For more detailed examples see Flexible Web Layouts Examples.

    Components are of two types: containers and widgets. Menus, toolbars, and splitter bars are containers, and are used to hold other components. Widgets are functional pieces, usually self-contained. For example, the map is a widget, as are items like the selection panel and the measure tool.

    Widgets require additional files that define what the widget does. Depending on the function of the widget, it may require some or all of the following files:

    • JavaScript file with code to initialize and operate the widget
    • XML file for use by Infrastructure Studio, describing the widget and any parameters it may require
    • Additional JavaScript code in other files, such as index.html for the template. See Example 3: Dialogs and Events for an example.
    • PHP files to implement functionality on the web tier. See Example 4: Updating the Repository for an example.