Dec
9

HTML5 + Xcelsius: Local Data Storage

Xcelsius does not have a built-in feature that allows the storage of local data, a commonly requested piece of functionality. Up until very recently there has been no really easy way to accomplish it with simple client tools, and one way or another it required jumping through several hoops. Fortunately, HTML 5 brings us a feature called localStorage, which allows HTML pages to store data locally across browser sessions and after the closing of the browser window. This is one of many capabilities that HTML5 brings to the table, transforming the browser into a tool with much more potential for serving up fast, more powerful and lightweight applications.

Working as a Team

In less than a few hours, and starting with zero knowledge on the HTML 5 feature, I was able to integrate HTML 5’s localStorage feature and Xcelsius simply by using External Interface connections from Xcelsius and some JavaScript on the HTML side to bridge the gap. The result is a dashboard that can save data locally to a user’s system and then load it for use during the next browser session. Click on the screenshot below to open a new window with the .swf file.

Thoughts

The drawbacks- HTML5 is not close to being a finalized standard and most browsers in operation only support a subset of HTML 5. Has this stopped people from using it yet or gearing towards it? Not really. However, for most large organizations and developers reaching large audiences with RIA technology, it is a very significant drawback that would still have to be worked around. Cross-browser compatibility support is not a task that I ever miss or that I like to have to factor in when developing, which is why I’m a Flex developer and Flash advocate.

If you need high-quality offline capabilities now…

We use and highly recommend using Antivia’s XWIS. XWIS is an enterprise-ready comprehensive set of tools that provides users and developers alike with extremely powerful and robust offline, data manipulation and data connectivity capabilities.

Try the demo out

We have hosted the HTML 5 dashboard example and all of the source files if you’d like to try it out for yourself.

Feel free to stop by the Centigon Solutions Lab page to check out some of our other demos.

Evan DeLodder is CTO at Centigon Solutions, an SAP Partner focused on the development of cutting edge mapping technologies in the Business Intelligence space. To learn more about him, please visit our Gurus page

Tags: , , , , , , , , , ,

4 Responses to “HTML5 + Xcelsius: Local Data Storage”

  1. [...] This post was mentioned on Twitter by The Xcelsius Gurus, Xcelsius and Kalyan Verma, Xcelsius. Xcelsius said: HTML5 + Xcelsius: Local Data Storage http://myxlc.us/Di #Xcelsius #SCDD [...]

  2. kgs says:

    nice info

    storing scenario data localy …

    next question: saving named scenarios?

  3. Evan DeLodder says:

    @kgs Thanks. This could definitely be extended to offer that functionality. With hooks to the I/O data model and local storage, any type of save,read and write feature could be implemented.

  4. vamshi says:

    hi,

    At what location the data will be stored on the local system and in which format?

    thanks

Leave a Reply