Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Apr 20, 2014 6:34 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Cache Manifest IOS
PostPosted: Thu Mar 15, 2012 9:10 am 
Offline

Joined: Tue Dec 14, 2010 11:09 am
Posts: 16
Hello,

I don't know if someone does a "manifest cache" on IOS with RealBasic ? and if it works ?

http://www.thecssninja.com/javascript/h ... the-iphone

Do you have some information or experience ?

Thanks,

Didier


Top
 Profile  
 
 Post subject: Re: Cache Manifest IOS
PostPosted: Thu Mar 15, 2012 12:58 pm 
Offline
User avatar

Joined: Tue Jan 04, 2011 3:02 am
Posts: 1236
Location: Jönköping, Sweden
Can't be done as the app itself isn't run on the iOS device. It's run on the server that communicates with the users browser over the internet.
So there needs to be an open connection to the server at all times, it it's lost, the app will close.

_________________
Image http://www.linkedin.com/in/albinkiland
Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8
Xojo Pro 2013r1


Top
 Profile  
 
 Post subject: Re: Cache Manifest IOS
PostPosted: Thu Mar 15, 2012 4:40 pm 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
Yes it can be done, but with WEB edition you have no control over the HTML Source...

You need to add this manifest to the <html> tag as an attribute.
Without control over the content this can't be done.

<html manifest="thecssninja.appcache">


Here is a working demo for a simple html content document:
http://www.w3schools.com/html5/att_html_manifest.asp

Don't forget that RS WEB edition is all about "execute all code on the server side"...
And caching is like "work offline", which in WEB Edtion's case won't work eighter.

You can however create a "offline" part and point to it.
That would be advanced, this will basicly be a "javascript" offline part.

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
 
 Post subject: Re: Cache Manifest IOS
PostPosted: Fri Mar 16, 2012 2:14 am 
Offline

Joined: Tue Dec 14, 2010 11:09 am
Posts: 16
Thanks all for your quick answer, i'm starting tests...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group