giovedì 28 aprile 2011

Google Blogger : webmaster tools and sitemap

Dev-articles is more or less my blog. Initially I wanted to have people to write articles, but who am I to compete with wordpress or blogger. I don't care anyway because I like this website and I love to improve it as I learn a lot from it. One of the most rewarding thing is to find ways to increase traffic. So I got to know quite a bit about SEO, and google tools like webmaster tools or analytics.
Recently I started to play with blogger.... 

martedì 26 aprile 2011

Useful git commands

This is just a list of commands that I think are useful. I would like to keep here with a short description so I can go back to them whenever I need. Hopefully they are useful to someone else. Of course this is more for who is still exploring the git.

read more on "Useful git commands" 

venerdì 22 aprile 2011

Delete lots of entities in google app engine datastore

How I solve the problem of deleting lots of entities in google app engine

There are different solutions to delete all the entities from the datastore:
  • Delete the application and create a new one
  • A servlet that on calls goes and delete a group of entities
  • Map Reduce
  • Remote api
  • Tasks and queue

mercoledì 20 aprile 2011

TimerTask and Android Service

Services are one of the fundamental building blocks at your disposal to build nice android applications. Services main goal is to run long-running processes. From the android online documentaion there are two fundamental points to remember about services  ...

Google App Engine and Channel Api with Gwt

Sometimes you need to show updates straight forward. In this case you have two options: polling and pushing. Polling require you to call the server with a refresh period. Polling can be expensive especially if you need a small refresh period. To resolve this you can use pushing. In this case is the server that inform the user of a change. With website the push is implemented by keeping a channel open between client and server.

Google app engine xmpp managing the status

I'm playing with a chat. An I want to do it with Google App Engine. In a previous article I have show how to send messages. Now I want to show you what I have done to manage the status of a user so that from google talk other users are able to see your status.

venerdì 15 aprile 2011

Google App Engine indexes

Sometimes you need to add an index to you app. Even though most of the times is done atomticaly it is not rare. To manage indexes in app engine is straight forward, but first you need to understand a few basic points.
Every query need an index to run. And the index is ordered. The development server does this for you in most of the cases. It does that primarily because there are a group of automatic indexes. On top of that if you run a query it is checking for the index and if there is not an index to serve the query it is adding it.