3. About me
● Working at the Royal Belgium Institute of
Naural Science
● Project: MARS (Multimedia Archaeological
Research System)
● Contact: davconvent@gmail.com
● IRC: davconvent
4. This talk
This talk is a tutorial, mostly given as a live demo.
Detailed documentation on covered subjects is
available on http://plone.org/documentation
6. File System Development
Good reasons for choosing to develop on the file system:
● Repeatable
● Version-able
● Testable
● Distributable
● Lets you do more
7. Tools for Initiating a new project
● Paste Script / paster
$ paster create -t TEMPLATE
[–svn-repository=REPOS]
[–config=CONFIGFILE] [PROJECTNAME]
● ZopeSkel (demo)
$ paster create –list-templates
● DIYPloneStyle
8. Anatomy of a theme package
● skins/ folder still there
● __init__.py is now empty (at least it can be)
● No Extensions/ folder, thus no Install.py
module
11. Zope 3 resources
● Images
– Don't have Zope 2 image methods
(i.e. the tag() method that generates and <img/>
html tag)
● Stylesheets
– Not ideal when DTML is needed
12. The stylesheet
● Important: manually set 'portal_css' in debug
mode before starting any CSS work.
● Use of the Firefox 'Web Developer' add-on
toolbar.
● Other handy Firefox extensions and add-ons:
– View Source Chart
– Aardvark
– Firebug
13. xhtml output
● Strong advise: use default Plone output
● If changing the output is really needed...
– Macros and slots in Zope 2 Page Templates
– New Zope 3 Viewlets implementation in Plone 3