Re: [Zope] BTree Folders questions

2005-08-11 Thread David Pratt
This is really super, Jens!  This is what I was hoping.  Many thanks 
for your help and suggestions.


Regards,
David

In CMF-HEAD, which depends on Zope 2.8 and thus guarantees the 
availability of BTreeFolder2, it is an oversight that CMFBTreeFolder 
is not one of the automatically installed types upon portal 
instantiation. I filed a collector issue and will look at it over the 
next couple days:


http://www.zope.org/Collectors/CMF/371

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] BTree Folders questions

2005-08-11 Thread Jens Vagelpohl
I am using CMF 1.5.2 and Zope 2.8.0  - will upgrading again this  
week to 1.5.3 and 2.8.1  I removed my BTreeFolder2 product as it  
was indicating it was duplicated product in my event log after my  
recent upgrade - so it appears to have become part of the  
distribution.


It is part of 2.8, yes, so you will not need to install BTreeFolder2  
separately in that case (you did not mention version numbers in your  
original mailing).



I did not really understand the difference between a BTreeFolder2  
and a CMFBTreeFolder since CMFBTreeFolder did not appear as content  
even though it is displayed as an option in Core Content  in ZMI.


Content type registration for the ZMI and for CMF are two different  
things. An item showing up in the ZMI does not mean it exists in the  
types tool. A CMFBTreeFolder is just a BTreeFolder2 with all the  
necessary trimmings so it plays nice with CMF.


Portal buildout upon instantiation and types creation is handled  
through CMFSetup XML-based profiles. There is no way to express "If  
product A is installed, install type B". So for CMF 1.5, which can be  
run on Zope 2.7 and 2.8, you will have to do this step manually,  
tough luck, nothing you can do about it.


In CMF-HEAD, which depends on Zope 2.8 and thus guarantees the  
availability of BTreeFolder2, it is an oversight that CMFBTreeFolder  
is not one of the automatically installed types upon portal  
instantiation. I filed a collector issue and will look at it over the  
next couple days:


http://www.zope.org/Collectors/CMF/371

jens

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] BTree Folders questions

2005-08-10 Thread David Pratt
Hi Jens.  Thank you for your advice.  I am planning on contents of 
folders to be no more than 2000 items maximum and using CMFBTreeFolders 
for larger folders consistent with your recommendations.


I am using CMF 1.5.2 and Zope 2.8.0  - will upgrading again this week 
to 1.5.3 and 2.8.1  I removed my BTreeFolder2 product as it was 
indicating it was duplicated product in my event log after my recent 
upgrade - so it appears to have become part of the distribution.


I did not really understand the difference between a BTreeFolder2 and a 
CMFBTreeFolder since CMFBTreeFolder did not appear as content even 
though it is displayed as an option in Core Content  in ZMI.   So my 
content was appearing on the web but not visible in the portal as a 
folder. I guess I am wondering why isn't it ready to go by default as a 
core type in CMFDefault. It appears everything is there except 
registering in types tool.  My opinion is it would be really great if 
it were included as a core type (in the sense it is ready to go as the 
other types are). It could also remove confusion in ZMI that Core 
Content will produce content that is immediately recognized by the 
portal.  Many thanks.


Regards,
David

On Wednesday, August 10, 2005, at 07:38 PM, Jens Vagelpohl wrote:



On 10 Aug 2005, at 21:57, David Pratt wrote:

How many objects should one have in a single folder to consider using 
BTree Folder over the regular Folder?  Does it make sense to use a 
BTree folder for 100 - 500 objects or should it be reserved for 
situations where there are say 1000 + objects or more. Are there any 
benefits to be gained at the lower end as well or are there >> drawbacks?


I would use them with 100 and more items.


On another note, why do CMFBTree folders not appear in CMF? Is this 
the way they are supposed to work?  If so, what differentiates them 
from a BTreeFolder2 if they are not a type visible to CMF?


Do you have the BTreeFolder2 product installed? Only then can you 
instantiate and use the CMFBtreeFolder type in the types tool.


jens

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] BTree Folders questions

2005-08-10 Thread Jens Vagelpohl


On 10 Aug 2005, at 21:57, David Pratt wrote:

How many objects should one have in a single folder to consider  
using BTree Folder over the regular Folder?  Does it make sense to  
use a BTree folder for 100 - 500 objects or should it be reserved  
for situations where there are say 1000 + objects or more. Are  
there any benefits to be gained at the lower end as well or are  
there drawbacks?


I would use them with 100 and more items.


On another note, why do CMFBTree folders not appear in CMF? Is this  
the way they are supposed to work?  If so, what differentiates them  
from a BTreeFolder2 if they are not a type visible to CMF?


Do you have the BTreeFolder2 product installed? Only then can you  
instantiate and use the CMFBtreeFolder type in the types tool.


jens

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] BTree Folders questions

2005-08-10 Thread David Pratt
How many objects should one have in a single folder to consider using 
BTree Folder over the regular Folder?  Does it make sense to use a 
BTree folder for 100 - 500 objects or should it be reserved for 
situations where there are say 1000 + objects or more. Are there any 
benefits to be gained at the lower end as well or are there drawbacks?


On another note, why do CMFBTree folders not appear in CMF? Is this the 
way they are supposed to work?  If so, what differentiates them from a 
BTreeFolder2 if they are not a type visible to CMF?  Many thanks.


Regards,
David
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )