#80: ナビゲーション portlet
The current navigation tree implementation should be refactored. 現在のナビゲーション木実施は、refactoredされなければなりません。
Motivation 動機づけ
The current implentation of the navigation tree is consuming a lot of resources because it is waking objects and has unnecessary complexity. それが物を甦らしていて、不必要な複雑さを持つので、ナビゲーション木の現在のimplentationは多くの資源を消費しています。 Proposal 提案
Refactor the navtree-generating method by backporting the approach used in NavigationPortlets. アプローチがNavigationPortlets.で使ったbackportingによってRefactor navtreeを生み出している方法 Implementation 実施
NavigationPortlet has a far more efficient approach to building the navigation tree by using ExtendedPathIndex. But this product is currently part of PlonePortlets. The method that generates the tree will be inserted in PloneTool.py and the necessary changes in the catalog tool are added in a new setupNavTree method. NavigationPortlet は、ExtendedPathIndexを用いてナビゲーション木を造ることへのはるかにより効果的なアプローチをします。しかし、この製品は、現在 PlonePortletsの一部です。木を生み出す方法はPloneTool.pyに挿入されます、そして、カタログツールの必要な変化は新しい setupNavTree方法で加えられます。
The following files are marked for deletion: 以下のファイルは、削除の対象に選ばれます:
StatelessTree StatelessTree
StatelessTreeNav.py StatelessTreeNav.py
The setupNavTreeStyleSheet method in StatelessTreeNav.py will be moved to Portal.py All options used in the current navtree stylesheet will available for migration purposes. StatelessTreeNav.pyにおけるsetupNavTreeStyleSheet方法は、移動目的に利用できる現在のnavtree stylesheet意志で使用されるPortal.py Allオプションの方へ動かされます。