Wednesday, January 25, 2012

How to use Google to ruin your vacation using Appspot and Google Cloud SQL

All thanks to Google, now we have a free application server (appspot) and a free (as of now) SQL that too in cloud!!

All this shit started when one day I got a mail from Google announcing its new cloud SQL server (free for a limited time period) and it was written in bold that this work only with appspot only!! So, to test this I had to make an appspot account as well.. Hmmm.. (thanks to Google, all the Google products are interconnected at the most basic lever - user account, so it was not much a pain creating the account for the web app) anyways, coming to basic issues, the most important issue I faced was, I code in C and not in JAVA anymore.. It was ages before that I used JAVA and frankly speaking, it was CRAP.. Everything was there.. There wasn't much left for me to do.. But C is never, it doesn't know anything, so u can research and find out and all you need is the basic knowledge and logic.. More like JD Edwards in the ERP world.. :D

So, what I was saying was, I had to brush up my JAVA knowledge to check out appspot and I needed that to check out the Google Cloud SQL.. But being an engineer, we always have a better, fast and more efficient method than conventional methods (I don't want to hurt anybody's feeling but, facts are facts.. we are the supreme race :P) So i ended up googling out sample codes.. It was a piece of cake.. From basics to pro, everything was given.. That too in a well-mannered way.. So I ended up creating the code (not using cloud SQL as everyone is not having access to that) and then reverse engineering the code I wrote to find out what I actually did.. :D please note that this is not a joke.. I did a quick test and found that it was working as expected.. (I didn't do anything.. Google had provided everything before itself.. It was like implementing a solution so other shitbag designed.. Zero intelligence.. Hmmm..)

I'll write about the issues I faced later on if I feel like later on, but not now.. That itself will need another thousand word to describe.. :D

Later on, implementing the same methodology, I used the cloud SQL to store the data in place of the file system.. This part of the design was quiet good as SQLs always are interesting.. Those are not like JAVA.. I'll write about that incident in the next post.. not now.. Writing all these craps I forgot about the subject of the post :D I actually forgot to mention that I was doing all these when I was at home having my new year vacation.. hmmm.. ohh, and visit: this and this.. and lemme know how it is..

No comments:

+ArjunDamodar