Translating Cascade API Objects to Native Java Objects: A Velocity MVC-like Approach for Newsletters

Velocity is a "templating" engine. Translating Cascade API Objects to Native Java Objects provides a versatile mechanism for rendering pages, simplifying templates, and streamlining Velocity formats, which enables a more MVC-like approach to page output.

This presentation will cover the following:
  1. An explanation and demonstration of Jay's approach to the translation process, including the use of a stack for recursive Velocity processing.
  2. A demonstration of how the resulting Java object simplifies templates and demonstrates the use of Velocity formats in "templating".
  3. A demonstration of this technique using a sample newsletter as an example.

Presentation is primarily targeted towards attendees with Velocity knowledge.

Jay Mercer

Jay Mercer

Assistant Director/Lead Developer
Indiana University

Jay is the Assistant Director/Lead Developer for IU Communications at Indiana University and has implemented scores of sites in Cascade Server. He has been working with Cascade Server for nearly 10 years, and along the way, has developed many innovative techniques to solve some critical problems. Jay has been instrumental in implementing some high-profile university-wide initiatives using Cascade Server, including course bulletins, University Policies site, export of course data to Student Information Services, and the IU Web Framework. He is an avid programmer and seems to always have his hands in a side project.