-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Common APIs #179
Comments
A short draft of Miniapp Common APIs is prepared for CG discussion. Miniapp Object ModelAbstractMAOM (Miniapp Object Model) is an object model for Miniapp that provides the JavaScript interface. 1. Introduction1.1 BackgroundMiniapp is a concept of light software application based on Web technology that runs on userAgent, combined with native application technology implementations. As described in the MiniApp Standardization White Paper, the logic layer is separated from the view layer. 1.2 An Overview of MiniApp Object ModelMAOM provides rich native APIs for developers to easily and quickly invoke these APIs to complete related tasks, such as obtaining system information, local storage, payment service, etc. 1.3 Summarize of MiniApp Object ModelMAOM can be classified into three core object models: HOSTOM (Host Object Model), APPOM (App Object Model), PAGEOM (Page Object Model). HOSTOM(Host Object Model) APPOM(App Object Model) PAGEOM(Page Object Model) 2. HOSTOM2.1 Data Storage2.2 Device Adaptation2.3 Media2.4 Network and Communications2.5 Payment and Services2.6 Graphic and Layout2.7 User Interaction2.8 Sensors and Local Interactions2.9 Security and Privacy2.10 Performance and Tuning2.11 Router3. APPOM4. PAGEOM |
There is some overlap between this issue and #177, maybe we can work on it together? |
I agree. It will be great to merge these issues. |
Nowadays, different vendors have different categories, development guidelines, and implementations for developing Miniapp APIs. The cost of writing multiple sets of code for different vendors is obviously very high for developers. Therefore, it is necessary to define a standard set of APIs for Miniapp to help improve the cross-platform capability of Miniapp, improving developer efficiency.
The specification may contain:
The text was updated successfully, but these errors were encountered: