タグ

2019年6月13日のブックマーク (2件)

  • Debugging Service Workers

    プログレッシブ ウェブアプリ: オフライン コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。 1. ようこそ このラボでは、既存のウェブ アプリケーションをオフラインで使用できるようにします。これは、プログレッシブ ウェブアプリ ワークショップの一連のコンパニオン Codelab の最初です。このシリーズにはさらに 7 つの Codelab があります。 学習内容 Service Worker を手動で作成する 既存のウェブ アプリケーションに Service Worker を追加する Service Worker と Cache Storage API を使用してリソースをオフラインで使用できるようにする 必要な予備知識 簡易 HTMLJavaScript 必要なもの Service Worker をサポートするブラウザ 2. 準備 まず、この Co

  • Building APIs with Rails + Protocol Buffers

    While designing APIs consumed by clients (mobile or web applications), a common problem is how to enforce the structure of your data messages between the server and the client. As of today, the JSON format is probably the most used format of exchange used for APIs. JSON is good because it's simple, easy to read and write, and has implementations in almost every language in the world of programming