- 【Updated on May 12, 2025】 Integration of CiNii Dissertations and CiNii Books into CiNii Research
- Trial version of CiNii Research Automatic Translation feature is available on CiNii Labs
- Suspension and deletion of data provided by Nikkei BP
- Regarding the recording of “Research Data” and “Evidence Data”
JavaScriptにおける非同期処理に対応した層活性手法
Description
<p>文脈指向プログラミング (COP: Context Oriented Programming) は,文脈に依存した振る舞いをモジュール化するためのプログラミング手法である. COPは,プログラム中に横断的に存在する文脈に依存した振る舞いを層 (Layer) としてまとめ,その層を活性化・非活性化することで現在の文脈に即した振る舞いに切り替える.COPは,様々な言語でライブラリとして提供されており, JavaScriptのライブラリである ContextJSもその一つである.JavaScriptを用いた Web開発では,リクエスト処理やイベント駆動といった非同期処理が頻繁に用いられているにも関わらず,現状の ContextJSは非同期処理を前提としていないため,非同期関数実行時に期待した結果が得られないことがある.そこで本研究では,非同期処理に対応した層活性手法を提案する.提案手法ではリクエスト処理やイベント駆動など,複数種類の非同期タスクを監視し,層の活性化状態を管理する.そして,本研究を使用した Webアプリケーションを実装し,動作を確認するとともに有効性を示す.</p>
Journal
-
- Proceedings of the JSSST Workshop on Foundation of Software Engineering
-
Proceedings of the JSSST Workshop on Foundation of Software Engineering 28 (0), 127-132, 2021-11-11
Special Interest Group on Foundation of Software Engineering in Japan Society for Software Science and Technology
- Tweet
Details 詳細情報について
-
- CRID
- 1390292018964060416
-
- ISSN
- 2436634X
-
- Text Lang
- ja
-
- Data Source
-
- JaLC
-
- Abstract License Flag
- Allowed