[Grok-dev] Dolmen and its releases
optilude+lists at gmail.com
Thu Oct 22 09:12:55 EDT 2009
Souheil CHELFOUH wrote:
Nice to see so many new packages! :-)
> A Zope3/Grok File Representation package.
> dolmen.file is a layer above zope.app.file.file.File, adding a notion
> of filename, missing in the original implementation.
Is it Grok specific? Otherwise, there's also plone.namedfile, which I
guess does something similar.
> Dolmen zodb blob handlers (using ZODB >= 3.9.2)
> dolmen.blob is a layer above dolmen.file, using the ZODB blobs as a
> storage facility. It respects the zope.app.file IFile and the
> dolmen.file INamedFile interfaces.
... which is also in plone.namedfile (as an optional extra if you don't
have blob support in your ZODB). :-)
> Dolmen relations
> dolmen.relations is a thin layer above zc.relation, allowing a simple
> and straightforward implementation of standalone relationships between
How is this different to z3c.relationfield, which I believe is also used
> Dolmen thumbnailing library
> dolmen.thumbnailer is package specialized in Thumbnail generation.
> Using the dolmen.storage mechanisms, it allows a pluggable and
> flexible thumbnail storage.
Cool. What does it use to scale? At what time does it do the scaling?
> File widget for z3c.form, using Grok
> dolmen.widget.file is a package that walks hand-in-hand with
> dolmen.file. It provides a useable and pluggable way to render the
> dolmen.file.FileField in a z3c.form.Form, using Grok (through
Nice. There's a file widget in plone.formwidget.namedfile, by the way,
although that's possibly a bit more Ploney.
> Image widget (with thumbnails) for z3c.form, using Grok
> dolmen.widget.image is a thin layer above dolmen.widget.file providing
> a widget suitable to fields implementing IImageField. It adds, thanks
> to dolmen.thumbnailer a preview of the uploaded image in both input
> and display mode.
Again, one can be found in plone.formwidget.namedfile, though that
doesn't have scaling support yet. Hopefully, that'll get added soon,
maybe with the dolmen.thumbnailer thing.
> We have also released the first version of megrok.z3cform.base, used
> in the project
That's really good to hear. We have some z3c.form-in-Grok stuff in
plone.directives.form. I would like to maybe unify that with something a
bit more Grok specific. I'm hoping that in Plone 4/Zope 2.12 it'll be a
bit easier to use standard z3c.form forms (currently there's a
requirement to wrap forms in a view when using plone.z3cform, which
annoys me a bit).
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
More information about the Grok-dev