New answers tagged

2

What does a local database give you ? Referential integrity, atomicity and transactionality. I'd look at a serialisation mechanism for small applications, but as soon as you start maintaining sets of data, and particularly when you have to update subsets of that data, then I'd start looking at a local database. e.g. if you're looking to save a tree of data, ...


0

What serialization brings to the party is that it makes it easier (in theory at least) to swap out one DB with another. Taking this one stage further, your app might talk to some kind of mid-tier which then interfaces with the DB. Having a platform agnostic data transfer method gives you a greater breadth of options as to how you architect the various ...


7

It depends. If you know you will need all the data eventually, it is technically faster to download it all at once. However, if you can download a portion of the data and use it to keep the user busy (rather than making him wait for the last byte to arrive) while you download the rest either in the background or on an as-needed basis, your application ...



Top 50 recent answers are included