Re: [Zope-dev] Large folder product

2004-08-14 Thread Dieter Maurer
Rodrigo Dias Arruda Senra wrote at 2004-8-13 09:32 -0300:
 ...
Dieter Maurer [EMAIL PROTECTED] wrote:
 Ensure to use a LargeFolder and not a standard folder!

Searching for a folder product that supports lots of objects, I found
 ...

Plone comes with a BTreeFolder2 based Large Plone Folder.

-- 
Dieter
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Adding a TemporaryFolder inside a factory method of a Zope class

2004-08-14 Thread Dieter Maurer
Marco Bizzarri wrote at 2004-8-13 12:19 +0200:
 ...
|2) how can I do what I want to do in a single transaction?
|
|
| I fear you will need your own MountPoint logic that
| does not depend an preconfigured storages in Zope's configuration
| file.
|

I don't think so. You can add a temporary folder wherever you want in a
Zope installation without any configuration.

You may be right.

However, I see in Zope 2.7:

context.registerClass(
TemporaryFolder.MountedTemporaryFolder,
permission=TemporaryFolder.ADD_TEMPORARY_FOLDER_PERM,
icon='www/tempfolder.gif',
meta_type='Temporary Folder',
constructors=(TemporaryFolder.constructTemporaryFolderForm,
  TemporaryFolder.constructTemporaryFolder),
visibility=0 # dont show this in the add list for 2.7+ (use dbtab)
)

Thus, at least Zope 2.7 wants that you use DBTab.

Also, I'm using Zope 2.6.4, which has not any configuration for the
storage (no DBTab here).

I no longer have Zope 2.6 and therefore cannot help you further.

-- 
Dieter
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )