Quote:
Originally Posted by Tuna
Does the Epub specification support documents that can dynamically alter themselves?
|
Not yet, but it will
Quote:
If it does, then regardless of your renderer, you would have to either re-index the entire tree up to your current point or accept that your page boundaries may be inaccurate.
|
Umm this discussion has nothing to do with page boundaries. pages are an entirely optional feature of e-books, that I for one hope will go away very quickly.
Quote:
If your viewer allows the user to change the DOM/CSS then it faces exactly the same issues. On a PC, that's not a problem. On a resource restricted device such as a low-end e-reader, you have to ask yourself if providing such functionality is going to provide the user with a poor experience.
|
Providing a user with interactivity is far more imporatnt than providing a user with page boundaries.
Quote:
Absolutely untrue - in fact quite the reverse. If you manage document updates as deltas to the index information, then having pre-indexed documents gives faster updates than un-indexed ones that will require a complete re-parse to ensure you are displaying the correct information.
|
Wow are you seriously saying what I think you're saying here? In order to calculate a delta to an index, you would have to re-create the entire index, calculate the delta and then apply it to the on disk index. And you really expect me to believe that is faster than altering an in-memory DOM tree?