0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[OutSystems]Action実装方法の比較(Server/Service/Expose REST API)

Posted at

OutSystemsでサーバーロジックを作成するときにServer Action/Service Action/Expose REST APIという選択肢がある。
それぞれの特徴と使い所をまとめ。

比較表

Server Service REST
トランザクション1
パフォーマンス2
認証の引き継ぎ
整合性チェック3
利用箇所の検索4
モジュール更新の独立性5
用途6 ドメイン内から利用 同じOutSystems環境の他ドメインから
設計上の理由で依存関係を弱めたいとき
OutSystems外の環境から
他のOutSystems環境から

その他のActionの整理

Screen Action

Screen ActionとはScreen(画面)の下に作成するAction。
画面のライフサイクルイベント(Readyなど)やUIイベントハンドラーの役割。

Traditional WebではServer Action、Reactive Web AppやMobileではClient Actionでもある。

Client Action

Reactive Web AppやMobileで作成できるActionの種類。
この形式で作ったロジックは実行時にJavaScriptに変換され、ブラウザ内で実行される。

SOAP

SOAPとしてActionを作成し、公開することもできる。
Expose REST APIと同様の操作方法で作れる。

  1. Consumerと同じトランザクションで動作するか? ○:同じトランザクション

  2. Action呼び出しのパフォーマンス。Service Action・Expose REST APIはHTTP通信のオーバーヘッドがかかる

  3. コンパイル時に、既存Consumerとの整合性チェック(引数の数や型等)を行うか。

  4. Service StudioのFind UsageやService CenterのDependeiciesなどで呼び出し元を発見できるか?

  5. Producerの変化がConsumerに与える影響の強さ(Consumerで再Publishや参照更新が必要になる)。☓:全てのPublishがConsumerに影響を与える △:I/Fが変更したときのみConsumerに影響を与える(内部ロジックだけの変更はConsumerの参照更新不要)

  6. ドメインの意味についてはOutSystemsのDDD情報まとめ参照

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?