mozilla / webmaker-ffos Goto Github PK
View Code? Open in Web Editor NEWWebmaker for Firefox OS
Webmaker for Firefox OS
We are using Android's native share intent for simple sharing of projects. I'm not sure if FFOS provides an equivalent interface. If not, we'll need to polyfill this UX.
See:
platform.js
Share.java
In Android we have a helper class called "camera.java" that integrates our web views with the native camera. We'll need a similar mapping to FFOS's camera APIs.
See:
platform.js
Image.java
We use Android's LruCache to implement the getMemStorage
API. In JS-land https://github.com/isaacs/node-lru-cache may be a good option to provide equivalent functionality.
See: https://github.com/mozilla/webmaker-core/blob/develop/src/lib/platform.js
The current Android app implements a number of routing methods to move between views and handle the back button:
See: https://github.com/mozilla/webmaker-core/blob/develop/src/lib/platform.js
The Android version of Webmaker provides a "wrapper" that includes native top-bar navigation. This self-contains each view and permits the application to take advantage of native transitions which helps tremendously with performance. In the Browser version of Webmaker this is instead handled by react-router. For FFOS, we'll need a similar mechanism for providing navigation and handling routing between views.
One possible complexity that will need to be designed and implemented is matching functionality for Android's Options Menu aka the "kabob":
Related to: #5
In Android, we use SharedPreferences as a persistent key/value store. In JS-land we could port this to IndexedDB or LocalStorage. We have tried using LocalForage in the past but it was a bit heavy.
See: https://github.com/mozilla/webmaker-core/blob/develop/src/lib/platform.js
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.