- Learning Firefox OS Application Development
- Tanay Pant
- 223字
- 2021-07-09 21:45:44
The working of components under Firefox OS's hood – an example
Let's take the example of the camera application of Firefox OS. Let's think of a high-level view of what happens when we take a picture in Firefox OS's ecosystem. We open the Camera application, which is a part of Gaia. Gaia makes use of the Camera API, which is implemented in Gecko to run the application, as Gecko is the rendering engine for the operating system. Gecko then passes the requests to Gonk, which interfaces with the hardware. Gonk sends a low-level request to the chip that activates the camera and actually takes a picture.
All these types of access to the hardware are provided to the developer via the WebAPIs, so you don't actually have to think of or concern yourself with what lies under the hood. It feels great to drive a car, but having abstract knowledge of what actually lies under the hood can always prove to be useful.

In the preceding illustration, the purple line from Command to Action denotes the flow of control from the highest to the lowest abstraction level, and finally to the hardware.
- UML和模式應用(原書第3版)
- 基于Java技術的Web應用開發
- Spring Boot+Spring Cloud+Vue+Element項目實戰:手把手教你開發權限管理系統
- Python金融數據分析
- Mastering Google App Engine
- Responsive Web Design by Example
- 精通Linux(第2版)
- Julia高性能科學計算(第2版)
- Statistical Application Development with R and Python(Second Edition)
- Unity 3D/2D移動開發實戰教程
- 計算語言學導論
- Java Hibernate Cookbook
- Python預測之美:數據分析與算法實戰(雙色)
- DevOps 精要:業務視角
- Kotlin入門與實戰