Blog Title:

Usage of HTML5 Offline Functionality in XPages 8.5.2



Location:


PermaLink Code:

NHEF-85588X

Publishing Date:

05/04/2010 12:18 AM

Image Type:

None

Author:

Niklas Heidloff

Current Status:

Published

Allow Comments:

Yes

Posting Type:

Plain Text

Language:

English

Marked As Hot Topic:

No

Push To Central Blog DB:

Central Blog Database Not Configured.

Page Views:


Comments:

1

Trackbacks:

0


Blog Text

<br />
There is a new release of the <a href="http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/XPages%20Mobile%20Controls">XPages Mobile Controls</a> project. The new release shows how to use the offline capabilities in HTML5 and IBM Lotus Domino XPages 8.5.2.<br />
<br />
Starting with XPages 8.5.2 code drop 4 you can refer from your XPages to a manifest file that defines which resources to cache locally. Especially for mobile apps with limited bandwidth this increases the start up performance of (online) apps. You can also store data locally, either by storing simple name value pairs and by using the SQL database in your browsers.<br />
<br />
The HTML5 offline functionality to <a href="http://www.w3.org/TR/html5/offline.html">cache resources</a> and store <a href="http://dev.w3.org/html5/webstorage/">name value pairs</a> is already available in the newer releases of the browsers (Firefox 3.5, Safari 4, IE8, Chrome 4). In addition to this the webkit based browsers like Safari support the <a href="http://www.w3.org/TR/offline-webapps/">SQL storage</a>. I've tested the samples below on my iPod and Android phone.
<br /><br />
Here is the <a href="http://www.openntf.org/Projects/pmt.nsf/ProjectLookup/XPages%20Mobile%20Controls">project</a>, here the <a href="http://www.openntf.org/Projects/pmt.nsf/852fcfa76eb36baa85256bae00100855/3F0B01B4400F9DE286257719001D7D2B/$File/ReadMe.pdf">documentation</a> and here the <a href="http://www.openntf.org/Projects/pmt.nsf/downloadcounter?openagent&project=XPages%20Mobile%20Controls&release=1.6.0&unid=6571F197A6C55FF58625771500452A87&attachment=MobileControls1.6.0.zip">direct download link</a>.
<br>
Read More Text

<br />
Here is a video demonstrating the samples:<br />
<br />
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/XkFWYHO-1ek&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/XkFWYHO-1ek&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>


Location:

Disabled

MIME Type: