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
0
votes
2 answers

Zope 3 and current Products

On this page http://www.zope.org/Products at the bottom is a full list of Zope products but most of them are available for Zope 2 not for Zope 3 e.g. ZMySQLDA. Where I can find list of all Products only for Zope 3? Or maybe I am wrong and this list…
pmoniq
  • 1,883
  • 2
  • 19
  • 22
0
votes
3 answers

Plone Permissions

I am creating a Plone site by help of this book using 4.3.x Professional Plone for Development so i have now 4 members : Manager Customer Ticket Collector Staff so that I customized some permissions according to role but I am fixed at certain…
snipersnack
  • 133
  • 1
  • 1
  • 9
0
votes
1 answer

Removing 'Add new...' from object menu on a specific view

What would be the easiest way (using code in a view) to remove the 'Add new...' menu item from the object menu for a specific view? I've used IConstrainTypes before, but it seems a little strange since it stores the constrains between requests.
juriejan
  • 440
  • 3
  • 12
0
votes
1 answer

Need help understanding View, Viewlet, ViewletManager and Page

I know it's certainly a naive question but I couldn't figure out the answer by reading the scattered (and sometimes outdated docs) so I'm a bit confused. What's the conceptual meaning of all these view layer components and what's the difference…
BahmanM
  • 1,420
  • 10
  • 18
0
votes
1 answer

How can I get object from ZODB by url?

How can I get object from ZODB database in Zope3 project by url 'http://ecample.com/folder1/object1'? obj1 = someMethod('http://ecample.com/folder1/object1') Is there any tools of methods for this? Like absoluteUrl() but opposite? Or I must parse…
Gleb
  • 731
  • 1
  • 8
  • 14
0
votes
1 answer

ZEO deadlocks on uWSGI in master mode

Good day! I am migrating to uWSGI deployment. The project is half on ZOPE3 and uses ZODB with ZEO for multiple access. If I start the uwsgi daemon like this: uwsgi_python27 --http :9090 --wsgi-file /path/to/file Everything runs OK. It's the Single…
0
votes
1 answer

Zope component discrepancy between Interface(obj) and getAdapter(obj, Interface)

What could cause Interface(obj) to return obj, while getAdapter(obj, Interface) returns a properly adapted object?
Ben
  • 2,422
  • 2
  • 16
  • 23
0
votes
1 answer

Loading of initial data before tests in Zope 3

How can I fill database with test data in Zope 3 project? I want this data to be loaded before any tests began (doctest, unit test...), I don't want to load it manually in SetUp methods...Thanks!
Gleb
  • 731
  • 1
  • 8
  • 14
0
votes
1 answer

Streaming a xls file in zope

I'm having troubles using zope. I just need to serve to the client a xls file created with python xlwt module but I don't find the way to do that. In my .pt file I have a button that calls a .py function, this function creates correctly the file,…
0
votes
1 answer

Change i18n_domain for Products.Five registered pages

It seems that one template from Products.Five (manage_interfaces) has a bad i18n markup, making interfaces name translatable. i18n domain is not defined, therefore the global one is used. I want to change the i18n domain for that page, but I don't…
Mihnea Simian
  • 1,093
  • 1
  • 7
  • 13
-1
votes
1 answer

BlueBream framework and multi connections to databases

I put the first steps in BlueBream framework. In my project I must get data from RDBMS - MySQL, PostgreSQL and MS Server. For now, I made a simple tutorial helloworld :) I know how to write Interfaces and Implementations, etc. My question is: How to…
pmoniq
  • 1,883
  • 2
  • 19
  • 22
1
2