a mock for IndexedDB

https://github.com/szimmers/mock-indexeddb I recently wrote an AngularJS service that wraps IndexedDB and needed to mock it when writing the unit tests. We had the basics for such a mock in-house and I extended it for more in-depth testing. See the github page for the mock. The README contains examples of writing Continue Reading

case study: taking a webapp offline

Overview I recently created an AngularJS-based framework and webapp for a client. The main requirement for this app was that the user be able to have a workflow like this: while at work, log in against a server download documents to fill out quit the browser relaunch the browser in Continue Reading

Datagrid item editors and dynamic behavior (part 1/3)

though a lot of validation functionality is available in mxml through validators, i’ve always found it curious that Datagrid seems to be a bit short-changed. for example, in mxml, i can create a TextInput and give it the ability to accept ranges of numbers, through both the restrict property and Continue Reading