From 58367f126d1be7f551fc856a9cd526bd79927307 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 22 Oct 2022 15:31:36 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index 7f20159..7747b01 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -17,17 +17,14 @@ * - CLI * * -* XXX ASAP move index stuff to pwiki/index.js -* XXX can index validation be async??? -* XXX INDEX / CACHE: -* - centralized -* - nestable -* - updates propagate down to substore -* - updates propagate up to root -* - extensible -* name, generate, get (extensible), update, delete -* - event-based??? -* - sync??? +* XXX ASAP INDEX move index stuff to pwiki/index.js +* XXX INDEX DOC can index validation be async??? +* ...likely no +* XXX INDEX add option to set default action (get/lazy/cached) +* XXX INDEX might be a better idea to make the iterator (.index_attrs) +* and global method (.index(..)) out of the mixin and keep them +* as utility methods. +* ...the mixin can still live for convinience. * XXX BUG: when editing the root page of a substore the page's .cache is * not reset for some reason... * ...the problem is in that .names() cache is not reset when a new