pandell / Spagety

Other
0 stars 0 forks source link

Remove Page / Pruning #11

Open cjasinsk opened 10 years ago

cjasinsk commented 10 years ago

Be able to remove pages if they are no longer needed. Need to remove all child nodes / pages. Need to remove all bindingContexts / cleanNodes Need to remove all html Need to remove any css added to head Need to notify parent it no longer exists

Pruning could occur if as a task that runs periodically removing any nodes that have not been accessed within a certain amount of time. This could help to keep the tree smaller (although if the user goes back to those pages, they would have to reload them all again).