[Top] [Prev] [Next] [Bottom]

1 Introducing Tango 2000

About Tango 2000 and How It Works

Understanding Tango
Tango Components
Key Tango Concepts
What's New in Tango 2000
Using Tango Manuals
Getting Started Guide
User's Guide
Meta Tags and Configuration Variables
Tutorials
On-line Help
Tango at a Glance
Where To Go Next

Section I: Using Tango Editor

How to Use Tango Editor

2 Tango Editor Basics

Introducing the Tango Editor Interface and Tango Application Files

Tango Editor Interface Components
Contextual Menus
Properties Window
HTML Editing Window
<@INCLUDE> in HTML Editing Windows
Working With Multi-column Column Lists
The SQL Query Window
Finding and Replacing Text
Keyboard Shortcuts
Windows Menu Shortcuts
Expanding and Collapsing Parent Objects
Using Tango Application Files
XML Format
Application File Window
Unsaved Changes Indicator
Creating an Application File
Saving an Application File
Saving a Tango Application File or Tango Class File as Run-Only
Debugging Files
Executing Application Files
Converting to Tango 2000 Format

3 Using Projects

The Basics of Tango Projects

Working With Tango Projects
Project Root Properties
Performing Project Operations
Creating a New Project
Adding a Folder to a Project
Adding Files to a Project
Removing Files and Folders From a Project
Opening and Closing a Project
Editing HTML and Text Files
Working With Project Dependencies
Working With Project Application Files
Working With Presentation Pages
Working With Project Data Sources
Working With Project Objects
Working With Project FTP Sites
Opening Tango 3.x Projects
Deploying and Downloading Tango Projects via FTP
Passive Mode FTP
Deploying and Downloading Projects
Defining an FTP Site
Adding an FTP Site to Your Project
Deploying Files or Folders
Downloading From Remote Sites
Browsing a Project's FTP Site with a Web Browser
Application-Specific Tango (AST) Signatures for Projects
Modifying a Project's AST Signature

4 Using Data Sources

Data Source Basics, Operations, and Properties

About Data Sources
DAM Data Sources
FileMaker Pro Data Sources
ODBC Data Sources
Pervasive.SQL Data Sources
Oracle Data Sources
The Data Sources Workspace
Using Primary Key Columns
Data Source Operations
Creating a Data Source
Modifying a Data Source
Deleting a Data Source
Reloading a Data Source
Assigning Data Sources to Actions
Setting Up Deployment Data Sources
Setting Deployment Data Source Properties
Meta Tags and Deployment Data Sources
Setting Data Sources for Actions
Disabling the Use of Meta Tags in Data Sources
Working With Data Source Properties
Table Properties
Column Properties
Connecting to Data Sources
Connecting to Large Data Sources
Editing and Executing Files on Different Computers

5 Using Snippets

Snippets Basics and Operations

About Snippets
The Snippets Workspace
Working With Snippets
Inserting Snippets
Creating and Editing Snippets
Managing Snippets and Snippets Folders
Deleting Snippets
Column Snippets

6 Setting Preferences

Changing Your Tango Editor Preferences

Using the Preferences Dialog Box
Selecting Options
General
Text
Objects

Section II: Tango Building Blocks

How to Use Meta Tags, Variables, and Document Instances

7 Using Meta Tags

Understanding Meta Tags and How to Insert Them

About Meta Tags
Where You Can Use Meta Tags
Combining Meta Tags
Quoting Attribute Values
Inserting Meta Tags

8 Working With Variables

Using Variables in Tango

About Variables
Naming Variables
Understanding Scope
Basic Tango Scopes
Tango Class File-only Scopes
Custom Variable Scopes
Returning Variable Values
Purging Variables
Arrays
Row Zero of Arrays
Assigning Variables With the Assign Action
Editing Variable Assignments
How Tango Determines Default Scope in Variable Assignments
Using Configuration Variables
Shortcuts to Configuration Variable Assignments: Snippets
Using User Keys
Changing the User Key
Assigning Values to userKey and altUserKey
Alternate User Keys
Returning the Value of userKey and altUserKey
Using Application File User Keys

9 Document Object Model

Creating and Manipulating Document Instances Using DOM

