getting dates with plone - plone conference 2008
DESCRIPTION
Presentation by Aaron VanDerlip at Plone Conference 2008 about improved calendaring with Plone using Plone4ArtistsCalendar and Dateable.TRANSCRIPT
www.jazkarta.com 1 (888) 756-6348 2008 Plone Conference
Getting Dates withPlone
Aaron VanDerlip, Jazkarta.com2008 Plone Conference
www.jazkarta.com 1 (888) 756-6348 2008 Plone Conference
But what this is really about
Plone4ArtistsCalendarmostly
But there is a lot under the hood (or bonnet)
www.jazkarta.com 1 (888) 756-6348 2008 Plone Conference
BackgroundFirst there was Plone4Artists Calendar
it was a bit of monolith
Lennart Regebro == Hero
2008 Plone Conference www.jazkarta.com 1 (888) 756-6348
Overview
• dateable.chronos
• dateable.kalends
• p4a.subtyper
• p4a.plonecalendar
• p4a.event
Plone Eventsand Folders
p4a.plonecalendarExtends Plone with
the Kalends functionality
dateable.chronosThe user interface
dateable.kalendsDefines interfaces and functionality
p4a.ploneeventExtends the standardEvent with recurrence
Icalendar supportNot implemented yet
Mix-ins hard to work with
Separate concerns, common interface
2008 Plone Conference www.jazkarta.com 1 (888) 756-6348
dateable.chronos
• Provides calendar views
• Calls event providers to
• Reusable outside Plone4Artists
2008 Plone Conference www.jazkarta.com 1 (888) 756-6348
p4a.plonecalendar
• Registers Folder and Topic types to implement IPossibleCalenedar
• Provides hooks forimport/export of iCal feeds
• Implements the necessary kalends interface for events providers
Rocky Burt == Hero
2008 Plone Conference www.jazkarta.com 1 (888) 756-6348
p4a.subtyper
• Its slick
• Provides hooks to register type into the UI and the back end
• In a nutshell, a way to provide marker interfaces
2008 Plone Conference www.jazkarta.com 1 (888) 756-6348
p4a.event• Implements
dateable.kalends.IRecurringEvent
• Wraps the object using factory
• uses schemaextender to add Recurrence support to the Event type
Recurrence is cool
2008 Plone Conference www.jazkarta.com 1 (888) 756-6348
Let’s demo the tools
• Markup some types
• Import some external data
• Build a small app
Getting the date
2008 Plone Conference www.jazkarta.com 1 (888) 756-6348
To do
• improve iCal import/export
• microformats (coming real soon)
• test to be sure the above work
• UI
2008 Plone Conference www.jazkarta.com 1 (888) 756-6348
Further reading
• http://www.serverzen.com/training/subtyping-unleashed
• http://regebro.wordpress.com/2008/03/08/whats-up-with-dateable/
www.jazkarta.com 1 (888) 756-6348 2008 Plone Conference
Thanks!aaron (at) jazkarta.com
www.jazkarta.com