05.03.2013 Views

User Guide - NetObjects Fusion

User Guide - NetObjects Fusion

User Guide - NetObjects Fusion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Connecting to the Database<br />

764<br />

Using Tables for Object Placement<br />

Certain database objects must be added or placed in the correct order for the code to<br />

be generated correctly. For example, when using a Recordset Iterator object, the<br />

“Start” iterator object must be placed before the “end” iterator object. Otherwise,<br />

the site will publish with errors and the database will not be functional.<br />

It is recommended that when using recordset iterator and/or conditional objects, a<br />

table is used to make sure placement is correct and the records will be aligned<br />

correctly when displayed.<br />

While using tables is not required, the examples in this guide include tables when<br />

using iterators or conditional statements with data-output objects. Connector,<br />

insert, delete, and update objects can be placed anywhere on the page.<br />

Connecting to the Database<br />

In order for the NOF Database Components to function properly, a connection must<br />

be established between the components on the page and the database containing the<br />

data. A Connector object is used to allow your page to communicate with the<br />

database. Though the Connector is a vital part of the database features of<br />

<strong>NetObjects</strong> <strong>Fusion</strong>, the Connector will not be visible in your published site. It is<br />

merely present to allow your page to communicate with your database.<br />

There are two types of connections: Data Source Name (DSN) and Custom.<br />

You can create connection settings that apply to individual publishing profiles. For<br />

example, you want to check the functionality of your site locally, and then publish

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!