Beyond Web and Firefox OS - GAIA from above
Free!
With Membership
$7.99
Suggested price

Beyond Web and Firefox OS - GAIA from above

看見Gaia

About the Book

The book is provide an overview of the HTML5 written OS: The FirefoxOS front end - gaia.

We'd like to document and findout how Mozilla and the community design and achieve this ongoing great goal. And try to learn things from their design decisions.

The book help developers understand how Browser Engine (Gecko) and Gaia fit together. And shows how the system boot up and the app launching process.

This book is free for Gaia committers. Drop me an email <gasoiin at mozilla.com> with your Gaia commit evidence and I'll send you the free coupon.

About the Editors

Fred Lin
gasolin

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

PoYuChen
PoYuChen

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Tzu-Lin Huang
Tzu-Lin Huang

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Arthur Chen
Arthur Chen

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

EragonJ
EragonJ

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Steve Chung
Steve Chung

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Evan Xd
Evan Xd

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

John Hu
John Hu

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Yuren Ju
Yuren Ju

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Greg Weng
Greg Weng

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Luke Chang
Luke Chang

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Cervantes Yu
Cervantes Yu

Fred Lin (gasolin) and Gaia team from Mozilla Taipei

Table of Contents

  • Preface
    • Why I write this book
    • Target Audience
    • Credit
    • Discussion
  • Chapter 1 - Overview
    • 1.1 Firefox OS architecture
    • 1.2 Gecko Overview
    • 1.3 Gonk Overview
    • 1.4 Gaia Overview
    • 1.5 WebAPI
    • 1.6 Permission and security model
    • 1.7 Release Cycle
    • 1.8 Where to discuss and get reference
    • 1.9 Build the entire Firefox OS from source code
    • 1.10 Get a reference phone
    • 1.11 Reference
  • Chapter 2 - Get in touch with Gaia
    • 2.1 How to try Gaia
    • 2.2 How to get Gaia Source
    • 2.3 Run Gaia via Firefox mulet
    • 2.4 How to install Gaia on a real device
    • 2.5 Debug with a real device
    • 2.6 Gaia source structure
    • 2.7 How a WebApp gets started
    • 2.8 How to contribute to Gaia
    • 2.9 Reference
  • Chapter 3 - Gaia under the hood
    • 3.1 Booting path
    • 3.2 Search and Reference Gecko code
    • 3.3 Gecko files that are related to Gaia
    • 3.4 Generated files
    • 3.5 Contribute to Gecko bug
    • 3.6 Reference
  • Chapter 4 - Build Script
    • 4.1 The build process
    • 4.2 Per-commit coding style check
    • 4.3 Testing
    • 4.4 API document
    • 4.5 Customization
    • 4.6 Device type
    • 4.7 Keyboard IME
    • 4.8 Localization
    • 4.9 Beyond Build Script
    • 4.10 Reference
  • Chapter 5 - System
    • 5.1 How system app boot up
    • 5.2 Instantiable modularization
    • 5.3 Boot up and shut down animations
    • 5.4 System functions
    • 5.5 System wide UI
  • Chapter 6 - Window Management
    • 6.1 How a webapp is launched in gaia
    • 6.2 How an app launch (App life cycle Management)
    • 6.3 How an app is rendered
    • 6.4 AppWindow specific UI
    • 6.5 Special app
    • 6.6 Child windows management
    • 6.7 History Management
    • 6.8 Reference
  • Chapter 7 - Browser
    • 7.1 System Browser (Browser Chrome)
    • 7.2 Universal Search & Navigation
    • 7.3 Browser App explanation
    • 7.4 Bookmark
    • 7.5 Reference
  • Chapter 8 - Settings
    • 8.1 mozSettings API and Data binding
    • 8.2 Navigation
    • 8.3 Panels
    • 8.4 MVVM
    • 8.5 AMD module and Build time optimization
    • 8.6 Title Wording
    • 8.7 Reference
  • Chapter 9 - Keyboard
    • 9.1 Build with keyboard
    • 9.2 Keyboard manager in Gaia system
    • 9.3 Input Methods selection in Settings
    • 9.4 Keyboard App
    • 9.5 Input Methods (IME)
    • 9.5 Run Build Test
    • 9.6 Reference
  • Chapter 10 - Homescreen
    • 10.1 How Homescreen is launched
    • 10.2 Homescreen app
    • 10.3 Bookmark
    • 10.4 Collection
    • 10.5 Search
    • 10.6 Wallpaper
    • 10.7 Write your own homescreen
  • Chapter 11 - Communication Apps
    • 11.1 CostControl (usage)
    • 11.2 FTU
    • 11.3 Dialer and Contacts
    • 11.4 Callscreen and Emergency Call
    • 11.5 SMS
    • 11.6 Rest of Communications
  • Chapter 12 - Media Apps
    • 12.1 Camera
    • 12.2 Video
    • 12.3 Music
    • 12.4 FM Radio
    • 12.5 DRM, Ringtones, Wallpaper
    • 12.6 Reference:
  • Chapter 13 - Productivity Apps
    • 13.1 Email
    • 13.2 Calendar
    • 13.3 Clock
    • 13.4 Notes and Calculator
    • 13.4 Reference
  • Chapter 14 - Bluetooth and NFC
    • 14.1 Bluetooth overview
    • 14.2 NFC overview
    • 14.3 Reference

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub