プリンキピア

第11章Webアプリケーション開発

Thought Provokers考察を深める問い

Exercises 1–5練習問題 1–5
1. Consider our start-up company, which is looking to develop a mobile application for monitoring sleep disruptions (e.g., snoring, restless sleep) using a user’s phone microphone. Users will be prompted to complete a mindfulness questionnaire on their phones each morning and night, allowing them to correlate sleep disruptions and mood. Users can also view reports on a website. The start-up company wants to use the data from users to point them toward support services, and they are looking to partner with health companies. Based on this, how would you recommend the solution be architected? Provide a sketch of the architecture. Create a list of the technologies you’d consider using, where they would be used, and why you chose that technology.
英語のヒント
1. 利用者の携帯電話のマイクを使い、いびきや落ち着かない睡眠など、睡眠を妨げる状態を監視するモバイルアプリケーションの開発を目指す、本書の新興企業について考えなさい。利用者は毎朝と毎晩、電話でマインドフルネスに関する質問票に答えるよう促され、睡眠の乱れと気分を関連付けられる。Webサイトで報告を閲覧することもできる。この新興企業は、利用者のデータを使って支援サービスを案内したいと考え、健康関連の企業との提携を目指している。これを踏まえ、どのようなアーキテクチャの仕組みを勧めるか。アーキテクチャの略図を描きなさい。採用を検討する技術、使う場所、その技術を選ぶ理由を一覧にしなさい。
2. Your colleagues need an organized way to prioritize tasks for their team and would like to install a Todo web application. But they are concerned about the amount of work required. Based on your experience installing this Todo web application using Bootstrap and Django, what advice would you give them?
英語のヒント
2. 同僚たちは、チームのタスクに優先順位を付ける整理された方法を必要とし、Todo Webアプリケーションをインストールしたいと考えている。しかし、必要な作業量を心配している。BootstrapとDjangoでこのTodo Webアプリケーションをインストールした経験を踏まえ、どのように助言するか。
3. Consider our start-up company, which is looking to create a collection of web applications with a scalable back-end application that will feature multiple front-end applications. How can we create automated testing that will scale our back-end application?
3. 複数のフロントエンドアプリケーションを備え、規模を拡張できるバックエンドを持つ、一連のWebアプリケーションを作ろうとしている本書の新興企業について考えなさい。バックエンドの規模の拡大に対応する自動テストを、どのように作成できるか。
4. Consider our start-up company and our goal of growth. Our new clients say that they will only use Apple devices. How can we accelerate development of their front-end web application?
4. 本書の新興企業と、その成長という目標について考えなさい。新しい顧客は、Appleの端末しか使わないと言っている。その顧客向けのフロントエンドWebアプリケーションの開発を、どのように加速できるか。
5. Consider our start-up company and our goal of growth. Our client has indicated that their business does a lot of international business transactions. How could we utilize the Ethereum blockchain to save our customer in transaction fees?
5. 本書の新興企業と、その成長という目標について考えなさい。顧客は、自社が多数の国際的な商取引を行っていると述べている。顧客の取引手数料を節約するために、Ethereumブロックチェーンをどのように利用できるか。

Labs実習

1. Follow the steps provided in this subsection to build a sample responsive web application with Bootstrap and Django.
1. この項で示した手順に従い、BootstrapとDjangoでレスポンシブWebアプリケーションの例を構築しなさい。
2. Download and install OpenAPI and the Swagger UI tool. Create a sample API and call it through Swagger UI and compare it to Postman.
2. OpenAPIとSwagger UIツールをダウンロードし、インストールしなさい。APIの例を作成してSwagger UIから呼び出し、Postmanと比較しなさい。
3. Follow the steps provided in this subsection to build a sample Web 3.0 application using the Ethereum blockchain.
3. この項で示した手順に従い、Ethereumブロックチェーンを使うWeb 3.0アプリケーションの例を構築しなさい。