jxson / modular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modular

Modular is the application platform of Fuchsia.

It provides a post-API programming model that allows applications to cooperate in a shared context without the need to call each other's APIs directly.

First, setup, build, and run Fuchsia. On the Fuchsia command line you can start an example application flow thus:

@ bootstrap device_runner --user-shell=dummy_user_shell

A single application can be run using the dev_user_shell, for example:

@ bootstrap device_runner --user-shell=dev_user_shell --user-shell-args=--root-module=example_recipe,--root-link={"http://schema.domokit.org/counter":5\,"http://schema.org/sender":"dev_user_shell"}

The flags --user-shell and --user-shell-args are read by device_runner. The value of --user-shell is the application run as user shell. The value of --user-shell-args is a comma separated list of arguments passed to the user shell application. In this example, these arguments are in turn more flags. Commas inside the value of such arguments are escaped by backslashes. The value of --root-module selects the module to run. The value of --root-link is a JSON representation of the initial data the module is started with.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 73.0%Language:C++ 26.0%Language:Python 1.0%