-
Notifications
You must be signed in to change notification settings - Fork 0
B42 Architecture Notes
Pankaj Doharey edited this page Jan 16, 2019
·
4 revisions
- Common Flags ..
- -r --debug -> For interactive repl also runs eval-form on the renderer with
:verbose true
- -e --eval -> eval some clojurescript after loading the config.
- -p --profile -> start with profile
- -v --version
- -t --new-tab
- -w --new-window
- -n --new-instance
- -h --help
- -s --safe-mode
- -z --size width height -> start window with a specified width and height.
Ui should be entirely done in webgl, that exposes api to update modify and draw elements in the browser window thus it gives us the facility to draw any kind of UI elements imaginable. So that the modeline can be scriptable.
- Open/Follow Drawer can be build on Webgl for speed as opposed to html elements.
- UI exposes controls API.
- Exposes API to open native software using electron/shell api. This can be used to open downloaded files in file manager or respective document viewer.
-
An FS Api is required to access the filesystem implemented on ipcRenderer and ipcMain, this would facilitate in making a simple function like reload-config or load-file/source that would be able to live reload all config at whim and able to rebuild the UI.
-
A
(require 'namespace)
function is needed in renderer that resolves new namespaces from app source directory or load-path if specified in that order.