ログイン 新規登録
言語:

WEKO3

  • トップ
  • ランキング
To
lat lon distance
To

Field does not validate



インデックスリンク

インデックスツリー

メールアドレスを入力してください。

WEKO

One fine body…

WEKO

One fine body…

アイテム

  1. 研究報告
  2. モバイルコンピューティングと新社会システム(MBL)
  3. 2023
  4. 2023-MBL-106

definy RPC: 型安全なHTTP通信のためのTypeScriptとNode-REDのライブラリ

https://ipsj.ixsq.nii.ac.jp/records/224222
https://ipsj.ixsq.nii.ac.jp/records/224222
908237d5-0671-40a1-af92-f801ac12e243
名前 / ファイル ライセンス アクション
IPSJ-MBL23106030.pdf IPSJ-MBL23106030.pdf (1.0 MB)
Copyright (c) 2023 by the Information Processing Society of Japan
オープンアクセス
Item type SIG Technical Reports(1)
公開日 2023-02-21
タイトル
タイトル definy RPC: 型安全なHTTP通信のためのTypeScriptとNode-REDのライブラリ
タイトル
言語 en
タイトル definy RPC: TypeScript and Node-RED library for type-safe HTTP communication
言語
言語 jpn
キーワード
主題Scheme Other
主題 通信
資源タイプ
資源タイプ識別子 http://purl.org/coar/resource_type/c_18gh
資源タイプ technical report
著者所属
東京電機大学大学院未来科学研究科情報メディア学専攻
著者所属
東京電機大学大学院未来科学研究科情報メディア学専攻
著者所属(英)
en
Department of Information Systems and Multimedia Design, Tokyo Denki University
著者所属(英)
en
Department of Information Systems and Multimedia Design, Tokyo Denki University
著者名 鳴海, 秀人

× 鳴海, 秀人

鳴海, 秀人

Search repository
岩井, 将行

× 岩井, 将行

岩井, 将行

Search repository
著者名(英) Hideto, Narumi

× Hideto, Narumi

en Hideto, Narumi

Search repository
Masayuki, Iwai

× Masayuki, Iwai

en Masayuki, Iwai

Search repository
論文抄録
内容記述タイプ Other
内容記述 IoT システム開発や Web アプリケーション開発において,端末間の通信は不可欠であり,通信の機能を持つソフトウェアの開発では,通信の指定ミスによるバグがよく発生する.そこで,definy RPC という DenoのTypeScript で作られたライブラリを開発した.HTTP 通信を使ってデータをやりとりするときに使用できる.definy RPC を使用して作成した HTTP サーバーには,Web ブラウザで開くことができるエディタが設定なしに用意される.エディタで公開されている API を確認し,リクエストすることができる.definy RPC は,既存の技術である OpenAPI,GraphQL よりも簡単に型安全な実装をすることができ,ジェネリクス,Set,Map にも対応している.また,definy RPC を使用することで,API を呼ぶコードと定義した型の TypeScript のコードも生成することができる.これにより,指定ミスを防ぎ,バグの少ないソフトウェアを開発することができる.definy RPC を使用することで,Node-RED から呼ぶことができる @definy/node-red ライブラリも開発した.@definy/node-red では definy RPC で公開されている関数に合わせたノードが自動的に生成されるため,パラメーターの指定ミスを防ぐことができる.
論文抄録(英)
内容記述タイプ Other
内容記述 In IoT system development and web application development, communication between terminals is indispensable, and in the development of software with communication functions, bugs often occur due to communication specification errors. Therefore, we developed a library called definy RPC, which is written in Deno's TypeScript and can be used for exchanging data via HTTP communication. The HTTP server created using definy RPC will have an editor that can be opened in a Web browser without any configuration. The editor can be used to check and request public APIs. definy RPC is easier to implement type-safely than existing technologies such as OpenAPI and GraphQL, and supports generics, Sets, and Maps. Using definy RPC, it is also possible to generate TypeScript code of the defined type along with the code that calls the API. We have also developed the @definy/node-red library, which can be called from Node-RED by using @definy RPC. The @definy/node-red library automatically generates nodes for the functions published in @definy RPC, preventing parameter specification errors.
書誌レコードID
収録物識別子タイプ NCID
収録物識別子 AA11851388
書誌情報 研究報告モバイルコンピューティングと新社会システム(MBL)

巻 2023-MBL-106, 号 30, p. 1-7, 発行日 2023-02-21
ISSN
収録物識別子タイプ ISSN
収録物識別子 2188-8817
Notice
SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc.
出版者
言語 ja
出版者 情報処理学会
戻る
0
views
See details
Views

Versions

Ver.1 2025-01-19 13:13:07.411018
Show All versions

Share

Mendeley Twitter Facebook Print Addthis

Cite as

エクスポート

OAI-PMH
  • OAI-PMH JPCOAR
  • OAI-PMH DublinCore
  • OAI-PMH DDI
Other Formats
  • JSON
  • BIBTEX

Confirm


Powered by WEKO3


Powered by WEKO3