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.
- Host: GitHub
- URL: https://github.com/marckassay/airdatabase
- Owner: marckassay
- License: mit
- Created: 2012-05-11T18:48:54.000Z (over 13 years ago)
- Default Branch: development
- Last Pushed: 2012-11-18T19:43:01.000Z (almost 13 years ago)
- Last Synced: 2025-01-24T14:44:46.571Z (9 months ago)
- Language: ActionScript
- Homepage:
- Size: 1.68 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.