Caché Programming Orientation Guide
- About This Book
- Introduction to Caché Programming
- Introduction
- Routines
- Classes
- Introduction to Globals
- Caché SQL
- Macros
- Include Files
- How These Code Elements Work Together
- A Closer Look at ObjectScript
- Routines
- Procedures, Functions, and Subroutines
- Variables
- Variable Availability and Scope
- Multidimensional Arrays
- Operators
- Commands
- Special Variables
- Locking and Concurrency Control
- System Functions
- Date and Time Values
- Using Macros and Include Files
- Using Routines and Subroutines
- Potential Pitfalls
- For More Information
- Basic Ideas in Class Programming
- Objects and Properties
- Methods
- Class Constants (Parameters)
- Class Definitions and Types
- Inheritance
- Classes as Containers of Methods
- Abstract Classes
- Caché Classes
- Class Names and Packages
- Basic Contents of a Class Definition
- Class Name Shortcuts
- Class Parameters
- Properties
- Properties Based on Data Types
- Methods
- Special Kinds of Methods
- Class Queries
- XData Blocks
- Macros and Include Files in Class Definitions
- Inheritance Rules in Caché
- For More Information
- Caché Objects
- Introduction to Caché Object Classes
- Basic Features of Object Classes
- OREFs
- Stream Interface Classes
- Collection Classes
- Useful ObjectScript Functions
- For More Information
- Persistent Objects and Caché SQL
- Introduction
- Caché SQL
- Special Options for Persistent Classes
- SQL Projection of Persistent Classes
- Object IDs
- Storage
- Options for Creating Persistent Classes and Tables
- Accessing Data
- A Look at Stored Data
- Storage of Generated Code for Caché SQL
- For More Information
- Namespaces and Databases
- Introduction to Namespaces and Databases
- Database Basics
- System-Supplied Databases
- System-Supplied Namespaces
- Custom Items in CACHESYS
- What Is Accessible in Your Namespaces
- Stream Directory
- For More Information
- Caché Security
- Localization Support
- Introduction
- Caché Locales and National Language Support
- Default I/O Tables
- Files and Character Encoding
- Manually Translating Characters
- Development Tools
- Management Portal
- Studio
- Terminal
- System Qualifiers and Flags
- InterSystems Classes and Routines
- InterSystems Class Reference (Documatic)
- Tools for Debugging
- For More Information
- Server Configuration Options
- Support for Long String Operations
- Settings for Caché SQL
- Use of IPv6 Addressing
- Configuring a Server Programmatically
- For More Information
- Useful Skills to Learn
- Finding Definitions of Code Elements
- Defining Databases
- Defining Namespaces
- Mapping a Global
- Mapping a Routine
- Mapping a Package
- Generating Test Data
- Removing Stored Data
- Resetting Storage
- Browsing a Table
- Executing an SQL Query
- Examining Object Properties
- Viewing Globals
- Displaying INT Code
- Testing a Query and Viewing a Query Plan
- Viewing the Query Cache
- Building an Index
- Using the Tune Table Facility
- Moving Code from One Database to Another
- Moving Data from One Database to Another
- Renaming a Class
- For More Information
- What’s That?
- Non-Alphanumeric Characters in the Middle of “Words”
- . (One Period)
- .. (Two Periods)
- # (Pound Sign)
- Dollar Sign ($)
- Percent Sign (%)
- Caret (^)
- Other Forms
- Rules and Guidelines for Identifiers
- Namespaces
- Databases
- Local Variables
- Global Variables
- Routines and Labels
- Classes
- Class Members
- Custom Items in CACHESYS
- General System Limits
- Numeric Computing in InterSystems Applications