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.
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.).
So recently I’ve been somewhat of a PC fixer-upper again (among other things)… But these days I’ve been wise to enforce some form of payment (usually in the form of firewater or cold hard cash); which, any family/friend-helper can attest to, becomes a nightmare. Part of why I decided to pick it back up is to experience what today’s battles are – and unfortunately they’re mostly of the same variant that was rampant even 10 years ago.
I’ve been asked by family and friends alike to give what insight I could into what it takes to keep your PC clean, and how to recover if you fail.
I recently had to set up my work PC, and found out that there’s a good set of utilities that I’m often using and take for granted.
Some are new to me, and some are alternatives to paid programs that I’ve lost licenses to. I typically like to use open source over paid licenses, and this round I’ve managed to do a pretty good job at finding a well rounded set of tools to do the job!