Using Caché Server Pages (CSP)
Static Version
Contents
Contents
Chapter 1:
Introduction to Caché Server Pages
1.1 Getting Started
1.1.1 The CSP Samples
1.1.2 The CSP Tutorial
1.1.3 Your First CSP Application
Chapter 2:
CSP Configuration
2.1 CSP Components
2.2 CSP Applications
2.3 Web Server Configuration
2.3.1 Apache Web Server
2.3.2 Microsoft IIS Web Server
2.3.3 Netscape Web Server
2.3.4 Caché HTTP Server
2.4 CSP Gateway Configuration
2.4.1 CSP Gateway Manager
2.4.2 Server Access
2.4.3 Application Access
2.4.4 CSP Gateway Parameters
2.5 CSP Server Configuration
2.5.1 Defining a New Application on the CSP Server
Chapter 3:
HTTP Requests
3.1 CSP Architecture
3.2 HTTP Request Processing
3.2.1 The Web Server and the CSP Gateway
3.2.2 The CSP Server
3.2.3 Event Flow on the Server
3.2.4 URL/Class Name Resolution
3.3 The %CSP.Page class
3.3.1 The Page Method
3.3.2 %CSP.Page Class Parameters
3.4 The %CSP.Request Object
3.4.1 URL
3.4.2 URL Parameters
3.4.3 CGI Environment Variables
3.4.4 Cookies
3.4.5 MIME Data
3.5 The %CSP.Response Object
3.5.1 Serving Cookies
3.5.2 Serving Different Content Types
Chapter 4:
Session Management
4.1 Sessions
4.1.1 Session Creation
4.1.2 The Session ID
4.1.3 Session Termination and Cleanup
4.2 The %CSP.Session Object
4.2.1 User Session Data
4.2.2 Setting User Session Data
4.2.3 Retrieving User Session Data
4.2.4 Deleting User Session Data
4.2.5 Session Timeout
4.2.6 Timeout Value
4.2.7 Timeout Notification
4.3 State Management
4.3.1 Tracking Data between Requests
4.3.2 Storing Data within a Page
4.3.3 Storing Data in Cookies
4.3.4 Storing Data in the Session
4.3.5 Storing Data in the Database
4.3.6 Server Context Preservation
4.4 Authentication and Encryption
4.4.1 The Session Key
4.4.2 Encrypted URLs and CSPToken
4.4.3 Private Pages
4.4.4 Encoded URL Parameters
Chapter 5:
Tag-Based Development with CSP
5.1 The CSP Compiler
5.1.1 Automatic and Manual Page Compilation
5.2 CSP Markup Language
5.2.1 CSP Page Language
5.2.2 Text
5.2.3 Run-time Expressions
5.2.4 Run-time Code
5.2.5 Defining Server-Side Methods
5.2.6 SQL
5.2.7 Compile-time Expressions and Code
5.2.8 Controlling the Generated Class
5.3 Control Flow
5.3.1 The csp:IF Tag
5.3.2 The csp:WHILE Tag
5.3.3 The csp:LOOP Tag
5.4 Escaping and Quoting HTTP Output
5.4.1 Escaping HTML
5.4.2 URL Parameters
5.4.3 JavaScript
5.5 Server-Side Methods
5.5.1 Calling Server Methods via HTTP Submit
5.5.2 Calling Server-side Methods Using the #server Directive
5.5.3 Calling Server-side Methods Using the #call Directive
5.5.4 Responding to Client Events from the Server
5.5.5 Tips for Using Server-Side Methods
Chapter 6:
Building Database Applications
6.1 Using Objects on a Page
6.1.1 Displaying Object Data in a Table
6.1.2 Displaying Object Data in a Form
6.1.3 Processing a Form Submit Request
6.1.4 The CSP:OBJECT tag
6.2 Binding Data to Forms
6.2.1 Binding to a Property
6.3 The CSP Search Page
Chapter 7:
Localization
7.1 The Message Dictionary
7.1.1 XML Message Files
7.2 CSP Localization Interface
Chapter 8:
Developing Custom Tags
8.1 Rules and Actions
8.2 Tag Matching
8.3 Server-side Expressions and Code within Rule Actions
8.4 The Server Document Object Model
8.5 Using csr: Tags within Actions
8.5.1 The csr:DEFAULT tag
8.5.2 The csr:CHILDREN tag
8.5.3 The csr:SECTION tag
8.6 Using csr: Additional CSR Tags
8.6.1 The csr:CLASS tag
8.6.2 The csr:PROPERTY tag
8.6.3 The csr:DESCRIPTION tag
8.6.4 The csr:ATTRIBUTE tag
8.7 Using csr: Rule Classes
8.7.1 Structure of Generated Rule Classes
8.7.2 RenderStartTag()
8.7.3 CompilerMethod[n]()
8.7.4 RenderEndTag()
8.8 Using CSR: %CSP.Rule Methods
8.8.1 GetAttribute
8.8.2 QuoteAttribute
8.8.3 GetAttributesOrdered
8.8.4 IsDefined
8.8.5 InnerText
8.8.6 AddChildElement
8.8.7 SetAttribute
8.9 Using csr: %CSP.AbstractAtom Write Methods
8.9.1 WriteText
8.9.2 WriteCSPText
8.9.3 WriteExpressionText
8.9.4 WriteServer
8.9.5 WriteCSPServer
8.10 Using csr: Available Routines
8.10.1 Quote
8.10.2 QuoteCSP
8.11 Using csr: Example
8.11.1 <GRID> Rule Definition
8.11.2 Generated <GRID> Class
8.11.3 Using the <GRID> Tag
8.11.4 Displayed Page
Appendix A:
Using CSP with Macromedia Dreamweaver
A.1 Installing the CSP Extensions for Dreamweaver
A.2 Using the CSP Dreamweaver Extensions
A.2.1 Connecting to Caché
A.2.2 The Dreamweaver Insert Menu
Appendix B:
Installing and Configuring the CSP Gateway
B.1 Overview
B.2 Microsoft Windows
B.2.1 Microsoft Web Servers
B.2.2 Sun Web Servers
B.2.3 Apache Web Servers
B.2.4 Operating the Network Service Daemon (NSD)
B.3 UNIX Systems
B.3.1 Sun Web Servers
B.3.2 Apache Servers
B.3.3 Operating the Network Service Daemon (NSD)
B.4 OpenVMS
B.4.1 Apache and Compaq Secure Web Server (CSWS)
B.4.2 Operating the Network Service Daemon (NSD)
Appendix C:
Message Dictionary Management
C.1 Message Dictionary APIs
C.1.1 Importing Messages
C.1.2 Deleting Messages
C.1.3 Exporting Messages
C.1.4 Generating Include Files
C.1.5 Listing Messages
C.1.6 Finding Language Matches
Appendix D:
CSP Error Notes
Copyright
© 1997-2004, InterSystems Corp.
Last updated:
2003-11-14 10:06:04
Source:
GCSP.xml