skip to navigation
skip to content

Not Logged In

collective.flexibleordering 1.0beta2

A custom folder ordering implementation, which stores order persistently, but sorts content based on a rule.

Introduction
============


This product provides a couple IOrdering adpaters to provide efficient
auto-sorting of folders with significant amounts of content.

It includes a title (``flexible-title-ordering``) and id
(``flexible-id-ordering``) ordering, but is intended to allow easy
creation of custom sorts.

It is easy to create custom ordering implementations by subclassing
one of the included implementations and simply overriding the
``key_func(obj)`` method which generates a sort key for contained
content. Essentially, any ordering can be achieved in this manner.

Note: The full data structure containing the folder order key -> id
mapping is stored on the folder itself. This means that folder
instances with a large amount of content may become somewhat large,
but that order lookups should be quite fast.

Credits
-------


Alec Mitchell
Jazkarta, Inc.

With thanks to:
Dumbarton Oaks
KCRW Radio

Changelog
=========

1.0beta1 (2014-03-08)
-------------------

- Initial release  
File Type Py Version Uploaded on Size
collective.flexibleordering-1.0beta2.zip (md5) Source 2014-06-05 19KB
  • Downloads (All Versions):
  • 52 downloads in the last day
  • 414 downloads in the last week
  • 1581 downloads in the last month