Introducing Tango EnterpriseAbout Tango Enterprise and How It WorksTango Enterprise is a powerful and easy-to-use tool for creating dynamic, intelligent Web sites that are integrated with popular database systems. With builders, you build solutions by using Tango's intuitive point-and-click, drag-and-drop interface. You can create simple applications in minutes--without ever writing any code. You can customize your application files by adding your own HTML, database queries, and control flow. This chapter helps you understand Tango and its components. It includes:
![]() Understanding TangoTango Enterprise is the industry-leading, application server development environment for generating dynamic Web pages and accessing databases. Tango ComponentsTango consists of two main programs: Tango Editor and Tango Application Server, hereafter known simply as Tango Server.
|
|
For definitions of terms used throughout the documentation, see Appendix A. |
Other components of Tango include the Common Gateway Interface application, or CGI, and Web server plug-ins. The following diagram shows how Tango works with a Web Server. |
![]() Web pages viewed in a Web browser can contain forms or links that point to Tango application files created with Tango Editor. When the user submits a form or clicks a link, the Web server receives the request and passes it to Tango CGI or one of the plug-ins that, in turn, sends it to Tango Server. Tango Server then executes the application file, which could involve interaction with a database server. When execution is complete, the results (in the form of HTML contained in the application file) are returned through the CGI or plug-in to the Web server, and then to the user. Tango EditorThe Tango Editor development environment provides a point-and-click, drag-and-drop interface in which application files are created for use specifically in Tango Server. |
|
![]() Tango Editor works by querying the database schema and noting the tables and columns of the database. Columns can be dragged into specific actions within the application, thus defining the way in which the database is accessed. No knowledge of SQL or database specifics is required. A series of action results are merged to create the HTML page sent back to the Web server and on to the Web browser. The distinguishing factor between Tango Editor and other RAD (rapid application development) tools is the fact that Tango Editor is easy to use. Tango Editor contains builders that allow for rapid development not only of the database access and processing but also automatic generation of all the necessary HTML. Tango ServerTango Server works with a Web server to allow for the dynamic creation of HTML based on information contained in databases. Tango Server works as a middle layer between the Web server and browser, and the databases, and includes support for DBMS, e-mail, and other external actions. |
|
![]() Web servers are built to support HTTP requests for HTML pages and other file types that are processed by the Web browser. When Tango Server requests are made to the Web server, they are passed on for processing to the Tango Server via the Tango CGI program or the Web server plug-in. Tracing a Web RequestTo understand these components better, look at the interaction among the components.
Tango CGI and Web Server Plug-insYou can use either the Tango CGI or a Tango Server plug-in to communicate between your Web server and Tango Server. The CGI and plug-in perform the same function: they both communicate a user's request from the Web server to Tango Server, and return the results to the Web server. However, they differ in how they communicate with the Web server software |
|
![]() The Tango CGI (t3cgi.exe under Windows, or t3.cgi under UNIX) runs as a separate program on your Web server. The Tango plug-ins, as the name implies, plug in directly to your Web server under Windows NT. One advantage of using plug-ins is speed: data passes back and forth between Tango and the Web server much faster using a plug-in than using the CGI, thereby processing users' requests more quickly. Two Tango plug-ins are available. The Netscape API (NSAPI) plug-in, t3ns.dll, is used with Netscape Web servers, and the Microsoft Internet Information Server API (ISAPI) plug-in, t3iis.dll, is used with Microsoft's Internet Information Server (IIS). Key Tango ConceptsFive key concepts enable Tango to lead the market in being an easy to use RAD tool. They include: Visual ToolTango Editor provides you with a comprehensible visual development environment that allows you to create application files rapidly. Tango Editor provides builders with which to create applications that find, insert, update, and delete database records. At this level of the development environment, you do not have to write any SQL or HTML to create applications; Tango Editor generates everything for you. Tango Editor presents application files in an icon-based format. The flow of actions in the file is easily seen and all actions are displayed as distinct icons. This allows you to isolate and alter certain components of the application files you have created while letting the rest stay as they are. ExtensibilityTango can be extended beyond its ability to handle predefined types of actions by including different kinds of external actions, including File, Mail and the general External action. This means a Tango application file can interact with external programs, for example, sending e-mail, reading from or writing to a file, launching another application from the command line, or launching programs written in Java. Moreover, results from most external actions are integrated back into Tango in the same manner as database queries. The External action supports common, platform-specific mechanisms for interacting with other programs: PortabilityTango provides Web developers with the ability to create true cross-platform Web solutions. Currently, Tango is available for the Apple Mac OS, Microsoft Windows NT, Microsoft Windows 95, AIX (Apple and IBM), SGI IRIX, and Sun Solaris. You can create Tango applications on one environment and deploy them on another: for example, creating Tango application files using Tango Editor on a Windows 95 machine and deploying the application files on a Solaris Web server. Tango application files are in a binary file format and can be easily transferred from one operating system to another. No recompiling or regeneration of the application files is necessary for execution or editing. This enables you to develop application files on your platform of choice and deploy onto virtually any Web server. Because of Tango Editor's advanced abstraction of database actions, changing the designated DBMS is a matter of changing the data source associated with the Tango application file. (The use of Direct DBMS actions--where SQL is put directly into the application file--is generally not portable amongst DBMS systems; however, it is rare for this portion of a solution to have a serious impact on a solution's portability. Tango Search, Insert, Update, Delete, and Transaction actions eliminate the need for Direct DBMS actions in most solutions.) ScalabilityTango has the ability to scale to support enterprise solutions. Tango can scale in two areas: Tango Editor allows you to develop enterprise solutions, and Tango Server is able to scale to handle ever-increasing loads. Tango Editor allows simple solutions to be scaled to handle the complexities of interaction among multiple database systems. Tango Server provides scalability through its architecture and implementation. Tango Server is designed to maintain high performance under heavy loads. All platforms supported with Tango Server utilize the operating system capabilities for process multi-threading to take advantage of the scaling effects of multiple CPUs. You can deploy multiple application servers and you can deploy Tango Servers, or components thereof, on different host machines. These machines do not have to be identical in configuration or operating system, allowing you to utilize all available resources. Furthermore, Tango Server architecture utilizes Pervasive's data gateway technologies that allow for deployment across multiple heterogeneous platforms (supporting databases not easily reached from the platform the application server is operating on). This allows for true blocking features for database systems regardless of the capabilities of the DBMS, thus not impeding the performance and scalability of Tango Server. Database driver issues and native database access are achieved with the goal of platform independence and less need for third-party database drivers and middleware. Action-Based MetaphorTango uses a methodology based on actions, which abstracts away from the details of the implementation. Tango-generated HTML pages are created from the actions in an application file that build the HTML page dynamically based on customer input and results retrieved from a database. The action-based approach has many benefits:
![]() What's New in This Version of TangoTango 3 incorporates many new features not present in earlier Tango versions. Here is a list of some important features in Tango 3.
For example, if you wanted to transfer funds from a savings account to a checking account, you can think of this as two database transactions. First, you must withdraw from your savings account. Then you must deposit into your checking account. If the update on your checking account failed, then the update on your saving account must be rolled back. However, if both actions are successful, you then commit the transaction. With Tango, you can build this sort of functionality within your application.
![]() Using Tango ManualsAll Tango documentation, including this User's Guide, assumes you are familiar with the basics of using a computer, such as clicking and dragging, and opening and saving files. If you need help with these tasks, you should refer to the documentation that came with your computer. The Tango documentation does not cover the following topics:
Getting Started GuideThe Getting Started Guide helps you get up and running with Tango as quickly as possible. It covers preparing to install, installing, and setting up Tango. It also covers the various ways to reach Pervasive for product information and technical support. User's GuideThe User's Guide introduces you to Tango and tells you how to perform the tasks necessary to create your applications. It is your main source of Tango information. Topics covered include Tango basics, including using application files, data sources, snippets, and action builders. Other more advanced topics cover meta tags, variables, specific actions, and using Tango Server. Appendices include a glossary of terms and how to use Java with Tango. Meta Tags and Configuration VariablesA companion book to the User's Guide, the Meta Tags and Configuration Variables manual is an alphabetical listing and description of meta tags and configuration variables. TutorialThe Tutorials book helps you understand the key functions of Tango Editor. Using a series of brief lessons that build upon each other, you can progress quickly to learn Tango. The tutorials are designed for users who are familiar with the basics of Windows and HTML, and the operation of a Web server. On-line HelpOn-line help is available in HTML format from within Tango. It is your most immediate source of information. To access on-line help, do one of the following:
![]() Tango at a GlanceThe Internet is a stateless network environment. Web pages are not connected to the next, previous, or any other Web page, and the Web browser/client does not maintain a physical connection with the Web page server. Using a combination of HTML and Tango meta tags, Tango provides a means of passing information from one Web page to another. |
|
![]() ![]() Where To Go NextIf you have not already done so, install Tango by following the instructions in the Getting Started Guide. Then learn the basics of creating and editing application files. Work through the lessons in the Tutorials book. With the knowledge you gain, you will soon be ready to begin creating your own Tango solutions. Refer to this User's Guide for all the details about Tango Editor and Tango Server. The Meta Tags and Configuration Variables manual is a reference for those familiar with the basics of Tango. |
Copyright © 1998, Pervasive Software Inc. All rights reserved.