RE: [Zope] faster navigation with sorted content-list-property?(now: import Excel files recipe)
Elena, Thanks for the prod. I have been meaning to create a recipe for uploading Excel files. You can see it at ZopeLabs. http://www.zopelabs.com/cookbook/1018529630 Good luck, Trevor
-----Original Message----- From: Elena Schulz [mailto:elena.schulz@gmx.net] Sent: Wednesday, April 10, 2002 8:14 AM To: Trevor Toenjes Subject: Re: [Zope] faster navigation with sorted content-list-property?
Hi Trevor,
thanks for your reply. I´ll try OrderedFolders. But I have another question. I´ve read from the archives that you tried to import excel-files to zope. Did you manage? If so I would like to know how.
Thanks again,
Elena
-----Ursprüngliche Nachricht----- Von: Trevor Toenjes <zope@toenjes.com> An: Elena Schulz <elena.schulz@gmx.net>; <zope@zope.org> Gesendet: Dienstag, 9. April 2002 17:40 Betreff: RE: [Zope] faster navigation with sorted content-list-property?
I get your point, but rather than solving by writing a new index file... Take a look at OrderedFolders to sort your list. This creates a sorted list in your ZODB, without creating a second file to do the same thing.
Of course this doesn't work if you have more than one sorting requirements on the same list. But for NAV this would seldom be the case.
HTH, Trevor
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Elena Schulz Sent: Tuesday, April 09, 2002 11:25 AM To: zope@zope.org Subject: [Zope] faster navigation with sorted content-list-property?
Dear List,
the NFGnav-product and most navigator solutions that I know (including my own ones) loop over the content of folders on every page-hit. If there are several additional dynamic navigation-elements like dropdown-lists, breadcrumb-navigators etc. there is a lot of timeconsuming looping for every page-hit. With a sorting-feature it will be even worse.
Wouldn´t it be better i.e. faster to store the sorted-content of the folder in a list-property that changes whenever a document or folder is added to that special nav-folder so that different nav-methods can collect the same static content-info?
May be someone uses this kind of nav-folder already?
Does anybody have some comments or hints about that?
Thanks a lot,
Elena
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Trevor Toenjes