Yes, my file-based method is purely to avoid needing to run a server at all 
(because it's really cheap just to host files on, say, Amazon S3) but if you 
run your own servers anyway then it's a much neater solution to have a simple 
API to tell you which images you need to download and where to get them from.  
The usual pattern here is for the app to store the date of the last time it 
refreshed it's local cache and send this to the server every time it starts up 
to find out if it needs to download any updates.  This way you can use server 
side timestamps for everything and avoid the problem of device time skew.

Mark


________________________________
 From: Matthias Rebbe <matthias_livecode_150...@m-r-d.de>
To: How to use LiveCode <use-livecode@lists.runrev.com> 
Sent: Thursday, 6 June 2013, 11:31
Subject: Re: mobile image gallery / slider - web or standalone based?
 

Mark,

thank your for your thoughts. I think i will let livecode download the images 
to store and chache them directly.
I could let my livecode app "communicate" with an LiveCode server script to get 
information about modification dates.

Regards,

Matthias
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to