OutSystems Forge 日本語データベース

RESTCacheHowTo

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2017-10-22 1.0.3 Adrian All All Applications, How-tos
RESTサービスを使用するオフラインキャッシュを備えたモバイルアプリ。 ローカルアプリケーションキャッシュは、次の場合に使用されます。 - サーバーへの接続がない。 - サーバーから情報を取得中にエラーが発生しました。 サーバー側のキャッシュは、次の場合に使用されます。 - REST経由で情報を取得する際にタイムアウトが発生しました。 - REST経由で情報を取得中にエラーが発生した場合、呼び出し抑制がREST APIではなくキャッシュを使用する必要があります。 サーバーのキャッシュ調整により、15秒ごとに1回の呼び出しが可能です。 REST経由でエラーコードを送信し、RESTエラーを処理する方法の例。
RESTCacheモジュールの使用を示すサンプルアプリケーション。

[Overview]
A mobile app with offline cache using REST services. Local app cache is used when: - there is no connection to the server; - there is an error retrieving information from the server; Server-side cache is used when: - there is a timeout retrieving information via REST - there is an error retrieving information via REST - call throttling dictates cache should be used instead of the REST api. Server cache throttling allows one call every 15 seconds. Example on how to send error codes via REST and handle REST errors.
[Detail]
Sample application showing the use of RESTCache module.
戻る