It’s been some time since dojox/storage, and a lot of things changed since then. Most notably: Browsers now have IndexedDB, and Dojo now has the dojo/store API that widgets can directly work with. The dojo/store API was built with IndexedDB and offline in mind, has a nice API and allows asynchronism, meaning that it can
Read more
Posts Tagged: dojo
Creating a persistent Dojo Object Store
As of version 1.6, dojo comes with the new Dojo Object Store API. This is an awesome thing, as it greatly simplifies the work with data stores in Dojo. Everybody who had to do with the traditional dojo.data API felt it was overly complex and hard to use – this has finally changed now. There
Read more
Explaining EmbedJS
Last week, we tagged the current state of EmbedJS 0.1. This is a large step for us, and something we have been waiting for and wanting to do for a long time. And with doing so, the need arises to answer a lot of questions – and we better start sooner than later. So, here
Read more
Encrypted client-side storage with dojo
A couple of days ago, Nicholas Zakas wrote an article about secure client side storage. I think the scenario he mentioned (working from a cyber cafe) is not unsafe by nature, and could be well handled by an application. Nonetheless, client side storage such as localStorage still is subject to DNS spoofing attacks (which is
Read more
Promises with dojo – a lightweight alternative to dojo.Deferred
Update: Micheil Smith had a cool idea to improve this and posted it in the comments. I have updated the test page and the code examples to reflect his idea. Thanks Micheil! Update II: Ben Hockey proposed to do the whole thing without using the pub/sub system. I for one think its a good idea,
Read more