Using Zen Mojo
[Home]  [Next]
InterSystems: The power behind what matters   
Class Reference   

Preface : 
Chapter 1: 
  1.1 Introduction to Zen Mojo
1.1.1 Useful Background Knowledge
1.2 Kinds of Zen Mojo Applications
1.2.1 Web Applications
1.2.2 Mobile Applications
1.2.3 Hybrid Applications
1.3 Basic Definition of a Zen Mojo Page
1.4 Zen Mojo Helper Plugins and Layout Graphs
1.5 Zen Mojo Templates
1.5.1 Content Objects
1.5.2 Keys
1.5.3 Content Objects and Keys
1.5.4 The Template System
1.6 The Zen Mojo Content Cache
1.7 Event Handling
1.8 How Zen Mojo Works
1.8.1 The Zen Mojo Page Object
1.9 Zen Mojo Version Numbers
Chapter 2: 
  2.1 Tutorial 1: Layout Graphs
2.1.1 Tutorial 1: Getting Started
2.1.2 How This Sample Works
2.1.3 Exercises
2.2 Tutorial 2: Data Objects
2.2.1 Tutorial 2: Getting Started
2.2.2 How This Sample Works
2.2.3 Exercises
2.3 Tutorial 3: Event Handling
2.3.1 Tutorial 3: Getting Started
2.3.2 How This Sample Works
2.3.3 Exercises
Chapter 3: 
  3.1 General-Purpose Client Variables and Functions
3.2 Stashing Values
3.3 Converting a JSON Object to a String
3.4 Establishing Naming Conventions
3.4.1 Class Names
3.4.2 Method Names
3.4.3 Content Objects and JSON Providers
3.4.4 Keys
Chapter 4: 
  4.1 The ongetdata and ongetlayout Callback Attributes
4.1.1 When These Callbacks Are Used
4.1.2 Specifying ongetdata or ongetlayout
4.1.3 Details for getContent()
4.1.4 Defining onGetContent()
4.1.5 Defining %OnGetJSONContent()
4.2 Other Callback Attributes
4.3 Event Handlers
4.3.1 Where Events Are Supported
4.3.2 Implementing Event Handlers
Chapter 5: 
  5.1 Choosing Plugins and Downloading Files
5.2 Using the Zen Mojo Wizard
5.3 Creating Zen Mojo Classes Manually
5.3.1 Defining the Zen Mojo Application Class
5.3.2 Defining a Zen Mojo Page Class
5.3.3 Defining a Template Class
5.4 Creating a Basic pageContents Definition
5.4.1 Registering Plugins
5.4.2 Using Multiple documentViews
5.5 Next Steps
Chapter 6: 
  6.1 Overview of Layout Methods and Layout Graphs
6.2 Referring to the Current Data Object
6.3 Invoking Template Methods in a Layout Graph
6.4 Specifying Style Attributes in Layout Graphs
6.5 Using the sourceData Property in a Layout Graph
6.6 Using Stashed Values within sourceData
Chapter 7: 
  7.1 Possible Approaches
7.1.1 Driving One documentView from Another documentView
7.1.2 Using a Document Stack
7.2 Specifying the Initial Keys for a documentView
7.3 Setting Keys and Updating the Layout
7.4 Using the Criteria Argument
7.5 Getting Keys of a documentView
7.6 Working with Document Stacks
Chapter 8: 
  8.1 Methods in This Chapter
8.2 Getting or Setting the Value of a Layout Object
8.3 Refreshing a Layout Object
8.4 Accessing a Layout Object
Chapter 9: 
  9.1 Submitting Data to the Server
9.2 Example
Chapter 10: 
  10.1 Introduction to Explicit Dispatch
10.2 Associating Areas with Templates
10.3 Setting the Current Area and Key for the Page
10.3.1 Implementing changeAreaHandler()
10.4 Accessing the Current Template
Chapter 11: 
  11.1 Introduction to Dynamic Dispatch
11.1.1 How Zen Mojo Finds Templates, in Dynamic Dispatch
11.2 Modifying the Page to Use Dynamic Dispatch
11.3 Defining the Templates
Chapter 12: 
  12.1 Specifying Style Information for Layout Objects
12.2 Including Style Sheets
12.3 Precedence of Styles
Chapter 13: 
  13.1 Specifying Meta Tags
13.2 Modifying the Page Class to Support Offline Use
13.3 Requirements of the Packaged Application
13.4 Generating Offline Pages
13.4.1 Generating Only the Offline Page
13.4.2 Generating an Offline Bundle
Appendix A: 
  A.1 CSP Gateway Cache
A.2 Browser Cache
A.3 Zen Mojo Page Cache
Appendix B: 
  B.1 Class Renaming
B.1.1 Upgrade Steps
B.2 Namespace Changes
B.2.1 Upgrade Steps
B.2.2 Example
B.3 Plugin Refactoring
B.3.1 Upgrade Steps and Examples
B.4 Event Handling Changes
B.4.1 Upgrade Steps