What is DOM?
Overview of Using DOM
Example
XPointer Syntax
Root
ID
Child
Descendant
Terms of Child or Descendant
Example
Manipulating a Document Instance
Creating a Document Instance
Using DOM Meta Tags
Returning XML in Tango Applications
Using <@VAR> and <@ASSIGN> With DOM
Using <@ELEMENT...> Meta Tags With DOM
Applications of DOM
Creating Complex Data Structures
Separating Business and Presentation Logic
Reading and Writing Tango Application Files
Other Uses

Section III: Tango Builders

How to Use Tango Builders

10 Building Actions Using Tango Builders

How Tango Builders Work in Application Files

Adding a Builder to an Application File
Page Format Table Settings
Building the Actions

11 Configuring the Search Builder

Tango Search Builder Options and Setup

About the Search Builder
Setting Search Options
Search Columns List
Column Options
Fixed Value
Summary: Setting Column Options
Formatting the Search Web Page
Customizing Your Search Form and Result Messages
Header, Footer, and No Results HTML
Changing Button Titles
Setting Record List Options
Display Columns
Container Fields
Order By
Column Options
Maximum Matches
Formatting the Record List Web Page
Customizing Your Record List Web Page
Header and Footer HTML
Setting Record Detail Options
Display Columns
Column Options
Record Options
Formatting the Record Detail Web Page
Customizing Your Record Detail Web Page and Response Messages
Header, Footer, Update Response, and Delete Response HTML
Button Titles
Search Builder Tips
Defining Joins
Actions Built by the Search Builder
HTML Snippets

12 Configuring the New Record Builder

Tango New Record Builder Options and Setup

About the New Record Builder
Setting New Record Options
Columns
Column Options
Summary: Setting Column Options
Formatting the New Record Form
Customizing Your Form and Result Messages
Header, Footer, and New Record Response HTML
Changing Button Titles
Actions Built by the New Record Builder
HTML Snippets

Section IV: Tango Actions

How to Use Tango Actions

13 Using Actions

The Basics of Using Tango Actions

About Actions
Working With Actions
Adding an Action
Naming an Action
Deleting an Action
Editing an Action
Moving an Action
Copying an Action
Contextual Action Menu
Action Properties
Assigning Attributes to Actions
Results HTML
No Results HTML
Error HTML
Push
Debug File
Adding HTML (Results Action)
Presentation Action
Setting Up a Presentation Action
Uses of the Presentation Action

14 Grouping Actions

Organizing Related Actions

About Grouped Actions
Working With Action Groups
Adding an Action Group
Adding an Action to a Group
Removing an Action From a Group
Ungrouping Actions
Deleting an Action Group
Effect on Actions of Editing an Action Group
Branching to an Action Group
Executing Grouped Actions

15 Using Basic Database Actions

Search, Insert, Update, and Delete Actions

Searching a Database
Setting Up a Search Action
Executing a Search Action
Adding Records to a Database
Setting Up an Insert Action
Executing an Insert Action
Modifying a Database Record
Setting Up an Update Action
Executing an Update Action
Removing a Database Record
Setting Up a Delete Action
Executing a Delete Action
Adding Custom Columns to Database Actions

16 Using Control Actions

Branch, If, Loop, Break, and Return Actions

Jumping to a Designated Action (Branch Action)
Branch Action Destination Rules
Branching to Other Application Files
Setting Up a Branch Action
Executing a Branch Action
Branch Action Destination Navigation
Conditional Action Execution (If Action)
Example: Sports Fan Web Site
General Forms of If Actions
Nested If Actions
Performing Operations on If Actions
Setting Up an If Action
Repeating Actions (Loop Actions)
Example: Music Store
General Forms of Loop Actions
Nested Loop Actions
Setting Up Loop Actions
Executing Loop Actions
Performing Operations on Loop Actions
Exiting a Loop (Break Action)
Ending File Processing (Return Action)

17 Extending Tango Functionality

Script and External Actions

Executing JavaScript
Setting Up a Script Action
Executing a Script Action
Using an External Action
Setting Up an External Action
Configuring an Apple Event
Configuring a DLL Call
Using a Command Line
Configuring a Java Action
Assigning Attributes
Deleting Parameters
Executing an External Action
Disabling JavaScript, Java and External Actions

18 Sending Electronic Mail From Tango

Mail Action

