Calendars in Cascade Server
Transcript of Calendars in Cascade Server
ER IC L . EPPS @ ER ICEPPS
CALENDARS INCASCADE SERVER
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
H O M E P A G E – M I N I - C A L E N D A R
WEB INTERFACE
D A I L Y E V E N T L I S T I N G
WEB INTERFACE
W E E K L Y R O O M S C H E D U L E
WEB INTERFACE
C A M P U S M A P P A G E – T O D A Y ’ S S C H E D U L E
WEB INTERFACE
F U L L M O N T H L Y C A L E N D A R
WEB INTERFACE
F A C U L T Y S C H E D U L E
WEB INTERFACE
I C A L E N D A R F E E D – G O O G L E C A L E N D A R
OTHER INTERFACES
D I S P L A Y M O N I T O R
OTHER INTERFACES
W A Y - F I N D I N G K I O S K
OTHER INTERFACES
C O U R S E S C H E D U L E E V E N T L I S T I N G F A C U L T Y
S C H E D U L E S
XML SOURCE
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
Links for this presentation:
http://bit.ly/CSUC12-Calendars