15 Mar
2013
15 Mar
'13
2:29 p.m.
On Fri, 2013-03-15 at 11:12 +0530, Pratik Kharwade wrote: [...]
While updating, the our application doesnt response till the updates are done. The user can't interact with the application.
Some initial thoughts: The update should be done by a separate process or thread than the user interface code. Update one document at a time: load a complete document to a temporary local file before telling BaseX to import it. An alternative is to work with two databases, updating the non-live one and then switching over. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml