pjaxの前にpushStateとはAjaxとjQueryの説明は不要として、pushStateとはなんぞや。pushStateを使ってブラウザの履歴に対する操作をし、HTMLの一部のみを書き換える動作でもブラウザの戻る/進む機能を実現できる方法のひとつ。Ajaxなページを再現し、かつURLを... 続きを読む
07:59このブログはlifehackerを含むgawkerメディア系サイトの#!URLへの移行を批判している。http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs/以下、isolaniとテングの見解をごっちゃ混ぜに紹介する。lifehacker他のgawkerメディアサイトが数... 続きを読む
03:36Tim Bray(GoogleのAndroid応援団長)が「#!」の入ったajax用URLを使用を批判している。http://www.tbray.org/ongoing/When/201x/2011/02/09/Hash-Blecch例にtwitterのtwitter.com/#!/timbrayを挙げている。 #!の働きサーバ側は#!の前までしか見えない。上の... 続きを読む
use 5.010; use strict; use warnings; use LWP::UserAgent; use URI; my $base = 'http://japan.cnet.com/news/business/story/0,3800104746,20416479-0,00.htm'; say URI->new_abs('/news/service/', $base); say LWP::UserAgent->new(); そうです。絶対URLそ... 続きを読む
balancing simplicity and technology in Richmond, Indiana This post is about the current state of URI encoding in Perl. This is the problem space of being able to safely pass arbitrary text into and out of a URI format. If you’ve even seen a ... 続きを読む