On Wednesday, September 2nd, I will be presenting at the Twin Cities ColdFusion User Group meeting. At this meeting we are going to be trying something new (at least for me since I have been going to the CFUG). We are going to do some hands-on work with the technologies we love instead of just doing a lecture-style presentation.
In a previous post we looked at doing simple CRUD with Adobe AIR and SQLite and doing CREATE TABLE statements. But the examples we've looked at are VERY simple. In fact, we have not looked at any dynamically constructed queries.
Today I want to look at properly building dynamic queries in AIR using bind parameters.
In many cases, synchronous connections may be all you need. If your queries are fast and a slight applicaiton pause is not a concern, or if you have a need for rigid program flow control, then synchronous connections are great. But there may come a time when you do not want the program to pause during a query, or series of queries. You may want the user to be able to continue working while the queries take place in the background. This is where asynchronous queries come in.
Last week, while twittering, we came up with the idea of having a "virtual classroom" setting, using Adobe Connect to get together and work through building an AIR application from scratch. So we did just that. This was a private session, so don't feel like you missed an announcement. I wanted to keep it small and informal so that we could feel OK about speaking freely, having fun and learning through questions and discussion.
I got a weird request from one of my internal customers today. In one of our applications he wanted to be able to "uncheck" radio buttons.
We all know that if you have a group of radio buttons, like this, that once you select one option, you cannot unselect an option, you can only change from one option to another.
UPDATE: For anyone that may have missed this, here is the recording URL:
Unfortunately, we cannot all be in the beautiful city of Nashville tonight to see Andy Matthew present his jQuery and AIR: Desktop Development for the Front End Designer. And we weren't all at cf.Objective to catch it there (I was, it was great). But, you can still see it in person or online TONIGHT!
The Encrypted Local Store in the Adobe Integrated Runtime (AIR) can be used to store data on the user's local machine in a safe and persistent way. The data persists between application launch instances. Once something is placed into the Encrypted Local Store it is there to stay until it is removed or the files are deleted.
A separate Encrypted Local Store is set up for each AIR application on a machine and for each user of that machine. So essentially, each user gets their own Encrypted Local Store for each AIR application they use.