So, I partook in the free Playbook offer sponsored by RIM, and developed a few applications for it.
This post is NOT about my apps, but rather touches on the process, as well as what I think about the Playbook as a device, and platform.
Read the rest of this entry
There’s a few good use-cases for serialization; for me the first and foremost is the performance combined with ease of use.
In AIR we have SQLite access, or in a bad case we can write some format to a file and recover it later somehow via parsing. But why? That’s a lot of work… And it’s not the fastest approach either.
And what about if we’re doing a browser application that we want to save a state of something, but don’t want to host the storage and write a web service to handle data?
We don’t have stealth access to the filesystem directly, which makes it hard (errr, impossible) to silently store things on behalf of the user.
We can actually tackle both easily using serialization.
I was playing with the Geolocation API, and have been having the hardest time getting it working. It would activate the GPS on my device (a Droid2), but would never trigger any updates and hit my breakpoint.
I knew this had to be something I was doing, because I’ve seen it working, have examples of working source, and can’t get it to work on my device…
I recently was working on an application, and needed to listen to KeyBoardEvent dispatches from the stage. This isn’t usually that much of an issue, except when your component needing to listen to these Events is created as part of the application creation process.
Ok, I probably shouldn’t be posting this, because I’d be pissed if someone ripped my content. But, this trick has served me some extraneous effort in ripping MP3’s or even other formats from certain websites (*cough* Grooveshark *cough cough* Pandora *cough*).
This approach works for everything from websites loaded in the browser using HTML5 or Flash, to custom applications (Adobe AIR, desktop applications, etc.).
This is a seemingly trivial task, but attempt to tackle it and you’ll quickly find yourself scratching your head wondering what the hell you’re doing…