HTML5
ããããã°ããæã«èª¿ã¹ããã®ã ãã©ãã©ãããªã®ã§æ¸ãã¦ããã調ã¹ãå½æããã¾ãããããæ å ±ã¯è¦å½ãããªãã£ãã®ã§ãHTML5ã¨ããããã大éæã§ãå ·ä½çã«ã©ã®æè¡ãæãã¦ããã®ãããåãããªãã¾ã¾ã«åºåã¨ãããã¬ã³ãã«ä½¿ãããæè¡ç¨èªããã®å ã«â¦
http://d.hatena.ne.jp/antipop/20111101/1320164459ãããè¦ã¦ããJSã§HTML5 form validationã®ruleãDOMããå¼ã£ãæãã¦ãJSON schema ( http://tools.ietf.org/html/draft-zyp-json-schema-03 ) ã«å¤æãã¦ããããsubmitã®ç´åã«type="text"ãªinputã¨ãâ¦
ï¼â»ãã®ã¨ã³ããªã¼ã¯ããAndroidã®ãã©ã¦ã¶ã¯æ¬å½ã®ã¯ã½Advent Calendarãã®ä¸æ¥ç®ã®è¨äºã¨ãã¦æ¸ãã¦ãã¾ãï¼12/2ã«çºå£²äºå®ã®Galaxy Nexusã«ãæè¼ãããäºå®ã®Android4.0ã§ããããªãã¨æ¨æºãã©ã¦ã¶ã«HTML5 history APIããå®è£ ããã¦ãã¾ãããã2.2ç³»ãâ¦
å£ä¸ historyã¨Ajaxã¨ããã°ãJavaScriptããããç¨åº¦ä»»æã§historyã®ã¨ã³ããªãpushã§ããhistory.pushStateã¨ããhistory.replaceStateã¯æ¢ã«å¤§åæåã«ãªã£ãæããããç´ æ´ãããæªæ¥ã§ã¯ãå ¨ã¦ã®ãã©ã¦ã¶ã«pushStateãä¹ã£ã¦ãã¦ãlocation.hashã使ã£â¦
ç¾ç¶ã®localStorageã¨ãsessionStorageã¯ãvalueã¨ãã¦æååããsetã§ããªãå®è£ ã°ãããªã®ã§ãã¢ããªã§ä½¿ããªãsetããæã«JSON.stringifyãã¦ãgetããæã«JSON.parseãããããªã©ããã¼ãæ¸ããªãã¨ç¡çã¨ã¾ã§ã¯è¨ããªããããã©ããããã¾ãã localStoâ¦
ä¼ç¤¾ã§ä¸ã®è¨äºã«ã¤ãã¦ãªãã¤ã³ããã¦ããã£ã¦ããªãã¨ãªãæ°ã«ãªã£ã¦ãããã¨ã調ã¹ãã¡ã¢ãhttp://webtech-walker.com/archive/2010/12/06160539.htmlè¨äºãèªãã§ãhistory.replaceState(null, "title", "/new.html") ã¨ãããã¨é·ç§»ãªãã§ãã¼ã¸ã®conteâ¦