Shortner 2

It has been up for a week now … I can’t wait to code an android app for it … Already made an Air app for it.

I think I need to put up some sort of application download site for all my projects…. already have too many of em…

Google I/O 2009 / San francisco trip

Google IO 2009

img_18081First of all, Google I/O 2009 was awesome. First day during the keynote they tell us we get an android phone ! And the second day they announce Wave. (Somehow I feel like combining the two :) ) .I already had an android phone but since i’m a gadget nut I welcome all new toys :D… The sessions were cool.. I went to several sessions on Android , Opensocial and Google Web Toolkit. I just updated my eclipse to the latest version and updated the sdk and got my first hello world android app to work :) now to build that shortner app ! And maybe some others. I’m also looking forward to the invite to wave… That has to be something else.. I’m eager to show it off at work … And I really feel like writing my own implementation. I loved that console version :D

Hotel Palomar

Like last year this hotel rawks.. I’ve been in a few hotels by now and I really like this hotel for its great rooms. Not the biggest .. but definatly the best kept…. The only bad thing is we ordered a room at the zen garden but got a room looking into offices … which is not really ” zen”

img_1837San Francisco

I love this city. Allthough it is a bit littered with all these homeless people its pretty easy to get around. If you watch where you step.  We took a tour of the bay and underneath the golden gate brige and back around alcatraz.

The weather here is like Holland .. The difference is though that the weather here changes on which altitude and which part of the city you are. Ocean climates rock!

Right there is a picture of the trans american piramid. Which is a pretty nice view  from up that hill.

I will post some more in depth reviews of the phone (Google ION) later

Cool shit in models

Recently we added models to our framework (over at work) And I wanted to put down some of the concepts we added..


We use these to track the changes. There are 2 types. Temporary (virtual) recoverypoints who only exist during the actual existance of the modelfactory. These are stored in the memory of our modelfactory (which builds, maintains models, datasources ,resultsets and  recoverypoints) The other type is both stored in memory… and in database. These recoverypoints can be saved for later use.

Any change made that is saved using the ->save() or ->saveProperty() method results in a recoverypoint. The recoverypoint id is returned from this method.

After which the usre can recover to that recovery point on that object by using $model->recover($recoverypointid);

Cross database transactions.

Since datasources for our models are spread across databases and even servers we can’t rely on normal mysql transactions. But we have to have transactions.. In case that user creation didn’t go as smooth as it was meant to. We solve this by creating our own transaction system in our modelfactory. (since that has all the data.. it seemed like the right place to do this)  Which allows us to do everything we want … and if it breaks half way through or at the end.. just recover it.


We built in triggers to make sure that when lets say a domain gets changed from type 1 to type 3 that certain processes are triggered and certain changes made.


Certain fields have encryption be it one way or two way. We added these to transform certain pieces of information in their proper form. Like for example a string in the database that is actually a CSV format. Which you want to use as an array. All reading and writing is passed through these functions

Autofill is used to generate new data like “created” dates on items or ip addresses.

And plenty more (will add more later)

Can i has cupcake?

gir_with_cupcake-761082 … yes I can ! Last night I found my android phone without power.. mainly because I had been neglecting it and forgot to charge it… I put it in the charger and forgot to power it on . When I eventually did power it on it asked me if I wanted to update to a newer version…. YAY!

Finally i can now type on screen and record videos! Will figure out the other features later after I finish work.