An open API service indexing awesome lists of open source software.

https://github.com/marckassay/airdatabase

AirDatabase is a Flex project that gives Flex AIR applications the ability to access its local SQLite database with ease.
https://github.com/marckassay/airdatabase

Last synced: 7 months ago
JSON representation

AirDatabase is a Flex project that gives Flex AIR applications the ability to access its local SQLite database with ease.

Awesome Lists containing this project

README

          

# AirDatabase

AirDatabase is a Flex project that gives Flex AIR applications the ability to access its local SQLite database with ease. With a small amount of code to configure AirDatabase, it allows you to create a SQLite database file with tables which you can then start to perform CRUD operations synchronously.

Below is code taken from Example_101.mxml file from the AirDatabase-examples project. This snippet of code instantiates AirDatabase with one table and three columns:

















And this snippet references the AirDatabase instance from above and then performs an insert operation followed by a select operation:



This AirDatabase consists of 3 Flex projects:

* AirDatabase
* AirDatabase-examples
* AirDatabase-unit-test

## AirDatabase

Contains the source code for the project. The output file for this project is a SWC.

## AirDatabase-examples

Will contain examples to assist developers on how to use AirDatabase with their projects.

## AirDatabase-unit-test

The AirDatabase project was and will continue to be developed with unit tests. AirDatabase-unit-test contains all unit tests for this project.

### Roadmap: Short-term
* ~~Allow databases to be encrypted.~~

### Roadmap: Long-term
* Have the project use strong-typed objects for storage.
* Use Hamcrest Matcher "like" methods for transactions, such as: containsString, startsWith and greaterThan.

### Thanks to...
* Drew Bourne for your [Mockolate](https://github.com/drewbourne/mockolate) and [Hamcrest](https://github.com/drewbourne/hamcrest-as3) projects.
* To all Flex engineers who contributed to Flex and FlexUnit.