I spent this weekend writing a simple ‘Data Access Layer’ utility class to be used with AIR applications and sqlite. If you are not familiar with using a ‘DAL’, data access layers act as transparent layer between your application and the database to handle the data processing. This keeps the view code clean and the sql commands as reusable methods.
You can download everything here. The zip contains the project and the AIR file.
I think I’ve commented the code pretty well. If you have any questions or comments let me know.
This work is licensed under the Creative Commons Attribution 3.0 License
Brgds,
CP
| Copy and Paste the code below | |
| Email and IM | |
| Websites | |
| Forums | |
follow: