Re: [Zope-dev] BTreeFolder released

2000-07-07 Thread Toby Dickenson

On Mon, 03 Jul 2000 16:51:23 -0400, Shane Hathaway
[EMAIL PROTECTED] wrote:

I had some inspiration today and discovered a simple way to write a
BTreeFolder implementation.

Wahay!

http://www.zope.org/Members/hathawsh/BTreeFolder/

It works better than I thought it would.  It allows you to store
thousands (well, I've tested it with only 1536, but I don't know of any
limit) of objects with a user interface optimized for such a large
folder.

I'm interested, but don't have time to install it at the moment. Could
someone post a gif of it's user interface please?


Toby Dickenson
[EMAIL PROTECTED]

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




RE: [Zope-dev] Request for amplification on new Product permissions API.

2000-07-07 Thread Brian Lloyd

 So, what do I need to do to allow controlled access to this object?
 I understand that Shopper, inheriting from SimpleItem, already has
 the access to unprotected subobjects flag.  And I'd rather protect
 the object correctly, anyway grin.  I tried adding an ac_permissions
 structure to the class, giving View permission to the attribute
 that is throwing the unauthorized error, but that doesn't seem to
 have changed the behavior.  

Are you calling:

Globals.default__class_init__(MyBasketClass)

on your Basket class? This is (poorly documented but) 
necessary for permissions declared in __ac_permissions__ 
to be correctly initialized.


Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 




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




Re: [Zope-dev] BTreeFolder released

2000-07-07 Thread Martijn Pieters

On Fri, Jul 07, 2000 at 01:06:06PM +0100, Toby Dickenson wrote:
 I'm interested, but don't have time to install it at the moment. Could
 someone post a gif of it's user interface please?

Shane 'borrowed' Guido's time machine to post the following before you asked
this:

  http://www.zope.org/Members/hathawsh/BTreeFolder-announce

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
| ZopeStudio: http://www.zope.org/Products/ZopeStudio
-

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




Re: [Zope-dev] BTreeFolder released

2000-07-07 Thread Martijn Pieters

On Fri, Jul 07, 2000 at 09:10:38PM +0200, Martijn Pieters wrote:
 Shane 'borrowed' Guido's time machine to post the following before you asked
 this:
 
   http://www.zope.org/Members/hathawsh/BTreeFolder-announce

Heh, I also made Shane move the screenshot to keep or News page clean.. =) So
the image is now at the original Product page:

  http://www.zope.org/Members/hathawsh/BTreeFolder

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
| ZopeStudio: http://www.zope.org/Products/ZopeStudio
-

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




Re: [Zope-dev] package descriptions

2000-07-07 Thread Michael Bernstein

ethan mindlace fremen wrote:
 
 Michael Bernstein wrote:
 
  Please change the page so both the title and the description
  have the same background color, but that the color is
  alternated between grey and white for odd and even Products.
 
 Ok, well, I've given that a try.  Some people think I should do it some
 other way.  If you feel strongly about it, email [EMAIL PROTECTED]

Thanks, that's a *lot* more legible (I do feel strongly
about it). What other ways are people asking for?

 It also shows the most recently edited products first, and sorting by
 anything or requesting more Member products hides all Digital Creations
 stuff.

Yeah, that's pretty slick. It occurs to me that the same
layout should be used for the How-To's page.

 More Products work is on the way in the medium-term future.
 
 I would still really appreciate it if people would change their products
 page so that the first line is a plain text summary of their product.  I
 have HTML quoted everything, which makes the formatting better, but some
 descriptions are still less than usefull.

Perhaps a 'short_description' property could be added to the
Product, and it would default to 'first line' only if that
property was blank.

 Thanks for your help,

You're welcome.

Michael Bernstein.

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