2. 自己紹介 名前: こまつけんさく HTML5とか勉強会スタッフ Google 公認 API Expert (HTML5) Microsoft Valuable Professional (Internet Explorer) Twitter : http://twitter.com/komasshu Blog : http://blog.livedoor.jp/kotesaki/
33. 普通にHTMLを記述(/0 - /3も同様) <nav> <ul> <li><a href="/0">semantics</a></li> <li><a href="/1">offline</a></li> <li><a href="/2">device</a></li> <li><a href="/3">connectivity</a></li> </ul> </nav> <article> <h2>semantics</h2> <hr> <imgsrc="/images/semantics.jpg"> <br> ving meaning to structure, semantics are front and center with HTML5. A richer set of tags, along with RDFa, microdata, and microformats, are enabling a more useful, data driven web for both programs and your users. </article>
48. Sinatraの場合 普通のHTML get '/:id' do @data = datas[params[:id].to_i] erb :index end Ajax用 get '/data/:id' do @data = datas[params[:id].to_i] erb :index, :layout => false end