plonewars.com

March 28th, 2007

CacheFu sprinting status

I pair-programmed on CacheFu today with Maciek Dziergwa. See yesterday’s entry for a list of things…

CacheFu sprinting status

Originally from [Technorati] Tag results for plone


from Yoda http://plonewars.com/2007/03/28/cachefu-sprinting-status/







March 28th, 2007

Benefit NOW from using GenericSetup and Zope 3 technologies — plone.org

Benefit NOW from using GenericSetup and Zope 3 technologies — plone.org

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


from Yoda http://plonewars.com/2007/03/28/benefit-now-from-using-genericsetup-and-zope-3-technologies-a%c2%80%c2%94-ploneorg-15/







March 28th, 2007

Welcome to the Little Rock Writing Project — Rhetoric and Writing

The Little Rock Writing Project (LRWP) is a network of K–college Teacher-Consultants, area teachers who have successfully completed intensive preparation in the teaching of writing.

Welcome to the Little Rock Writing Project — Rhetoric and Writing

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


from Yoda http://plonewars.com/2007/03/28/welcome-to-the-little-rock-writing-project-a%c2%80%c2%94-rhetoric-and-writing/







March 28th, 2007

Press Room — plone.org

Press Room allows you to instantly create a polished press room in your Plone site to hold press releases, press clips and press contacts.

Press Room — plone.org

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


from Yoda http://plonewars.com/2007/03/28/press-room-a%c2%80%c2%94-ploneorg-3/







March 28th, 2007

IIS + Zope + Plone — Fresh Logic

IIS + Zope + Plone — Fresh Logic

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


from Yoda http://plonewars.com/2007/03/28/iis-zope-plone-a%c2%80%c2%94-fresh-logic/







March 28th, 2007

Rhetoric and Writing — Rhetoric and Writing

This site uses the Open Source Content Management System Plone

Rhetoric and Writing — Rhetoric and Writing

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


from Yoda http://plonewars.com/2007/03/28/rhetoric-and-writing-a%c2%80%c2%94-rhetoric-and-writing/







March 28th, 2007

Tickle in my mind

Some nice designs

Tickle in my mind

Originally from del.icio.us/tag/plone by tomin.fhl


from Yoda http://plonewars.com/2007/03/28/tickle-in-my-mind/







March 28th, 2007

Welcome to our new website! — Washington Toxics Coalition

Welcome to our new website! — Washington Toxics Coalition

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


from Yoda http://plonewars.com/2007/03/28/welcome-to-our-new-website-a%c2%80%c2%94-washington-toxics-coalition/







March 28th, 2007

Reinout van Rees: CacheFu sprinting status

I pair-programmed on CacheFu today with Maciek Dziergwa. See
yesterday’s
entry

for a list of things we could work on.

Fixing unittests

Today’s cachfu sprinting started out with fixing the failing
unittests. In the first hour, we fixed two templates in CMFSquidTool
and fixed one failing unittests: a test that failed if you didn’t have
an apache running on port 80 on your local machine. That’s not very
unittest-like, but ok. We now catch the error that occurs and the rest
of the tests are running ok.

We added a few if/else statements to CacheSetup that conditionally
import code for either plone 3.0 or 2.5, this makes sure the product
is usable for both. The change was needed because plone3.0/zope2.10
uses a different page template implementation.

We ran into some remaining test problems:

  • The rules defined in CacheSetup’s genericsetup.xml seem to
    disappear from the cache configuration, somehow. strange. Only in
    plone 3.0, though.
  • PolicyHTTPCacheManager also has a testing problem: the result is
    different in 3.0 and 2.5 due to a change to cmf 2.x. There’s a
    strange message in the doctest: Starting with CMF 2.x any caching
    policies previously registered with the site are automatically
    applied to CMF Files and Images in their respective index_html, so
    we get the cache headers even before associating with our
    PolicyCache.
    Anyone know what to make of that?

Genericsetup

Genericsetup support was added by Rocky (and it works like a charm),
it only missed the last configuration tab. Nice, bite-sized task. We
discovered it was missing the data from the last configuration tab
because that data comes from a separate tool (the pagecachemanager)
in the plone root, not from AT contenttypes like the rest of the
cachefu setup machinery. We didn’t get it working yet, basically
because there was a missing configure.zcml that prevented the
testing mechanism from finding the exportimport adapters. Now I’m
getting another error. We’ll figure it out.

Handy comments we got during the day

During the day, I got a couple of very handy comments from people
that I’m writing down here to preserve them.

  • Wiggy suggested what is essential for caching is that someone
    implements a post-publish and pre-publish events for the zope2 and
    zope3 publishers. Once you have those you can easily reimplement
    cachefu cleanly. You want post-traversal-pre-publish so you can
    look for a cached rendering you can immediately serve and you want
    post-publish so you can tweak response headers and cache the final
    rendered output
    . If it got implemented during the sprint, it
    could potentially end up in zope 2.11, which would mean plone
    3.5+.
  • Wiggy pointed me at lovely.viewcache, that caches z3 views so
    you can strike that from your todo list. Zope3 views, no cachefu
    evilness.
  • Stonor said z3c.responseheaders also looks relevant.
  • During the lunch, I talked with Balasz and Alec. The conclusion
    was that adding the event to zope’s publisher wasn’t that good an
    idea. The publisher will change anyway (when twisted will get
    used). And you probably can’t send a response back to the browser
    from within an event. Balasz has some code in a json server that
    patches zope’s publisher. That might be a good stop-gap measure
    that replaces three monkeypatches with a single one. And it is
    something that will work in plone 2.5 and 3.0, too.

Reinout van Rees: CacheFu sprinting status

Originally from Planet Plone by reinout


from Yoda http://plonewars.com/2007/03/28/reinout-van-rees-cachefu-sprinting-status/







March 28th, 2007

Exemplo 1: Como acessar um objeto de conteúdo a partir de Script Python. — fabiorizzo.com - PZP Rocks!!!

Exemplo 1: Como acessar um objeto de conteúdo a partir de Script Python. — fabiorizzo.com - PZP Rocks!!!

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


from Yoda http://plonewars.com/2007/03/28/exemplo-1-como-acessar-um-objeto-de-contea%c2%bado-a-partir-de-script-python-a%c2%80%c2%94-fabiorizzocom-pzp-rocks/