著者
後藤 正 境 将彦 長縄 祐輝 森 隆次郎 永松 礼夫
雑誌
情報処理学会論文誌プログラミング(PRO) (ISSN:18827802)
巻号頁・発行日
vol.3, no.3, pp.18, 2010-06-16

スクリプト言語の 1 つである JavaScript を用いて,ページ遷移や再読み込みなしに,HTML ページの内容を変更する方法が注目されている.そのページの機能を提供するコンテンツや関数群は動的に追加や削除することができるため,この方式によりある程度汎用性のある実行環境が構成できる.我々は,このような実行環境を構成する部品として,普及しているブラウザとスクリプトを使ってどの程度の機能や容量が実現できるかについて検討した.本発表では,ブラウザ間の差異による問題点,実用的に扱えるデータ構造の大きさ,スレッドのエミュレートによる問題点,部分書換えの繰返しによるスクリプトの完全変更の可能性について述べる.Using a script language'JavaScript', they are now attracting attention, the methods to change contents of HTML pages without page transition or reloading. We can dynamically append or remove the contents and defined functions in a HTML page, which is used for providing services. So, with this method, we can construct somehow general execution platform. We estimated, as building blocks of such execution platform, what functionality and capacity can be obtained, with some popular browsers and the script language. In this presentation, we will discuss on issues arise from difference about browser behavior, maximum size of data structure for realistic assumption, issues on pseudo thread emulation, and capability of complete replacement of script codes by repeated partial rewriting.