decorative banner

Step 9: Add content sources to pages and bind page elements to content source fields


    Now you connect page elements to the dynamic information. A content source is an object placed on a page that represents information from a database or other data source. The content source for a database identifies the database, table, sort order, and query information. Each content source may return zero, one, or many records.

    Each dynamic page can have any number of content sources.

    Text, images, form fields, and other elements on the page can be connected to or bound to fields of content sources. When the page is served, the bound elements have their content replaced with the data from the content source. There are many variations on how this replacement occurs and how the incoming data is formatted or otherwise handled.

    URL links and form submit buttons can also be set up to perform special actions when they are activated by the viewer. For example, form submit buttons can be set up to add a record to a database table or to update an existing record.