CN109144509B - Method for developing household APP - Google Patents
Method for developing household APP Download PDFInfo
- Publication number
- CN109144509B CN109144509B CN201810847825.5A CN201810847825A CN109144509B CN 109144509 B CN109144509 B CN 109144509B CN 201810847825 A CN201810847825 A CN 201810847825A CN 109144509 B CN109144509 B CN 109144509B
- Authority
- CN
- China
- Prior art keywords
- app
- micro
- application
- modules
- micro application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
Abstract
The invention provides a method for developing an housekeeping APP, which comprises the following steps of installing micro applications: introducing a host APP, inheriting all infrastructures of the host APP, packaging the developed independent micro applications into an HTML5 page and a JS file on the infrastructures, and uploading the HTML5 page and the JS file to a cloud server; registering in a management system of the mobile phone, and configuring a menu on an application management system to form a home-administration APP; implementation of the micro-applications: obtaining a remote file address of the micro application through a Home interface of the Home APP and downloading the remote file address in advance, and rendering the interface when a user clicks a function corresponding to the micro application; upgrading of the micro application: and repackaging and uploading the micro application, and downloading the micro application by the user. Has the advantages that: based on the hybrid development mode, the development efficiency of the household APP is improved, and the user experience of the APP is better. The deployment mode of the modules is improved, and decoupling and independent deployment among the modules are realized without depending on other application modules.
Description
Technical Field
The invention belongs to the field of computer software development, and particularly relates to a method for developing housekeeping APP.
Background
On one hand, for the development of large mobile terminal software, the existing application development mode of the mobile terminal is as follows: based on native Android or IOS development, the development efficiency is relatively slow, and a partially confused development mode is provided, so that a partially simple HTML page is mixed. There is also a pure ReactNative development method, which is not particularly good in experience although it is highly efficient. The existing development mode of the mobile terminal enables team developers to have higher coupling, requires professional development skills of the mobile terminal, and is not suitable for full participation. For the above reasons, the existing development mode is not suitable for developing the large mobile terminal software APP.
On the other hand, for the existing mobile terminal deployment mode: most of the deployment modes of native Android or IOS are all reissued versions at each time, and the upgrading cost is very high. Some architectures which are pure ReactNative use a hot deployment mode for upgrading, the whole upgrading experience is not good, and a management mechanism of an upgrading version is lacked. Simple mixed HTML page upgrades can be made using direct server side upgrades. The specific matters of the above upgrading modes all need to depend on technicians, are all coupled deployment modes, and need distributed mobile terminal architectures and deployment modes.
The existing framework has no universality, and cannot adapt to the requirements of rapid change and high real-time requirement.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for developing an housekeeping APP, which is specifically realized by the following technical scheme:
the method for home APP development comprises the following steps:
installation of the micro-application: introducing a host APP, inheriting all infrastructures of the host APP, packaging the developed independent micro applications into an HTML5 page and a JS file on the infrastructures, and uploading the HTML5 page and the JS file to a cloud server; registering in a management system of the mobile phone, and configuring a menu on an application management system to form a housekeeping APP;
and (3) realizing micro applications: obtaining a remote file address of the micro application through a Home interface of a Home APP (application) and downloading the remote file address in advance, and rendering the interface when a user clicks a function corresponding to the micro application;
upgrading of the micro application: and repackaging and uploading the micro application, and downloading the micro application by the user.
The method for the development of the domestic APP is further designed in that the micro-applications are developed by H5 or reach Native.
The method for the development of the housekeeping APP is further designed in such a way that when a user clicks a function corresponding to the micro application in the micro application implementation, the enhanced rendering interface is started according to the ReactNative or HTML5 implementation mode.
The method for developing the housekeeping APP is further designed in such a way that starting the enhanced rendering interface is realized by starting enhanced webview or reactactivity/Viewcontroller.
The method for housekeeping APP development is further designed in that the infrastructure includes a load-bearing Activity/ViewController that stores user login information, enhanced Webview, ReactNative, and a third-party repository.
The invention has the following advantages:
1. the development mode is improved: the development modes of the HTML5 and the ReactNative are independently developed and completely new mixed between developers. Based on the mixed development mode, the development efficiency of the household APP is improved, and the user experience of the APP is better.
2. The deployment mode of the modules is improved, and decoupling and independent deployment among the modules are realized without depending on other application modules.
3. The single-cable type architecture is changed into the multi-cable type architecture, all the businesses of the APP can be dispersed in different teams by adopting the development mode of the invention, the high coupling inside, the low coupling outside and the modular design are realized, and all the modules are converged together to form a large-scale application
4. And a universal app framework is adopted, so that various change requirements can be adapted, and the expansibility is better.
Drawings
Fig. 1 is a schematic diagram of an APP container.
FIG. 2 is a flow chart of application development.
Fig. 3 is an APP container architecture diagram.
Detailed Description
The technical solution of the present invention is further explained with reference to the specific embodiments and the accompanying drawings.
As shown in fig. 1, the method for developing an housekeeping APP provided by this embodiment includes three parts, which are installation of a micro application, implementation of the micro application, and upgrade of the micro application. Wherein, the installation of the micro application: a host APP is quoted, all basic facilities of the host APP are inherited, developed independent micro applications are packaged into an HTML5 page and a JS file on the basic facilities, and the HTML5 page and the JS file are uploaded to a cloud server; registering in a management system of the mobile phone, and configuring a menu on an application management system to form a housekeeping APP. And (3) realizing micro applications: and obtaining a remote file address of the micro application through a Home interface of the Home APP, downloading the remote file address in advance, and rendering the interface when a user clicks a function corresponding to the micro application. Upgrading of the micro application: repackage and upload this micro application, download by the user oneself, more can adapt to APP rapid change's demand, can the various business demands of adaptation, show the development efficiency and the experience effect that have improved mobile terminal software.
In the embodiment, the micro application is developed by H5 or React Native, and all developed modules are decoupled, so that plugging is realized.
And in the micro application implementation, when a user clicks a function corresponding to the micro application, starting the enhanced rendering interface according to the React Native or H5 implementation mode.
The enhanced rendering interface is started in the embodiment by starting enhanced Webview or ReactActivty/ViewController.
The infrastructure includes a bearer Activity/Viewcontroller that stores user login information, enhanced Webview, ReactNative, and a third party repository. The third party library includes payment systems, positioning systems, maps, cameras, code scanning, telephony, and affiliate systems, among others.
One specific implementation flow is provided below:
step 1) bears all the infrastructure of a host APP, such as storage user login information (session/token), enhanced webview, reactive native bearing Activity/ViewController, and various third party libraries.
And step 2) the developer develops a micro application, such as an order list, through H5 or reach Native, packs the order list into html/js bundle and uploads the html/js bundle to the Aliskit OSS. And meanwhile, registering in an Arena mobile application module management system, and configuring a menu on the application management system by a product manager.
And step 3) the APP takes the remote file address of the order list in the Home interface and downloads the remote file address in advance, and when the user clicks the function, the enhanced Webview or ReactActivity/Viewcontroller rendering interface is started according to the implementation mode of React Native or H5.
Step 4) when the order list needs to be upgraded, only the order list needs to be repackaged and uploaded, the Arena mobile application module management system automatically senses the new version, a developer only needs to click on the Arena mobile application module management system for deployment, the APP on the hands of a client can be received for updating, the APP does not need to be reissued and put on the shelf, the APP upgrading cost is greatly reduced, and the upgrading experience of the user is improved.
And 5) confirming and storing the Route information of the house number. Each house number represents a micro application, and Route is an entry address for accessing the micro application.
The development mode of the embodiment is a mixed development mode mixing HTML5 and ReactNative. Based on the mixed development mode, the development efficiency of the household APP is improved, and the user experience of the APP is better. And the development mode improves the deployment mode of the modules, and realizes the decoupling between the modules and independent deployment without depending on other application modules. On the other hand, the single-cable type architecture is changed into the multi-cable type architecture, all the services of the APP can be dispersed in different teams by adopting the development mode, the APP is internally highly coupled, externally and lowly coupled, the development mode is in a modular design, and all the modules are converged together to form a large application. Finally, the development mode adopts a general APP framework, can adapt to various change requirements, and has better expansibility.
While the invention has been described with reference to specific preferred embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (1)
1. A method for housekeeping APP development, comprising installation of micro-applications: introducing a host APP, inheriting all infrastructures of the host APP, packaging the developed independent micro applications into an HTML5 page and a JS file on the infrastructures, and uploading the HTML5 page and the JS file to a cloud server; registering in a management system of the mobile phone, and configuring a menu on an application management system to form a home-administration APP;
implementation of the micro-applications: obtaining a remote file address of the micro application through a Home interface of the Home APP and downloading the remote file address in advance, and rendering the interface when a user clicks a function corresponding to the micro application;
upgrading of the micro application: repackaging and uploading the micro application, and downloading the micro application by a user; the micro application adopts a mixed development mode of H5 and ReactNative, wherein the mixed development mode is used for improving the deployment mode of modules, and decoupling and independent deployment among the modules are realized without depending on other application modules;
the hybrid development mode is provided with a multi-thread architecture and is used for dispersing all services of the housekeeping APP in different teams, wherein the services are internally high-coupled and externally low-coupled, and all modules are converged together to form a large application through modular design;
in the micro application implementation, when a user clicks a function corresponding to the micro application, starting an enhanced rendering interface according to a ReactNative or HTML5 implementation mode; starting an enhanced rendering interface is realized by starting an enhanced webview or a reactActivity/Viewcontroller;
the infrastructure comprises a load-bearing Activity/Viewcontroller for storing user login information, enhanced Webview, ReactNative and a third-party library.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810847825.5A CN109144509B (en) | 2018-07-27 | 2018-07-27 | Method for developing household APP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810847825.5A CN109144509B (en) | 2018-07-27 | 2018-07-27 | Method for developing household APP |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109144509A CN109144509A (en) | 2019-01-04 |
CN109144509B true CN109144509B (en) | 2022-08-19 |
Family
ID=64798118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810847825.5A Active CN109144509B (en) | 2018-07-27 | 2018-07-27 | Method for developing household APP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144509B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725957A (en) * | 2017-10-27 | 2019-05-07 | 钉钉控股(开曼)有限公司 | Group's configuration method and device, content share system |
CN110519252A (en) * | 2019-08-20 | 2019-11-29 | 北京北信源软件股份有限公司 | Client merges the system and method for publication |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107544825A (en) * | 2017-08-11 | 2018-01-05 | 北京安云世纪科技有限公司 | The processing method of merchandise news, device and terminal in circle of friends |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9582598B2 (en) * | 2011-07-05 | 2017-02-28 | Visa International Service Association | Hybrid applications utilizing distributed models and views apparatuses, methods and systems |
CN107306286B (en) * | 2016-04-21 | 2020-12-04 | 钉钉控股(开曼)有限公司 | Processing method and device for offline attendance |
CN107357554A (en) * | 2016-05-10 | 2017-11-17 | 北京慧点科技有限公司 | Method and apparatus based on the exploitation of mixed mode Mobile solution |
CN108255546B (en) * | 2016-12-29 | 2021-09-24 | 腾讯科技(北京)有限公司 | Method and device for realizing data loading animation |
CN107480248B (en) * | 2017-08-11 | 2020-12-15 | 北京安云世纪科技有限公司 | Geographic position information loading method and device and mobile terminal |
CN107465598A (en) * | 2017-08-11 | 2017-12-12 | 北京安云世纪科技有限公司 | Audio and video playing method, apparatus and terminal |
-
2018
- 2018-07-27 CN CN201810847825.5A patent/CN109144509B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107544825A (en) * | 2017-08-11 | 2018-01-05 | 北京安云世纪科技有限公司 | The processing method of merchandise news, device and terminal in circle of friends |
Non-Patent Citations (1)
Title |
---|
微信小程序开发研究;武思怡等;《无线互联科技》;20180610(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109144509A (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10516722B2 (en) | Mobile application system | |
US9092243B2 (en) | Managing a software appliance | |
WO2017088388A1 (en) | Method and system for upgrading sdk of application | |
US8554190B2 (en) | Mobile application system | |
CN102752369B (en) | The supplying method of TV applications service and virtual content service platform | |
AU2013329684B2 (en) | Solution for distributed application life-cycle management | |
CN109117174A (en) | The system and method for the front end page of compatible different engines | |
WO2014107693A1 (en) | Method and system for providing cloud-based common distribution applications | |
CN106911500B (en) | Physical machine configuration method and device and physical machine | |
CN109144509B (en) | Method for developing household APP | |
WO2019029451A1 (en) | Method for publishing mobile applications and electronic apparatus | |
CN101980503B (en) | Method, device and system for managing widget application | |
CN109213533A (en) | A kind of advertisement SDK dynamic loading method, device and terminal | |
CN109343970B (en) | Application program-based operation method and device, electronic equipment and computer medium | |
CN110968823A (en) | Application client starting method, service server and client equipment | |
CN113220339A (en) | Page generation method and device | |
CN113296742A (en) | APP data processing method and device and mobile terminal | |
CN111782231A (en) | Service deployment method and device | |
CN112910956B (en) | Resource creation method and device and electronic equipment | |
CN115080109A (en) | Multi-cloud-end environment joint debugging method, device, system and equipment based on hybrid development | |
CN111124523A (en) | Method and apparatus for initializing applications | |
CN115857878A (en) | Development framework generation method and application method | |
CN102457552A (en) | System, device, and method used for acquiring service of provider | |
US8504669B2 (en) | System and method for OSGi-based service delivery framework | |
US11456983B2 (en) | Interactive operation method, and transmitter machine, receiver machine and interactive operation system using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |