Collection Contents Index CHAPTER 10.  Building a Dynamic Web Site with PowerDynamo Getting started with PowerDynamo pdf/chap10.pdf

First Guide to SQL Anywhere Studio
   PART 2. Getting Results with SQL Anywhere Studio
     CHAPTER 10. Building a Dynamic Web Site with PowerDynamo       

PowerDynamo as an application server


This section discusses some concepts that are useful for understanding how PowerDynamo works as an application server in an Adaptive Server Anywhere environment.

Top of page  A glance at PowerDynamo

PowerDynamo is a client application that acts as a middle-application server, handling all connections to Adaptive Server Anywhere through the ODBC interface and providing the application logic.

PowerDynamo includes Web site management features and, mobile Intranet capabilities. The Web site management utilities provide easy management of all aspects of Dynamic Web sites:

For Info     For information on using PowerDynamo's mobile Intranet features see the PowerDynamo User's Guide.

With PowerDynamo you can embed instructions into any document, and have the output displayed with the documents static HTML. At the core of PowerDynamo is an interpreter which processes specially tagged instructions embedded in the HTML pages or other documents, and servers the resulting output together with static HTML to the Web browser. PowerDynamo supports the following kinds of embedded instructions:

JavaScript vs DynaScript    
DynaScript is a server-side scripting language. JavaScript is a client-side scripting language.

For further information on the DynaScript scripting language see the PowerDynamo User's Guide.

Top of page  Beyond HTML: Dynamic content

Ordinary Web sites consist of static HTML files. HTML, or HyperText Markup Language, is the language with which World Wide Web text documents are formatted. It defines the basic details of a document such as paragraph tags, graphics, and hypertext links. HTML files typically end with .html or .htm.

The documents that make up a PowerDynamo Web site are called scripts, which end in .ssc, and templates, which end in .stm. These documents work quite a bit differently than the standard HTML document. Templates and scripts can include anything from static HTML to dynamic HTML with embedded scripts and SQL queries. During the (server side) processing of these documents, the results are generated and all output is converted to HTML for display purposes. The document, containing only HTML at this point, is then served to the browser.

Top of page  

Collection Contents Index CHAPTER 10.  Building a Dynamic Web Site with PowerDynamo Getting started with PowerDynamo pdf/chap10.pdf