SlideShare una empresa de Scribd logo
1 de 22
FIREFOX OS
What is it?
● Firefox OS. Referred to as Boot 2 Gecko or
B2G (codename).
● Firefox OS is an open source mobile
operating system from Mozilla, based on
Linux and powered by Mozilla's Gecko
technology.
IDEA?
●The idea behind Firefox OS is simple:
Building apps for the mobile web using exactly the same tools and
languages as the desktop web.
Simply it's aWeb App transformed in User
Interface for your smartphone.
SIMPLE?
 Firefox OS is simple to create and work on.
 It is completely based on HTML5 and CSS3
just like a browser running on your phone.
HOW IS IT BUILD?
ARCHITECTURE OF FIREFOX OS
Linux Core (GONK)
Firefox OS is based on the proven firefox engine (GECKO). Fully open
and standard proposed-APIs
UX layer (GAIA)
GONK
 Gonk is the lower level operating system of the Firefox OS
platform.
 Gonk is a very simple Linux distribution.
 Gonk is a porting target of Gecko.
 i.e there's a port of Gecko to Gonk, just like there's a port of
Gecko to OS X,Windows, and Android.
CONTINUE…..
Porting target (in gecko there is a lot of code that is
platform agnostic, and some parts (like windowing
system, input system) that are platform specific. gonk is
the platform we use for b2g devices)
CONTINUE….
 It consists of a Linux kernel (based on the Android Open Source
Project (AOSP)) and userspace hardware abstraction layer
(HAL).
 HAL (set of user space libraries which are common open-source
projects: Linux, libusb, bluez. Some of the other parts of the
HAL are shared with the Android project: GPS, camera, and
others).
CONTINUE….
 Firefox OS project/Gecko has full control over Gonk, we can
expose interfaces to Gecko that can't be exposed on other
operating systems. For example, Gecko has direct access to the
full telephony stack and display frame buffer on Gonk, but
doesn't have this access on any other operating system.
 Linux kernel ??
 Booting process??
LINUX KERNAL & FLOW OF CONTROL
In Linux, the flow of control during a boot is from BIOS to boot
loader, to kernel.
(BIOS : initialize and test the system hardware components, and to
load a “bootloader” from a mass memory device ).
The boot loader often presents the user with a menu of
possible boot options.
The boot loader can be configured to time out if the user does
not interact with the boot loader, thus selecting a default kernel
and system configuration.
CONTINUE…..
 After the selection is made, or after reaching a selection time-out,
boot loader loads the kernel.
 The boot loader starts the kernel(by calling calling start_kernel()) and the kernel
starts init.
 start_kernel() then performs the majority of system setup (interrupts,
the rest of memory management, device and driver initialization,etc.)
before spawning separately, scheduler, and the init process (which is
executed in user space).
 (The kernel then starts the scheduler (to allow multi-tasking) and runs the
first program init (short for initialization: is a program for Unix-based
computer operating systems that spawns all other processes))
CONTINUE….
 The init process executes scripts as needed that set up all non-operating
system services and structures in order to allow a user environment to be
created. Usually, these scripts then present the user with a way to
authenticate and thus login into the system
FIREFOX OS BOOT UP PROCESS
GECKO
 This is the Firefox OS application runtime; that is, the layer that
provides all of the support for open standards: HTML, CSS, and
JavaScript. Gecko, is the implementation of web standards (HTML,
CSS, and JavaScript) that is used to implement everything the user
sees on Firefox OS.
 Gecko is a middleware composed of
layout engine (for rendering HTML content)
virtual machine (for running Javascript code)
porting layers to the different platforms,networking stack,graphics
stack (which delegates-to give power/duty- operations to the GPU when needed)
etc..
GAIA
 Gaia is the user interface level of Firefox OS. Everything that appears on the
screen after Firefox OS starts up is drawn by Gaia, including the lock screen,
home screen, dialer, and other applications. Gaia is written entirely in
HTML, CSS, and JavaScript. Its only interface to the underlying operating
system and hardware is through standard Web APIs, which are
implemented by Gecko.
 Because of this design, not only can Gaia be run on Firefox OS devices, but
also on other operating systems and in other web browsers.
 UI implementation based on building blocks and JS libraries
APPLICATION LAYER
Core - Certified Applications
 Applications which are the backbone of a contemporary mobile device
 Dialer, Messaging, Contacts, Media, Gallery, Clock, etc.
 Pre-installed on the device .
 Trusted Packaged Applications
 Installed from marketplace.
 Reviewed and cryptologially signed byApp reviewer.
Communication with Gecko??
COMMUNICATION WITH GECKO
 The communication between Gecko and Gaia's System app is done via
