本記事は2007年に執筆されたものです。jQueryやAjax全般の最新情報は「リッチクライアント & 帳票フォーラム」総合目次のカテゴリ「実践Ajax」や「Ajax技術解説」をご参照ください。 Ajaxおいしいレシピを紹介する前に そもそも、Ajaxのこと分かってますか? 2005年の始めにAjaxという言葉が知られるようになってから、Ajaxは急速に技術の進化を遂げ普及してきました。読者の皆さんの中にもAjaxの開発を実際に経験した方が増えているのではないでしょうか?
http://kengo.preston-net.com/archives/003154.shtml http://twitter.com/account/badge どうも「○○サービスのBadgeがあるよ」という話はそれなりに受けるらしく、実際に貼付ける人がどれだけいるかどうかは別としてよくニュース記事になる。 そういったBadge(あるいはBlogパーツといったほうがいいのか)が出たとき、真っ先に調べたのが、そのサービスがJSONPで提供されているかどうか、ってことだった時期があった。 1、2年前はだいたいIFRAMEだったりFLASHだったりしたわけです。あるいはJavaScriptでdocument.write()。なんか最近はJSONPになってる確率が高くなってます。この場合のJSONPの利点はViewとModelが分離されていることにつきます。 でもTwitter、Lingr
TwitterのJSONPがcallback変数名に「.」(ピリオド)を受け付けない。「[」「]」も。英数字およびアンダースコアのみ、っぽい。 http://www.twitter.com/statuses/user_timeline/3628361.json?callback=JsonWebServicesStub.responseCallbacks._0&count=1 なんとかしてくれないかなあ、こういう微妙な違い。。。常にグローバルにコールバック関数を直書きしろと言ってるのかしら? dojoのScriptSrcIOをはじめ、JSONP対応のほとんどのライブラリはグローバルの汚染を嫌って独自オブジェクト内にコールバックを押し込めているので、まったく使えないです。 もし意味があってやってるなら、その意味を是非知りたい。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く