Topic outline

  • Displaying Collections and Using the Zen Mojo Documentation

    NOTE: Zen Mojo is provided with Caché and Ensemble but is not included with InterSystems IRIS or InterSystems IRIS for Health by default. For creating web pages and UIs, InterSystems recommends using any common third-party frameworks such as AngularJS, React or Vue.js.

    Welcome to Displaying Collections and Using the Zen Mojo Documentation. This course contains five instructional lessons, plus several quiz questions and two hands-on exercises. The video demonstrations are best if viewed full screen.

    This hands-on course demonstrates creating a Zen Mojo page which includes a header and a collection of data retrieved from Caché. The course also introduces the Zen Mojo documentation and teaches you how to work with the Widget Reference.

    Prerequisite Learning or Experience

    • ISC1007 Zen Mojo for Web-based Applications.
    • ISC1011 "Hello Mojo!" : Basic Architecture of a Zen Mojo Application.

    Learners should have basic experience and familiarity with programming using Caché ObjectScript and Caché Studio. Successful completion of Caché Quickstart tutorial is recommended.

    Note: Basic JavaScript programming is required for this course. Anyone satisfying the above prerequisite should be fine provided they have an “adventurous spirit.” However, if you would like to learn more about JavaScript, take a look at this tutorial.

    Audience  This course is intended for technically focused customers and InterSystems staff who are interested in displaying Caché data using Zen Mojo.

    Learning Objectives  In this course we will review the steps for displaying a collection of Caché data on a Zen Mojo page, finding crucial information in the Zen Mojo documentation, and finding sample code in the Widget Reference. By the end of this course, you will be able to:

    • Write code that returns a collection of data from the server to a Zen Mojo page.
    • Write code to display a collection of data using jQuery Mobile widgets.
    • Use the Zen Mojo documentation and Widget Reference.

    Duration  30 minutes. 

    Grading Criteria  This course is not graded; quiz questions are provided for self-assessment.

    Resources Needed  To complete this course, you will need the latest version of Caché (2015.1 or above). Caché 2015.1 is the first release to contain Zen Mojo. However, Zen Mojo can be installed on Caché 2013.1 and later. 

    • If you are an InterSystems customer, you can download Zen Mojo add-on kits or Caché 2015.1 from the WRC distribution page and install them on your Caché instance. 
    • If you are not a customer, then you can download Caché 2015.1 from the InterSystems website. It will include Zen Mojo.