Questions tagged [zope3]

Zope 3 evolved out of Zope 2, and was originally intended to replace the latter. Today, Zope 3 refers to the new techniques and APIs such as the component architecture, that have migrated back into the Zope 2 project as well as other projects such as pyramid, Grok and BlueBream.

Zope 3 evolved from Zope 2 and improved the development experience through the use of a component architecture.

It was originally intended to replace Zope 2; today (2011) it is packaged as the Zope Toolkit libraries, which are the basis for the Grok and BlueBream web frameworks and also for the ever-evolving Zope 2, now known as "Zope" again. You'll also find the same component architecture and techniques in .

26 questions
4
votes
2 answers

What's the difference between IPloneSiteRoot and ISiteRoot in Plone?

I'm Working in Plone 4.1 and I'm just curious to know the difference between Products.CMFPlone.interfaces.IPloneSiteRoot and Products.CMFCore.interfaces.ISiteRoot. If I want to register a zope-3 style view, to which one should I register it?
Noe Nieto
  • 2,521
  • 2
  • 17
  • 25
4
votes
1 answer

Can zope.publisher.browser.BrowserView be used in Plone?

Given that Products.Five is an integration layer to make the Zope Component Architecture (ZCA) usable in Plone: Is it possible to use zope.publisher.browser in Plone or do I have to use Products.Five.browser to import BrowserView? The former…
aclark
  • 4,345
  • 1
  • 19
  • 31
3
votes
1 answer

Zope3 browser:page multiple interfaces

Let's say I have the following code in my configure.zcml file. I want my class to be implemented for another interface too, let's say Interface2
bogtan
  • 825
  • 2
  • 13
  • 23
3
votes
1 answer

Awstats on Debian 10 - too small number of visits - options to fix it

I am using Awstats for many years and before my upgrade on Debian 10, everything was working fine. I have a special configuration with an Apache2 server behind a Zope framework. I apply rewrite rules from Apache2 to forward request to Zope. Here my…
user1773603
3
votes
1 answer

Error when try to register implementer of zope.interface

I have next class: @implementer(ISocial) class SocialVKSelenium: pass And when I add it to zope registry: gsm = getGlobalSiteManager() gsm.registerAdapter(SocialVKSelenium) I got: TypeError: The adapter factory doesn't have a…
eirenikos
  • 2,296
  • 25
  • 25
2
votes
0 answers

PicklingError caused by p4a.calendar.interfaces.ICalendarSupport when migrating from 3.3.5 to 4.0.7

I am trying to migrate a Plone 3.3.5 installation to 4.0.7. Before migrating, it was decided that Plone4Artists Calendar should be removed. We followed the procedures proposed here http://plone.org/documentation/kb/cleaning-p4a, applying it for the…
albieback
  • 343
  • 1
  • 11
2
votes
7 answers

Help choosing between Django, Zope3 and Web2Py for WebService Server

I need to build a simple administrative webapp using python that will connect to MySQL. Web Application will need to expose some APIs via Web Services for other Web App and Android/iPhone clients to consume. I need help making technology…
storm_to
  • 1,495
  • 2
  • 16
  • 24
2
votes
1 answer

Getting error while running buildout for Setting Plumi and Zope Server on Linux using command "python3 bootstrap.py -c production.cfg"

I was installing Plumi for creating a production site. after installing plumi.app i faced below error whie running buildout using command : python3 bootstrap.py -c production.cfg Note:: Zope is installed and zope user is added.. The ERROR IS…
Saif
  • 21
  • 5
2
votes
1 answer

What is the way to know a Zope permission title by knowing its id (and vice-versa)?

On Zope and Plone you can register permissions like this: What is the way to get the permission's title from Python when you know the…
keul
  • 7,673
  • 20
  • 45
2
votes
1 answer

Issue with zope.component subscriber adapters adapting multiple objects

Given the following code: from zope.component import getGlobalSiteManager, adapts, subscribers from zope.interface import Interface, implements class A(object): pass class B(object): pass class C(B): pass class AB(object): …
Ben
  • 2,422
  • 2
  • 16
  • 23
1
vote
0 answers

Can not create zope project

I'm a zope/python newbee (senior Java programer) and due to inexperience I'm having some troubles starting up. Im working on Ubuntu 10.4 and I have configured Virtualenv for python. I switched to virtualenv, installed setuptools package and issues…
makcro
  • 195
  • 1
  • 3
  • 11
1
vote
2 answers

Getting the interface of a Zope 3 browser layer knowing only it's name

Having a Plone skin interface registered as follow: What is the simplest way to get the…
keul
  • 7,673
  • 20
  • 45
1
vote
1 answer

how do I do "model" calculation in Plone or Zope

This is a really basic design question, but I can't seem to find an answer. I'll use a really simple example, but my concern is for cases where the model-level calculations, "2+2" in this example, become complex. Let's say I'm designing an…
mjtrac
  • 187
  • 9
0
votes
1 answer

Error message when trying to edit a file : "The character set specified in the content type (UTF-8) does not match file content."

I have a Zope 3 framework with an interface that allows to edit directly the content of files from the browser. Everything was working fine up to now. Unfortunately, on some files, I can't edit them anymore, I have the following error message : "The…
user1773603
0
votes
3 answers

Modify or clean form input in zope or plone

So basically I'd like to try to clean/filter or sanitize an input form similar to other python web frameworks. Specifically I am trying to strip whitespace from the email address. I can do it in javascript but it seems like there should be a way to…
Kevin Nasto
  • 301
  • 5
  • 7
1
2