mozChromeEvent and mozContentEvent.
 mozChromeEvents are broadcast from chrome to content(i.e for messages
from chrome (parent window) to content(system apps))
 mozContentEvents are broadcast from content to chrome.
 This communication is used to control the creation and closure of the trusted
UI and to inject the required functions for notifications and other tasks,
including telling the System app to start an app.
FIREFOX OS APPS ARCHITECTURE
 The app startup process
 When the user selects an app,the home screen app starts by getting an
app reference from the “app API” ,then calling the “app.launch()”
method to launch.
 Gecko receives that request and sends the “mozChromeEvent” to the
System app with the app's details.The System app handles that event
by inserting a new<iframe> into its DOM tree and loading the app
within the new <iframe>.That frame will be the app's home until it
terminates.
 Every app requires a manifest that describes the app.
THANKYOU
Kumar Rishav
Mozillian and FSA
https://www.facebook.com/rishav.raj.737001
rishav006@gmail.com
SUPPORT OPEN WEB
 Doing good is part of our code
Appdaysindore

Más contenido relacionado

La actualidad más candente

La actualidad más candente (8)

Trabajo de jose
Trabajo de jose Trabajo de jose
Trabajo de jose
 
Internet browsers by Andres Haydar
Internet browsers by Andres HaydarInternet browsers by Andres Haydar
Internet browsers by Andres Haydar
 
Browsers .
Browsers .Browsers .
Browsers .
 
Browsers
BrowsersBrowsers
Browsers
 
Web browsers
Web browsersWeb browsers
Web browsers
 
Browsers
BrowsersBrowsers
Browsers
 
Web browsertico
Web browserticoWeb browsertico
Web browsertico
 
Browsers
BrowsersBrowsers
Browsers
 

Similar a Appdaysindore

Similar a Appdaysindore (20)

Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015Firefox OS - Hive Pilani 2015
Firefox OS - Hive Pilani 2015
 
FirefoxOS and its use of Linux (a deep dive into Gonk architecture)
FirefoxOS and its use of Linux (a deep dive into Gonk architecture)FirefoxOS and its use of Linux (a deep dive into Gonk architecture)
FirefoxOS and its use of Linux (a deep dive into Gonk architecture)
 
F irefox
F irefoxF irefox
F irefox
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 
Firefox os
Firefox osFirefox os
Firefox os
 
Firefox os ppt
Firefox os pptFirefox os ppt
Firefox os ppt
 
Introduction to firefox os
Introduction to firefox osIntroduction to firefox os
Introduction to firefox os
 
Firefox OS Intro, Inside OUT
Firefox OS Intro, Inside OUTFirefox OS Intro, Inside OUT
Firefox OS Intro, Inside OUT
 
Firefox os
Firefox osFirefox os
Firefox os
 
Firefox smart phone os
Firefox smart phone osFirefox smart phone os
Firefox smart phone os
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 
Firefox operating system
Firefox operating systemFirefox operating system
Firefox operating system
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 
Develop your first app on Firefox OS
Develop your first app on Firefox OSDevelop your first app on Firefox OS
Develop your first app on Firefox OS
 
Online lg prodect
Online lg prodectOnline lg prodect
Online lg prodect
 
Firefox os
Firefox osFirefox os
Firefox os
 
Browsers
BrowsersBrowsers
Browsers
 
Browsers
BrowsersBrowsers
Browsers
 
Import golang; struct microservice
Import golang; struct microserviceImport golang; struct microservice
Import golang; struct microservice
 
Firefox OS
Firefox OSFirefox OS
Firefox OS
 

