Post on 15-Jul-2015
OVERVIEW
• Pros/Cons of using this method
• Look at web interfaces
• XML Source files
• Process
• XSL/Velocity Code!
• Few source files, many
views
• Uniform look & feel,
control
• Easily maintained with
Web Services scripts
and auto-publish
• Descriptive URLs
• Lots of pages
• Long time to publish
(much better in 7.x)
• Complex style sheets
PROS & CONS
ADVANTAGES DISADVANTAGES
PROCESS
• Events vs. Recurring Schedules
• Event List = Easy
1. pull the list of events
2. if it matches criteria, output
• Class Schedule, Faculty Schedule = More Difficult
1. pull list of classes
2. create list of events from recurrence
3. if event from list matches criteria, output
CHOOSING THE TOOL
• Just Event List? Just Schedule info?
• Pull list of events/courses
• Don’t need to parse recurrence
• XSL
• Listing by Room/Faculty Member?
• Need to parse recurrence
• May need to combine both in single page
• Velocity
• In general, I use XSL when the XML source is similar
to the desired output, Velocity when I need to
manipulate the data more.
H T T P S : / / G I T H U B . C O M / E R I C E P P S / C A S C A D E - C A L E N D A R
CODE WALKTHROUGH
THANK YOU!
Eric L. Epps
Web Developer
Sauk Valley Community College
eric.epps@svcc.edu
Links for this presentation:
http://bit.ly/CSUC12-Calendars