plonewars.com

August 28th, 2007

Rocky Burt: Zope 3 in Zope 2 Gotcha’s: Unicode

Viewlets

A viewlet’s render() method needs to return unicode objects because the
standard zope3 viewlet implementation concatenates the output of various
viewlet render()’s. If the output is a str, then implicit
conversion-to-unicode will happen using the default python character encoding
which is most often ascii (causing a utf-8 encoded str with non-ascii chars
to blow up).

Archetypes Schema Fields

Archetypes (as present in Plone 2.5 and 3.0, and possibly older) stores all
StringField fields as utf-8 encoded str’s irrelevant of what the Plone site
encoding has been configured as. Safest way to handle this is to always
feed StringField field mutators unicode objects instead of str’s. And upon
retrieval, be prepared to decode the str’s using utf-8
(ie context.Title().decode(’utf-8′) => u’someval’). Remember, StringField
accessors will always return utf-8 encoded str’s and Zope 3 often makes
assumptions that the string values it’s dealing with are unicode objects.

Summing Up

Use unicode objects everywhere. If some Zope 2 / Plone API
forces you to use str’s or get str’s convert them to
unicode’s before doing anything else.

Rocky Burt: Zope 3 in Zope 2 Gotcha’s: Unicode

Originally from Planet Plone by rocky


from Yoda http://plonewars.com/2007/08/28/rocky-burt-zope-3-in-zope-2-gotchas-unicode/







August 28th, 2007

buildout, instancemanager, and eggs - Plone: General | Google Groups

buildout, instancemanager, and eggs - Plone: General | Google Groups

Originally from del.icio.us/tag/plone by waxline


from Yoda http://plonewars.com/2007/08/28/buildout-instancemanager-and-eggs-plone-general-google-groups/







August 28th, 2007

Zest Software - Plone specificaties

Zest Software - Plone specificaties

Originally from del.icio.us/tag/plone by handjes


from Yoda http://plonewars.com/2007/08/28/zest-software-plone-specificaties/







August 28th, 2007

The Plone Blog: Copenhagen Performance Sprint: Sept 1-4th

Anton Stonor and the crew at Headnet.dk are hosting the Copenhagen Performance Sprint 2007 next week:

Anton writes: “We’ll spend four days on making Plone run faster and have fun in the capital of Denmark, Copenhagen.”  Sounds pretty good to me!

There are still a few seats left, you can sign up online.

The Plone Blog: Copenhagen Performance Sprint: Sept 1-4th

Originally from Planet Plone by Jon Stahl


from Yoda http://plonewars.com/2007/08/28/the-plone-blog-copenhagen-performance-sprint-sept-1-4th/







August 28th, 2007

Copenhagen Performance Sprint: Sept 1-4th

Anton Stonor and the crew at Headnet.dk are hosting the Copenhagen Performance Sprint 2007 next week:

Anton writes: “We’ll spend four days on making Plone run faster and have fun in the capital of Denmark, Copenhagen.”  Sounds pretty good to me!

There are still a few seats left, you can sign up online.

Copenhagen Performance Sprint: Sept 1-4th

Originally from The Plone Blog by Jon Stahl


from Yoda http://plonewars.com/2007/08/28/copenhagen-performance-sprint-sept-1-4th/







August 28th, 2007

Connexions: Rhaptos Software Development - Search Documentation

Connexions: Rhaptos Software Development - Search Documentation

Originally from del.icio.us/tag/plone by fmarcon


from Yoda http://plonewars.com/2007/08/28/connexions-rhaptos-software-development-search-documentation/







August 28th, 2007

Zope.org - Using Apache with ZServer (NOT Zope.cgi)

Zope.org - Using Apache with ZServer (NOT Zope.cgi)

Originally from del.icio.us/tag/plone by jdoklovic


from Yoda http://plonewars.com/2007/08/28/zopeorg-using-apache-with-zserver-not-zopecgi/







August 28th, 2007

Toonux.org passe sur Karma, une dedibox qui me rend bien des services

Toonux.org passe sur Karma, une dedibox qui me rend bien des services By bluetouff 0 Commentaires Categories: toonux, dedibox, zope, Freeetplone Comme depuis maintenant un peu plus de 36heures et que ma Freebox ne semble pas disposer à synchroniser plus de 30 secondes avant de repartir en chenillard (

Toonux.org passe sur Karma, une dedibox qui me rend bien des services

Originally from [Technorati] Tag results for plone


from Yoda http://plonewars.com/2007/08/28/toonuxorg-passe-sur-karma-une-dedibox-qui-me-rend-bien-des-services/







August 28th, 2007

Pydev adventures: Debugging Zope in Pydev Extensions

Pydev adventures: Debugging Zope in Pydev Extensions

Originally from del.icio.us/tag/plone by patrimith


from Yoda http://plonewars.com/2007/08/28/pydev-adventures-debugging-zope-in-pydev-extensions/







August 28th, 2007

Why do we even have these registries? — Plone CMS: Open Source Content Management

Why do we even have these registries? — Plone CMS: Open Source Content Management

Originally from del.icio.us/tag/plone by robzonenet


from Yoda http://plonewars.com/2007/08/28/why-do-we-even-have-these-registries-%e2%80%94-plone-cms-open-source-content-management/