Setting Up a Mail Action
General Tab
Options Tab
Attachments Tab
Disabling Mail

19 Reading, Writing, and Deleting Files

File Action

Setting Up a File Action
Setting Up Read Options
Setting Up Write Options
Setting Up Delete Options
Handling File Security

20 Using Advanced Database Actions

Transaction and Direct DBMS Actions, and Joining of Database Tables

Creating Database Transactions
Setting Up a Transaction Action
Executing a Transaction Action
Executing SQL
Setting Up a Direct DBMS Action
The Direct DBMS Action Editing Window
Executing a Direct DBMS Action
Executing a FileMaker Pro Script (Direct DBMS Action)
Joining Database Tables
Working With Joins
Creating a Join in a Search Action
Inserting a Join
Editing a Join
Deleting a Join
Creating a Join in the Search Builder

Section V: Tango and Objects

How to Use Objects and Create Objects (Tango Class Files)

21 Understanding Objects in Tango

How Objects Work in Tango

What are Objects?
Objects as Black Boxes
Object Interface: Methods
Method Elements: Parameters
Class, Object, and Object Instance
Creating Object Instances
Using Available Object Instances
Calling Methods
Example 1: Investment Scenarios
Example 2: More Investment Scenarios
Benefits of Using Objects in Tango
When to Use Objects
Object Types Supported in Tango
Object Type Independence
JavaBeans
Tango Class Files
General Requirements
Understanding Data Types
Setting up Security for Executing Objects

22 Using Objects

Incorporating Objects in Application Files

Preparing to Use Objects in Tango
Planning to Use an Object
Installing an Object
Overview of Using Objects in Tango
Adding an Object to the Objects Workspace
JavaBeans in the Objects Workspace
Tango Class Files in the Objects Workspace
Removing an Object From the Objects Workspace
Viewing Object Information in the Objects Workspace
Attributes Folder
Object Properties
Caching and Refreshing of Object Information
Adding a Create Object Instance Action
Shortcut to Adding a Create Object Instance Action
Completing the Create Object Instance Action
Object Name
Object Instance Variable
Instance
Expiry URL
Adding a Call Method Action
Shortcut to Adding a Call Method Action
Completing the Call Method Action
Object/Method Name
Object Instance Variable
Result Variable
Parameter List
Using the Objects Loop Action
Example of Using an Objects Loop
Using an Objects Loop

23 Tango Class Files

Creating Your Own Tango Modular Code

What are Tango Class Files?
Benefits of Using Tango Class Files
When to Develop and Use Tango Class Files
Using Tango Class Files
Developing Tango Class Files
Method List Pane
Method Editing Pane
Instance Variables List Pane
Method Definition Window
Creating a Tango Class File
Editing a Tango Class File
Adding a New Method
Renaming a Method
Deleting a Method
Copying a Method
Modifying a Method
Setting Return Values and Parameters
Method Properties
Debugging Methods
Setting Search Paths for Tango Class Files
Tango Editor
Tango Server

Section VI: Tango Server

How to Configure Tango Server

24 Using Tango Server

Changing Tango Server Defaults

Startup and Shutdown URL Processing
Format of URLs
Examples of URLs
Timed URL Processing
Format of the crontab File
Example of the crontab File
Tango Server Log Files
Shutdown Processing
Stopping Tango Server
Limitations
Tango Applications
Benefits of Applications
Applications and Paths
Application Features
Setting Up Tango Applications
Configuring Tango Server
Using the Tango 2000 Configuration Manager
Server Status
Setting Configuration Variables
Editing Configuration Files Directly
Escaping Initialization File Values
Server Configuration File
Domain Configuration File
Application Configuration File
Object Configuration File
File Structure
Tango Cache
Controlling the Tango Cache
Cache Limitations
Tango Server Security

A Glossary of Terms

An Alphabetical Reference of Common Tango and Internet Terms

B Using Java With Tango

Java Actions and the Java Action Server

Using Java Action Server
About the JAS Test Application
Configuring JAS
Creating Java Action Classes

C Tango Server Error Codes

A Listing of Tango Server Error Numbers and Messages

D Deploying Tango Applications

Some Issues When Creating and Deploying Tango Applications

Index



[Top] [Prev] [Next] [Bottom]

docs@pervasive.com
Copyright © 1999, Pervasive Software. All rights reserved.