Using Caché Server Pages (CSP)
Contents
 
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

 
Contents

Preface : 
 
 
Chapter 1: 
 
  • 1.1 CSP and Zen
  • 1.2 Before You Start
  • 1.2.1 Production Web Server and Caché-supplied Private Web Server
  • 1.2.2 Configuring the Web Server and the CSP Gateway
  • 1.2.3 What You Should Know
  • 1.2.4 CSP Samples
  • 1.2.5 CSP Documentation
  • 1.3 Creating Your First CSP Page
  • 1.3.1 Creating a Class-based CSP Page
  • 1.3.2 Creating an HTML Tag-based CSP Page
  • Chapter 2: 
     
  • 2.1 CSP Components: Web Server, CSP Gateway, CSP Server
  • 2.1.1 What Each Component Does
  • 2.1.2 Information Flow
  • 2.1.3 Static Files
  • 2.2 Web Server Configuration of a URL
  • 2.2.1 Configuring a New URL on a Microsoft IIS Web Server
  • 2.3 CSP Gateway Configuration
  • 2.3.1 CSP Gateway Manager
  • 2.3.2 Defining Server Access
  • 2.3.3 Defining Application Access
  • 2.3.4 CSP Gateway Parameters
  • 2.4 CSP Application Settings
  • 2.4.1 Enabling Application Access to %CSP Pages
  • 2.4.2 Editing Web Application Settings
  • 2.4.3 Defining a New Application
  • Chapter 3: 
     
  • 3.1 CSP Runtime Environment
  • 3.2 HTTP Request Processing
  • 3.2.1 Web Server and the CSP Gateway
  • 3.2.2 CSP Server
  • 3.2.3 CSP Server Event Flow
  • 3.2.4 CSP Server URL and Class Name Resolution
  • 3.3 %CSP.Page Class
  • 3.3.1 Page Method
  • 3.3.2 %CSP.Page Class Parameters
  • 3.3.3 Handling CSP Errors
  • 3.4 %CSP.Request Object
  • 3.4.1 URL Property
  • 3.4.2 Data Property and URL Parameters
  • 3.4.3 CgiEnvs Property and CGI Environment Variables
  • 3.4.4 Cookies Property
  • 3.4.5 MIME Data Property
  • 3.5 %CSP.Response Object and the OnPreHTTP Method
  • 3.5.1 Serving Cookies with the SetCookie Method
  • 3.5.2 Serving Different Content Types
  • Chapter 4: 
     
  • 4.1 Sessions with CSP.Session
  • 4.1.1 Session Creation
  • 4.1.2 Session ID
  • 4.1.3 Session Termination and Cleanup
  • 4.1.4 Reserved CSP Parameters
  • 4.2 %CSP.Session Object
  • 4.2.1 User Session Data — Data Property
  • 4.2.2 Setting User Session Data — Set Command
  • 4.2.3 Retrieving User Session Data — Write Command
  • 4.2.4 Deleting User Session Data — Kill Command
  • 4.2.5 Session Timeout
  • 4.2.6 Timeout Notification — OnTimeout Method
  • 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 — Data Property
  • 4.3.5 Storing Data in the Database
  • 4.3.6 Server Context Preservation — Preserve Property
  • 4.4 Authentication and Encryption
  • 4.4.1 Session Key
  • 4.4.2 Encrypted URLs and CSPToken
  • 4.4.3 Private Pages
  • 4.4.4 Encoded URL Parameters
  • 4.5 Authentication Sharing Strategies
  • 4.5.1 Authentication Approaches
  • 4.5.2 Authentication Architecture
  • 4.5.3 Considerations in Choosing Your Strategy
  • Chapter 5: 
     
  • 5.1 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 Compile-time Expressions and Code
  • 5.2.4 Runtime Expressions
  • 5.2.5 Runtime Code
  • 5.2.6 Runtime Code ObjectScript Single Line
  • 5.2.7 Server-Side Method
  • 5.2.8 SQL <script> Tag
  • 5.2.9 Controlling the Generated Class
  • 5.3 Control Flow
  • 5.3.1 <csp:if> Tag
  • 5.3.2 <csp:while> Tag
  • 5.3.3 <csp:loop> Tag: Numbered List Example
  • 5.4 Escaping and Quoting HTTP Output
  • 5.4.1 Escaping HTML with EscapeHTML
  • 5.4.2 Escaping URL Parameters with EscapeURL
  • 5.4.3 Escaping JavaScript with QuoteJS
  • 5.5 Server-Side Methods
  • 5.5.1 Caché and AJAX
  • 5.5.2 Calling Server-side Methods via HTTP Submit
  • 5.5.3 Calling Server-side Methods Using Hyperevents #server and #call
  • 5.5.4 Tips for Using Server-Side Methods
  • Chapter 6: 
     
  • 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 <csp:object> tag
  • 6.2 Binding Data to Forms
  • 6.2.1 Binding to a Property
  • 6.3 CSP Search Page with <csp:search> Tag
  • 6.4 Enabling Logging in ISCLOG
  • 6.4.1 Message Format
  • Chapter 7: 
     
  • 7.1 Message Dictionaries
  • 7.1.1 Message Dictionary Storage
  • 7.1.2 Adding Entries to a Message Dictionary
  • 7.2 XML Message Files
  • 7.2.1 <MsgFile> Element
  • 7.2.2 <MsgDomain> Element
  • 7.2.3 <Message> Element
  • 7.3 Localization from Tag-Based Files
  • 7.3.1 Localization Tags at Runtime
  • 7.3.2 Localization Tags at Compile Time
  • 7.4 Localization from Class Code
  • 7.4.1 Retrieving Messages at Runtime
  • 7.4.2 $$$Text Macros at Compile Time and Runtime
  • 7.5 Translating a Message Dictionary
  • 7.6 Managing a Message Dictionary
  • 7.6.1 Importing an XML Message File
  • 7.6.2 Exporting an XML Message File
  • 7.6.3 Deleting Messages
  • 7.6.4 Listing Messages
  • 7.6.5 Finding Language Matches
  • Chapter 8: 
     
  • 8.1 Rules and Actions
  • 8.2 Tag Matching — match Attribute
  • 8.3 Server-side Expressions and Code in Rule Actions
  • 8.3.1 Runtime Expressions in Actions
  • 8.3.2 Compile-time Expressions in Actions
  • 8.3.3 <script> Tags in Actions
  • 8.4 Server Document Object Model
  • 8.4.1 Access Rule Attribute Values
  • 8.5 Using <csr> Tags in Actions
  • 8.5.1 <csr:default> Tag
  • 8.5.2 <csr:children> Tag
  • 8.5.3 <csr:section> Tag
  • 8.6 Using <csr> Tags Outside Actions
  • 8.6.1 <csr:class> Tag
  • 8.6.2 <csr:property> Tag
  • 8.6.3 <csr:description> Tag
  • 8.6.4 <csr:attribute> Tag
  • 8.7 Using Rule Classes
  • 8.7.1 Structure of Generated Rule Classes
  • 8.7.2 RenderStartTag Method
  • 8.7.3 CompilerMethod[n]() Method
  • 8.7.4 RenderEndTag Method
  • 8.8 Using %CSP.Rule Methods
  • 8.8.1 GetAttribute Method
  • 8.8.2 QuoteAttribute Method
  • 8.8.3 GetAttributesOrdered Method
  • 8.8.4 IsDefined Method
  • 8.8.5 InnerText Method
  • 8.8.6 AddChildElement Method
  • 8.8.7 SetAttribute Method
  • 8.8.8 OnMatch Method
  • 8.9 Using <csr> %CSP.AbstractAtom Write Methods
  • 8.9.1 WriteText Method
  • 8.9.2 WriteCSPText Method
  • 8.9.3 WriteExpressionText Method
  • 8.9.4 WriteServer Method
  • 8.9.5 WriteCSPServer Method
  • 8.10 Using <csr> %cspQuote Methods
  • 8.10.1 Quote Method
  • 8.10.2 QuoteCSP Method
  • 8.11 Creating a <grid> Tag to Display a Table
  • 8.11.1 Grid Rule Definition
  • 8.11.2 Generated Grid Class
  • 8.11.3 Using the Grid Rule
  • 8.11.4 Grid Rule Displayed Page
  •  
    Appendix A: 
     
    Appendix B: