Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Simplifying Plone

1,659 views

Published on

Published in: Technology
  • Be the first to comment

Simplifying Plone

  1. 1. Simplifying Plone <ul><li>With a chainsaw </li></ul>
  2. 2. Thank you Lennart
  3. 3. Zope 2
  4. 4. Zope 3
  5. 5. Five
  6. 6. Plone 4
  7. 7. A process Ask Categorise Evaluate Identify Chop!
  8. 8. Guiding lights <ul><li>Grok </li></ul><ul><li>Repoze </li></ul><ul><li>Pylons </li></ul><ul><li>TurboGears </li></ul>
  9. 9. Plone 4 Install Colours/logo Branding Content types Behaviour Integration Content & Settings Templating
  10. 10. Things that work well <ul><li>Installation </li></ul><ul><li>Content editing </li></ul><ul><li>Collections (mmm.....) </li></ul><ul><li>ZODB </li></ul><ul><li>Settings </li></ul>
  11. 11. Cliffs <ul><li>Changing the logo </li></ul><ul><li>Branding (“my designer gave me this”) </li></ul><ul><li>Content types (“I want to capture this data”) </li></ul><ul><li>Deployment </li></ul><ul><li>Adapters ?!? </li></ul>
  12. 12. Colours/logo Now Custom folder CSSManager DIYPloneStyle Problems Need to know Plone TTW/filesystem cliff ZMI is scary Future? Plone GUI: Front end to customisation registry
  13. 13. Branding Now Page template Skin layers Browser views Browser resources Viewlets Portlets Pain! Problems Too many ways No separation between customisation and theming Future? CSS should be enough Deliverance (NG?) plone.maintemplate?
  14. 14. Template Customisation Now Page template Skin layers Browser views Browser resources Viewlets Portlets Pain! Problems Z3 vs. portal_skins Portlets, views viewlets? 3 places: ZCML, Python, ZPT Future? GloWorm Unified portlets, viewlets, views Filesystem round-trip No ZCML
  15. 15. Content types Now ArchGenXML Archetypes plone.app.content Problems Need to learn Python Lots of boilerplate ArchGenXML product != custom product Future? Simple schema + view TTW Filesystem round-trip No boilerplate! Specialisation of labour
  16. 16. Behaviour Now Skin layer scripts Tools Methods in classes Adapters Problems Knowing where to put it Patterns Zope2 vs Zope3 Future? Adapters! Re-usable behaviours? Introspection Published Patterns ... but you shouldn’t need to do it as much!
  17. 17. Non-content management Now Archetypes Custom views Custom Python Problems Performance Consistency API fit Future? Don’t do it in Plone! WSGI SSO Indexing Deliverance Repoze Grok
  18. 18. Some themes <ul><li>Think about the audience </li></ul><ul><li>Find the “one true way” </li></ul><ul><li>Remove other ways </li></ul><ul><li>Customisation registry </li></ul><ul><li>Embrace through the web... </li></ul><ul><li>... but allow filesystem round-trip for deployment and collaboration </li></ul>
  19. 19. Plone 4 Install Colours/logo Branding Content types Behaviour Integration Content & Settings Templating

×