mercoledì 24 agosto 2011

googlecl

Google command line tool is great. I'm using it not to try to post something to my blog, not sure witch one.

giovedì 12 maggio 2011

Specify your canonical url

If you have different urls for the same resource, search engine can perceive them as duplicated content. This can create issues from a seo prospective. This post tell you how you can fix it.

I made the mistake to have two places where urls of articles are generated. I didn't care much at the beginning but I noticed that it can lead to problems from a seo prospective. The main problems is duplication of content. You can use webmaster tools to verify if your website is affected.

Html 5 part 3 : Data Storage

Before html5 the only solution to store data on the client were cookies. But they are a pain to use. Html 5 solves this with the introduction new ways of storing data on the client.

Html 5 takes into consideration all the difficulties of cookies and moves the client data storage far ahead. Html 5 adds new ways to store data on the client: 
  • web storage (session and local storage)
  • web sql database api
  • indexed database api (not there yet but announced at google io2011)
  • file storage

martedì 10 maggio 2011

Google app engine with go language

Google app engine has the numbers to move developers. I have seen it with python, when app engine was still young. Will it change the trajectory of go?

I'm lucky. I started to work with app engine from the very beginning. Thanks to that I learned to use python. I bet many developers did the same. Back then, 2008, I walked in a library to buy a book on python. I found 2 maybe 3 books about it, here in London. Now, a couple of weeks ago I saw an entire section about python. Is app engine responsible for this? I don't know, although there are numbers that make me think that it is at least partially responsible.

In the release blog post or in some page related to the google io of today I was reading numbers about the usage of app engine, they are impressive. 1.5 billion pages a day (was 0.5 a few months ago), 100k developers... So, there is something true if I say that app engine (and google) is responsible to the success of python. Now the question is : Will app engine push up the trajectory of go? 

Html 5 part 2 : Forms


Until now forms were a mere list of fields to submit data. Validation is done on server side or client side with complicated rules of javascript. All these rules have to be implemented over and over for all the website unless you use some library. This article show you how html5 solved most of the problems with forms.

We have a lot of custom code to deal with forms. This is because the needs of developers evolved away from html. In particular forms need two things, nice UI and validation rules. Html5 addresses both of them. This is a non-comprehensive list, if you want more check the links at the top left corner.






domenica 8 maggio 2011

Html 5 part 1 : new elements

This is a the first part of a series of articles related to html 5. In particular this first article goes through the list of new elements and what they are, what you should use them for. This is not a reference guide is just a summary so you know what is in html5 that you can use.

HTML 5 philosophy

Html5 is the winner of a battle between purity (XHTML 2.0) and pragmatism (html 5). I recommend you to read the html design principles link. I think that just by reading the list of principles, it is possible to better understand what are the aims of html 5.

Google Code Jam 2011 Qualification Round

Qualification round of Google Gode Jam 2011 is just finish. I'm sharing my experience for someone that missed it but want to get ready for 2012.

If you like to solve problems and play against time this is probably the contest for you. The rules are really simple. You get a set of problems that you have to solve against time.  The nice thing is that are no impositions on the languages or tools. So there are usually lots of different languages that are used in the final and you can use whatever you like.