Re: [WSG] HTML5 offline storage question
I avoid Apple products like the plague, so perhaps I'm missing some info here, but what's wrong with simply getting the user to download the file in the normal fashion? - Josh On 9/8/2010 3:11 PM, Breton Slivka wrote: The iPhone has a 5mb upper limit per page. I think the ipad's limit is 10mb but I am not sure. So in other words, no. -Breton On 09/08/2010, at 2:55 PM, Andrew Harrisand...@woowoowoo.com wrote: Hi all, I'm asking around the traps on a question which has come up at work. We want to develop an iPad app to will allow users to download from a website (like a synch) large quantities (hundreds of MB) of documents (pdf and word) for reading offline. Is the offline storage tool in HTML5 designed for this sort of heavy lifting? are there storage limitations? on an iPad? I've found a few examples of the tool in action and read bits and pieces, but it all seems to be about storing small chunks of data, not humunguous great whumps of it. -- Andrew Harris and...@woowoowoo.com http://www.woowoowoo.com ~~~* ~~~ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] HTML5 offline storage question
On 9 Aug 2010, at 08:59, Josh Godsiff wrote: I avoid Apple products like the plague, so perhaps I'm missing some info here, but what's wrong with simply getting the user to download the file in the normal fashion? Apps are heavily sandboxed and there is no user accessible global file system. -- David Dorward http://dorward.me.uk *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] HTML5 offline storage question
You can store on iPhone with Web Database any amount of data. It will just ask user does he really want to allow this site to use, say, 100mb. My application for the iPhone stores 150mb now. Yuriy akella Artyukh, http://cssing.org.ua On Mon, Aug 9, 2010 at 11:03 AM, David Dorward da...@dorward.me.uk wrote: On 9 Aug 2010, at 08:59, Josh Godsiff wrote: I avoid Apple products like the plague, so perhaps I'm missing some info here, but what's wrong with simply getting the user to download the file in the normal fashion? Apps are heavily sandboxed and there is no user accessible global file system. -- David Dorward http://dorward.me.uk *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] HTML5 offline storage question
Asking why not just use the cache is a valid question. In this case, using HTML5 storage to house files doesn't seem to be tapping into all HTML5 storage can do--but it's not violating what storage can do either (so far as I know). HTML5 storage is like cookies: Simply put, it’s a way for web pages to store named key/value pairs locally, within the client web browser. Like cookies, this data persists even after you navigate away from the web site, close your browser tab, exit your browser, or what have you. Unlike cookies, this data is never transmitted to the remote web server (unless you go out of your way to send it manually). That's from: http://diveintohtml5.org/storage.html#localstorage So, HTML5 storage is more for data storage--storing key/value pairs (like massive cookies)--than just a repository of files. This is how I understand it. Others may know more. I'd think a iPhone/iPad native app would want to look beyond HTML5 storage and into File Management. But if this is a web app, then HTML5 storage might be the only option. But I'm far from being an expert. -jody On Aug 9, 2010, at 12:59 AM, Josh Godsiff wrote: I avoid Apple products like the plague, so perhaps I'm missing some info here, but what's wrong with simply getting the user to download the file in the normal fashion? - Josh On 9/8/2010 3:11 PM, Breton Slivka wrote: The iPhone has a 5mb upper limit per page. I think the ipad's limit is 10mb but I am not sure. So in other words, no. -Breton On 09/08/2010, at 2:55 PM, Andrew Harrisand...@woowoowoo.com wrote: Hi all, I'm asking around the traps on a question which has come up at work. We want to develop an iPad app to will allow users to download from a website (like a synch) large quantities (hundreds of MB) of documents (pdf and word) for reading offline. Is the offline storage tool in HTML5 designed for this sort of heavy lifting? are there storage limitations? on an iPad? I've found a few examples of the tool in action and read bits and pieces, but it all seems to be about storing small chunks of data, not humunguous great whumps of it. -- Andrew Harris and...@woowoowoo.com http://www.woowoowoo.com ~~~* ~~~ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***
Re: [WSG] HTML5 offline storage question
Hi Andrew Andrew Harris wrote: Is the offline storage tool in HTML5 designed for this sort of heavy lifting? are there storage limitations? on an iPad? Can you confirm, are you referring to Web Storage[1] or Offline Resources[2]? Web Storage is really just cookies on steroids and probably isn't what you're after to store large amounts of binary data. Offline Resources may be up to it, it's not clear to me what the limits are and I can't find any definitive documentation anywhere, but it's a whole different approach[3]. Rob [1] http://www.w3.org/TR/webstorage/ [2] http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#offline [3] http://developer.apple.com/safari/library/documentation/iphone/conceptual/safarijsdatabaseguide/OfflineApplicationCache/OfflineApplicationCache.html *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ***