Skip to main content

Home/ Plone distributed documentation/ Group items tagged zope

Rss Feed Group items tagged

Graham Perrin

Saving the day: recovering lost objects - Jarn · Plone Solutions - 1 views

  • recovering lost objects
  • entire section of his site was missing
  • someone had deleted the object
  • ...26 more annotations...
  • 9 days earlier
  • Undo was no longer an option
  • Truncating the Data.fs (removing all transactions since, including the offending one)
  • undesirable
  • through RelStorage
  • time traveling: zc.beforestorage
  • small additional buildout configuration file
  • beforestorage.cfg
  • [buildout]extends = buildout.cfgeggs += zc.beforestorage ZODB3 zope.proxy[versions]ZODB3 = 3.8.1zope.proxy = 3.4.2[relstorage-patch]recipe = plone.recipe.commandcommand = cd ${buildout:eggs-directory}/ZODB3-3.8.1-py2.4-linux-i686.egg/ZODB curl -s http://svn.zope.de/zope.org/relstorage/tags/1.1c1/poll-invalidation-1-zodb-3-8-0.patch | patch -N -p0 cd ${buildout:directory}update-command = ${relstorage-patch:command}[instance]zope-conf-additional += enable-product-installation False
  • enable-product-installation
  • tells Zope not to try and write product information to the ZODB
  • because zc.beforestorage puts your ZODB in read-only mode
  • edit the zope.conf
  • <zodb_db main>    # Main database    cache-size 650000%import zc.beforestorage%import relstorage <before> before 2008-12-08T10:29:03    <relstorage>        <oracle>            dsn RELSTORAGE_DSN            password xxxxxxxxx            user xxxxxxxx        </oracle>    </relstorage> </before>    mount-point /</zodb_db>
  • impossible as the site stores
  • <before> before 2008-12-08T10:29:03    <relstorage>        <oracle>            dsn RELSTORAGE_DSN            password xxxxxxxxx            user xxxxxxxx        </oracle>    </relstorage> </before>
  • when you start the instance, you are in the past
  • found the lost object
  • Export/Import
  • save the export on the server
  • buildout with your regular buildout file
  • restart
  • import the .zexp
  • reindex the imported content
  • related data that lives outside of the object itself is gone
  • Martijn Pieters
Graham Perrin

How to unit test security declarations in Plone and Zope | Twinapex Blog - 0 views

  • How to unit test security declarations in Plone and Zope
  • October 3, 2008
  • a fool proof example
  • ...6 more annotations...
  • great mystery
  • how to properly unit test your content type and workflow security declarations
  • something better
  • no one seem to know
  • RestrictedPython package Read me got revamped
  • a clue how to one could hit Unauthorized exceptions in unit testing
  •  
    How to unit test security declarations in Plone and Zope
Graham Perrin

AkaSig » Blog Archive » Zope and Plone learning roadmap - 0 views

  • mastering Zope and Plone
  • newbies (like me) asking for information about the first steps
  • the diagram below is my guess on the ideal learning roadmap
  • ...5 more annotations...
  • Zope+Plone :
  • posted on Thursday, December 11th, 2003
  • pleased to have such an updated version available and I would share it
  • it would be great to find such a thing in the documentation section of plone.org
  • the more I learn Plone the more I see I have more to learn…
  •  
    The diagram is old (2003) but the presentation is thought-provoking.
Graham Perrin

Zope 3 wiki FAQ - General - Known Good Set (KGS) - 0 views

Graham Perrin

Zope 3 Known Good Sets - 1 views

  • Zope 3.4.0 Released
  • January 29, 2009
  • integrates very well with the rest of the Python community
  • ...7 more annotations...
  • Zope 3 is now fully converted to an egg-based system
  • The Known Good Set (KGS)
  • a configuration of packages and their versions that are known to work well together
  • verified by running over twelve thousand tests on a daily basis
  • against Python 2.4 and 2.5 on the 32- and 64-bit platforms
  • "nail" the versions
    • Graham Perrin
       
      Is nailing analogous to pinning? In Plone community, I'm more familiar with the word 'pinning'.
  • KGS can be used in several ways
Graham Perrin

