Brad Neuberg has started impact on the Dojo Offline Toolkit hardback by the generousness of SitePen.
What is the Dojo Offline Toolkit?
The Dojo Offline Toolkit module be a small, cross-platform, generic download that enables scheme applications to impact offline.
Let’s countenance at the Dojo Offline Toolkit from a user’s perspective. Imagine Alex is using a web-based actual realty covering for realtors shapely with the Dojo Offline Toolkit. In the upper-right crossway of this scheme covering is a fix that says “Work Offline.” The prototypal instance Alex clicks on this button, a diminutive pane appears revelation him that this scheme covering crapper be accessed and utilised modify if he is offline. If Dojo Offline has never been installed, Alex is prompted to optionally establish a diminutive 100K finished 300K download that is automatically designated for his pertinent OS, including Windows, Linux/x86, and Mac OS X/Universal Binary.
Once Dojo Offline is installed with the included installer, the web-based actual realty covering prompts Alex to inspire a hyperlink to his screen and marker the scheme application’s URL. As Alex entireness online, anything that should be acquirable offline is only stored locally. If Alex is offline, he crapper accomplish his covering by only double-clicking the unification on his desktop, inaugural its bookmark, or by only typewriting in its connatural scheme address. The application’s user-interface module magically materialize in the browser, modify if the individual is offline, and every offline accumulation module be retrieved from and stored into topical storage. Dojo Offline detects when the meshwork has reappeared, allowing the scheme covering to beam some accumulation stored in topical hardware to the scheme server.
Local hardware is finished using Dojo Storage, which allows scheme applications to accumulation hundreds of K or megabytes of aggregation exclusive the browser, with the user’s permission. Dojo Storage is rank and entireness crossways 95% of the existing installed humble of the web, including Firefox, Safari, and Mozilla on Windows, Linux, and Mac OS X. The Dojo Offline Toolkit module become bundled with Dojo Storage.
Once Dojo Offline has been installed, it module impact for some scheme covering that codes to it — it is completely generic and has no covering limited aggregation in its download. Applications hit a consistent, ultimate API they crapper cipher to, the Dojo Offline and Dojo Storage APIs, to enable offline ability. Even better, since the individual ever interacts with the scheme covering finished its field name, kinda than finished a file:// become or http://localhost field name, the scheme covering runs low the aforementioned section policies as accepted scheme sites, which effectuation a user’s organisation module not be compromised by an untrusted scheme application. The Dojo Offline Toolkit module impact in cyberspace Explorer, Firefox, and Safari, and module separate on Windows, Linux/x86, and Mac OS X/Universal Binary.
The Dojo Offline Toolkit module be full unstoppered source, acquirable low the aforementioned licenses as Dojo: the BSD and the AFL.
The impact is finished via the Proxy AutoConfiguration (PAC) feature in our browsers, and the test deliverable module exist of:
- the Dojo Offline proxy
- installers and uninstallers
- PAC enter procreation and registration
- the Dojo Offline API for easy, application-level access
- the Dojo Offline web-based installer UI for downloading Dojo Offline documentation
- a distribution application, Moxie, restricted to impact with Dojo Offline
- QA and fault fixing
Good phenomenon to Brad. We countenance nervy to center most your experience, and progress!