Último

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Último (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Appdaysindore

  • 1. FIREFOX OS What is it? ● Firefox OS. Referred to as Boot 2 Gecko or B2G (codename). ● Firefox OS is an open source mobile operating system from Mozilla, based on Linux and powered by Mozilla's Gecko technology.
  • 2. IDEA? ●The idea behind Firefox OS is simple: Building apps for the mobile web using exactly the same tools and languages as the desktop web. Simply it's aWeb App transformed in User Interface for your smartphone.
  • 3. SIMPLE?  Firefox OS is simple to create and work on.  It is completely based on HTML5 and CSS3 just like a browser running on your phone.
  • 4. HOW IS IT BUILD? ARCHITECTURE OF FIREFOX OS Linux Core (GONK) Firefox OS is based on the proven firefox engine (GECKO). Fully open and standard proposed-APIs UX layer (GAIA)
  • 5.
  • 6. GONK  Gonk is the lower level operating system of the Firefox OS platform.  Gonk is a very simple Linux distribution.  Gonk is a porting target of Gecko.  i.e there's a port of Gecko to Gonk, just like there's a port of Gecko to OS X,Windows, and Android.
  • 7. CONTINUE….. Porting target (in gecko there is a lot of code that is platform agnostic, and some parts (like windowing system, input system) that are platform specific. gonk is the platform we use for b2g devices)
  • 8. CONTINUE….  It consists of a Linux kernel (based on the Android Open Source Project (AOSP)) and userspace hardware abstraction layer (HAL).  HAL (set of user space libraries which are common open-source projects: Linux, libusb, bluez. Some of the other parts of the HAL are shared with the Android project: GPS, camera, and others).
  • 9. CONTINUE….  Firefox OS project/Gecko has full control over Gonk, we can expose interfaces to Gecko that can't be exposed on other operating systems. For example, Gecko has direct access to the full telephony stack and display frame buffer on Gonk, but doesn't have this access on any other operating system.  Linux kernel ??  Booting process??
  • 10. LINUX KERNAL & FLOW OF CONTROL In Linux, the flow of control during a boot is from BIOS to boot loader, to kernel. (BIOS : initialize and test the system hardware components, and to load a “bootloader” from a mass memory device ). The boot loader often presents the user with a menu of possible boot options. The boot loader can be configured to time out if the user does not interact with the boot loader, thus selecting a default kernel and system configuration.
  • 11. CONTINUE…..  After the selection is made, or after reaching a selection time-out, boot loader loads the kernel.  The boot loader starts the kernel(by calling calling start_kernel()) and the kernel starts init.  start_kernel() then performs the majority of system setup (interrupts, the rest of memory management, device and driver initialization,etc.) before spawning separately, scheduler, and the init process (which is executed in user space).  (The kernel then starts the scheduler (to allow multi-tasking) and runs the first program init (short for initialization: is a program for Unix-based computer operating systems that spawns all other processes))
  • 12. CONTINUE….  The init process executes scripts as needed that set up all non-operating system services and structures in order to allow a user environment to be created. Usually, these scripts then present the user with a way to authenticate and thus login into the system
  • 13. FIREFOX OS BOOT UP PROCESS
  • 14.
  • 15. GECKO  This is the Firefox OS application runtime; that is, the layer that provides all of the support for open standards: HTML, CSS, and JavaScript. Gecko, is the implementation of web standards (HTML, CSS, and JavaScript) that is used to implement everything the user sees on Firefox OS.  Gecko is a middleware composed of layout engine (for rendering HTML content) virtual machine (for running Javascript code) porting layers to the different platforms,networking stack,graphics stack (which delegates-to give power/duty- operations to the GPU when needed) etc..
  • 16. GAIA  Gaia is the user interface level of Firefox OS. Everything that appears on the screen after Firefox OS starts up is drawn by Gaia, including the lock screen, home screen, dialer, and other applications. Gaia is written entirely in HTML, CSS, and JavaScript. Its only interface to the underlying operating system and hardware is through standard Web APIs, which are implemented by Gecko.  Because of this design, not only can Gaia be run on Firefox OS devices, but also on other operating systems and in other web browsers.  UI implementation based on building blocks and JS libraries
  • 17. APPLICATION LAYER Core - Certified Applications  Applications which are the backbone of a contemporary mobile device  Dialer, Messaging, Contacts, Media, Gallery, Clock, etc.  Pre-installed on the device .  Trusted Packaged Applications  Installed from marketplace.  Reviewed and cryptologially signed byApp reviewer. Communication with Gecko??
  • 18. COMMUNICATION WITH GECKO  The communication between Gecko and Gaia's System app is done via mozChromeEvent and mozContentEvent.  mozChromeEvents are broadcast from chrome to content(i.e for messages from chrome (parent window) to content(system apps))  mozContentEvents are broadcast from content to chrome.  This communication is used to control the creation and closure of the trusted UI and to inject the required functions for notifications and other tasks, including telling the System app to start an app.
  • 19. FIREFOX OS APPS ARCHITECTURE  The app startup process  When the user selects an app,the home screen app starts by getting an app reference from the “app API” ,then calling the “app.launch()” method to launch.  Gecko receives that request and sends the “mozChromeEvent” to the System app with the app's details.The System app handles that event by inserting a new<iframe> into its DOM tree and loading the app within the new <iframe>.That frame will be the app's home until it terminates.  Every app requires a manifest that describes the app.
  • 20. THANKYOU Kumar Rishav Mozillian and FSA https://www.facebook.com/rishav.raj.737001 rishav006@gmail.com
  • 21. SUPPORT OPEN WEB  Doing good is part of our code