Posts

Showing posts with the label appengine

Using a local MySQL instance for developing on Google Cloud SQL

This keeps giving me trouble, but I think I have it figured out now. Most of the cloud sql docs assume that you will be running your development on a cloud instance along with your production/test. This does not work for me due to the latency associated with the remote dbs, so I go for the local dev option. However in order to get this to work you have to put a copy of the mysql jdbc driver into this folder in your sdk: eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.6.4.v201203300216r37\appengine-java-sdk-1.6.4\lib\impl (obviously your exact folder will vary depending on your sdk bundle version) Whenever you upgrade your SDK you will need to copy the mysql connector jar to the new impl directory. The latest upgrade to the SDK (1.65) appears to have been a bit panicked. It was released on the evening of the 1.64 release. Oops. There was no eclipse plugin for 1.65. I made the mistake of upgrading the standalone version of the SDK (which I don't in fact use) and copy...

The Blogger APIs

I took a look at the APIs for accessing Blogger (and a large range of Google's other data services). I am a Google fanboy. No surprise there. Android is just the logical next step on that journey. They seem to provide so much more than the companies that I used to rely on. People like Sun Microsystems and Microsoft. Its a while since I used MS technologies professionally, so maybe their offering has come along, but Sun - now Oracle - is still stodgy fare compared to the nice things that Google lets us do.  So what can you do with the blogger APIs - well pretty much anything you can do with a blogger account. Create posts, edit existing posts, delete posts and add comments. A range of client languages are provided for in this - php, JavaScript and for my liking Java.  In essence the Blogger API is just a layer sitting on top of a common data access API provided by Google for most of their services (Analytics being another interesting example). So the client bit just puts tog...