- 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.
- 高手是如何做產品設計的(全2冊)
- Mastering AWS Lambda
- PyTorch自動駕駛視覺感知算法實戰
- Mastering Python Scripting for System Administrators
- Windows Presentation Foundation Development Cookbook
- Learning Neo4j 3.x(Second Edition)
- C語言程序設計案例式教程
- The DevOps 2.4 Toolkit
- Apache Mesos Essentials
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(高級進階篇)
- Apache Kafka Quick Start Guide
- Learning FuelPHP for Effective PHP Development
- C語言程序設計上機指導與習題解答(第2版)
- HTML5從入門到精通(第4版)
- Android應用開發深入學習實錄