Documentation:
http://www.nearsoft.com/blog/creating-your-first-cloud-app-with-salesforcecom.html
http://wiki.developerforce.com/index.php/Documentation#Reference_Guides