The Zope Book (2.6 Edition): Acquisition - 0 views

  • Acquisition
  • allows dynamic behavior to be shared between Zope objects
  • containment
  • ...4 more annotations...
  • understanding of acquisition is important
  • Acquisition vs. Inheritance
  • Objects are situated inside other objects. These objects act as their "containers".
  • may acquire behavior from their containers
Graham Perrin

Of babies and bathwater (or: Why I love the Zope Component Architecture) - Martin Aspeli - 0 views

  • Of babies and bathwater (or: Why I love the Zope Component Architecture)
  • Martin Aspeli
  • Dec 01, 2009
  • ...17 more annotations...
  • In defence of one of the great Python frameworks of the past decade
  • ZCA rocks. It's an incredibly advanced and powerful way to build software
  • ZCA adds complexity. It demands that you swallow its core concepts up front (interfaces, adapters, utilities, events) and get to know them pretty well
  • people can do crazy things, usually doing as much harm as good
  • elegant frameworks like BFG or Pylons
  • That doesn't mean the ZCA is right for all situations
  • learning to use the ZCA effectively is a bit like learning a new programming language on top of Python. You need to "get" those concepts
  • For the ZCA itself, there is clearly an opportunity right now to evolve
  • My personal wish-list
  • advice for projects, such as Plone, that use the ZCA for extensibility and inversion-of-control
  • Don't let the ZCA be the first API that people see
  • don't assume everyone has yet reached ZCA mastery
  • ZCA as a building block
  • BFG does this very well
    • Graham Perrin
  • We're trying to do something similar with Dexterity and the ecosystem of tools around it
  • The same will hopefully be true for other technologies as we move towards Plone 5
  • improved integrator learning curve
Graham Perrin

Bug #415270 in collective.buildout: "Less memory hungry settings for plone.recipe.zope2... - 0 views

  • Less memory hungry
  • plone.recipe.zope2instance
  • Less memory hungry settings for plone.recipe.zope2instance
  • ...5 more annotations...
  • zodb cache site of 5000 objects
  • too much for servers of 512 MB - 768 MB memory (Plone 3.x)
  • suggest smaller cache
  • cache megabyte limiter
  • release notes
  •  
    Interesting. I'll experiment with my Plone 3.3.4 ZEO cluster on a G4 PowerPC Xserve, where physical RAM is limited to 2 GB …
Graham Perrin

Zope.org - The Tranalyzer - 0 views

Graham Perrin

Zope.org - System Architecture - 0 views

shared by Graham Perrin on 26 Dec 08 - Cached
  • somewhat dated
    • Graham Perrin
       
      Maybe dated, still interesting (to me) to see *anything* like this.
Graham Perrin

Can I annotate Gmane alternative views of list/forum activities? - 5 views

Maybe. Of three or more views of a message: http://article.gmane.org/gmane.comp.web.zope.plone.documentation/3393 http://thread.gmane.org/gmane.comp.web.zope.plone.documentation/3005/focus=339...

started by Graham Perrin on 12 Nov 08 no follow-up yet
Graham Perrin

Plone 4 architecture - 38 views

  •  
    PDF
  •  
    One of the PNGs at http://www.wuala.com/Zope%20&%20Plone/Plone/2010/01/08/a is based on Martin Aspeli's PDF.
Graham Perrin

Good coding practices - Plone CMS: Open Source Content Management - 0 views

  • traditionally supported the two most recent versions of Zope (2). This is generally a good model for add-ons to inherit: supporting the two most recent (major) versions
  • Plone 2.5 and Plone 3.x
  • contributions available to a much broader audience
Graham Perrin

Changeset 29794 - Plone - 0 views

shared by Graham Perrin on 06 Oct 09 - Cached
Graham Perrin

Zope and Plone courses - Upfront Systems - 0 views

  •  
    Found in Graham's Diigo network view of other people's bookmarks taggedPlone
Graham Perrin

DCWorkflow documentation - 2 views

  • 2001-12-20
    • Graham Perrin
       
      In irc://irc.freenode.net/#plone in late 2009, this 2001 content is recommended despite its age. DCWorkflow is well-designed.
1 - 20 of 26 Next ›
Showing 20 items per page