Topic: local SQL database
Data “paging” in AIR SQLite
I got an interesting question a few days ago that I thought I’d share:
My application has thousands of records in one particular table that I need to populate the display with. I was wondering if I can implement paging to speed up the retrieval of those records?
In fact he specifically wanted to know if it […]
» Keep reading Data “paging” in AIR SQLite
AIR SQLite library updates
A couple of people have reported a bug in my AIR SQLite utility library. I also recently used it to help build a Robotlegs demo app for the 360|Flex Robotlegs training, and in the process I discovered a missing feature I needed (namely, the ability to get back the SQLResult objects after running a batch […]
» Keep reading AIR SQLite library updates
New project: AIR SQLite utilities
I’m excited to announce that I’m “officially” releasing a new open-source project that I’ve been using on personal and work projects for over a year.
For lack of a better name, I call it my “AIR SQLite utility library”
The code currently contains one major piece of functionality (well, two different variations on one bit of functionality), […]
» Keep reading New project: AIR SQLite utilities
Multi-table INSERT using one SQL statement in AIR SQLite
This article describes a way that you can use a single INSERT statement to add data to multiple tables in the SQL dialect supported by the SQLite engine in Adobe AIR.
Normally in SQL, including in AIR’s built-in SQLite database engine, you can only add data to one table at a time using an INSERT statement. […]
» Keep reading Multi-table INSERT using one SQL statement in AIR SQLite
“Adobe AIR data privacy and security” - slides, notes, links
On May 20, 2009 at the 360|Flex conference in Indianapolis I gave a presentation titled “Adobe AIR data privacy and security.” As I always do (and after a bit of a delay), here are the slides from my presentation. I’ve added fairly lengthy notes to the slides (I had to make the font smaller so […]
» Keep reading “Adobe AIR data privacy and security” - slides, notes, links
A new (old) tool for AIR SQLite development
This is pretty much old news by internet time standards, but I haven’t had time to write about it until now. (We’re working hard to make future Flex/AIR/ActionScript/Flash documentation more focused on how you actually use documentation, better than ever before.)
A couple of years ago, before AIR beta 1 (“Apollo”), I wrote a tool for […]
» Keep reading A new (old) tool for AIR SQLite development
A useful tool, the joy of shipping code, and a great developer
If you use David Deraedt’s great AIR SQLite administration tool Lita, you probably already saw that he just pushed an update (v. 1.2) a few days ago. Aside from my general happiness from seeing that this release fixes some bugs and adds new features that were important to me, this release has personal significance for […]
» Keep reading A useful tool, the joy of shipping code, and a great developer
I just wanted to write a quick note to say that I’ve released an update to my “Doppler” AIR SQL admin tool. You can get it from the Doppler project page. (I’ve been working on an actual real application, one with a fair amount of database work, so naturally I’ve found motivation to fix some lingering bugs and add some missing functionality.)
As with previous versions, if you’ve been using the app you’ll need to uninstall it before installing the new version. Someday I’ll add updating support, but I’m not going to promise anything real soon.
Along with this release, I’ve also made a change to how I describe the tool, and to my future intentions for it. I’ve always had it in my mind to make this a full-fledged database admin tool, similar to the tools that come with SQL Server or other enterprise databases. However, time has obviously not allowed me to do that, and in the mean time other tools have been released by other developers. I’ve found one, David Deraedt’s “Lita” SQLite admin tool that is sufficiently mature that I use it in my day-to-day work now and it definitely beats doing things by hand! There are still improvements to be made and features to be added, but when I’ve reported bugs and feature requests he’s been quick to respond and release updates.
So while I’m sure nobody’s been holding their breath waiting for me to finish the “admin tool” portion of my app, I just wanted to clarify the new direction I’m taking it — or rather, the fact that I’m not planning to take it in as many new directions! (Hence the change in title for the project from “AIR SQL admin tool” to “AIR SQL query testing tool.”)
That doesn’t mean I’m done developing this tool by any means. In past jobs where I did heavy database development, and in a project I’m currently working on that involves heavy database development, I find it very useful to have two different kinds of database tools — one for creating and managing database objects and structure, and another for testing queries. While Lita does in fact have a tab for testing queries, I personally find Doppler to be a bit (not a lot, but a bit =) more developed in that specific area. On the other hand, Lita certainly does a lot in the db management space that Doppler doesn’t do. So I find the tools very complementary in terms of my actual development work.
As always, I welcome feedback, questions, thoughts, etc. And thanks to everyone who’s already reported bugs and offered suggestions!
AIR 1.5 encrypted SQLite database — how to use it, best practices, and new projects
Over a year ago I described a potential area of concern for using a SQLite database with an AIR application — because all apps use the same database engine, any AIR app can read any other app’s database (as long as it can find the database file).
As you may have heard among all the news […]
» Keep reading AIR 1.5 encrypted SQLite database — how to use it, best practices, and new projects
360|Flex slides for “AIR SQLite: An optimization conversation”
Updates (Oct. 30, 2008): The video of my presentation has been posted, so I added a link to it at the bottom of this post. Also, I just learned about another AIR-based SQLite admin tool which looks interesting, so I added it to the list of resources even though it’s obviously not discussed in the […]
» Keep reading 360|Flex slides for “AIR SQLite: An optimization conversation”