Simplifying Plone
-
Upload
alex-clark -
Category
Technology
-
view
1.179 -
download
0
description
Transcript of Simplifying Plone
Simplifying PloneWith a chainsaw
Thank you Lennart
Zope 2
Zope 3
Five
Plone 4
A process
AskCategoris
eEvaluate
Identify
Chop!
Guiding lights
Grok
Repoze
Pylons
TurboGears
Plone 4
Install
Colours/logoBranding
Content typesBehaviour
Integration
Content & Settings
Templating
Things that work well
Installation
Content editing
Collections (mmm.....)
ZODB
Settings
CliffsChanging the logo
Branding (“my designer gave me this”)
Content types (“I want to capture this data”)
Deployment
Adapters ?!?
Colours/logoNow
Custom folderCSSManagerDIYPloneStyle
Problems
Need to know Plone
TTW/filesystem
cliff
ZMI is scary
Future?
Plone GUI:Front end to customisatio
n registry
BrandingNow
Page templateSkin layers
Browser viewsBrowser
resourcesViewletsPortlets
Pain!
ProblemsToo many
ways
No separation between
customisation and
theming
Future?
CSS should be enough
Deliverance (NG?)
plone.maintemplate?
Template Customisation
Now
Page templateSkin layers
Browser viewsBrowser
resourcesViewletsPortlets
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
Content typesNow
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
BehaviourNow
Skin layer scripts
Tools
Methods in classes
Adapters
Problems
Knowing where to put
it
Patterns
Zope2 vs Zope3
Future?Adapters!Re-usable
behaviours?
IntrospectionPublished Patterns
... but you shouldn’t need to
do it as much!
Non-content management
Now
Archetypes
Custom views
Custom Python
Problems
Performance
Consistency
API fit
Future?Don’t do it in
Plone!
WSGISSO
Indexing
DeliveranceRepoze
Grok
Some themesThink about the audience
Find the “one true way”
Remove other ways
Customisation registry
Embrace through the web...
... but allow filesystem round-trip for deployment and collaboration
Plone 4
Install
Colours/logoBranding
Content typesBehaviour
Integration
Content & Settings
Templating