CN106020845A - Client hybrid rapid development method - Google Patents

Client hybrid rapid development method Download PDF

Info

Publication number
CN106020845A
CN106020845A CN201610383462.5A CN201610383462A CN106020845A CN 106020845 A CN106020845 A CN 106020845A CN 201610383462 A CN201610383462 A CN 201610383462A CN 106020845 A CN106020845 A CN 106020845A
Authority
CN
China
Prior art keywords
nlcordova
client
development
web
file
Prior art date
Application number
CN201610383462.5A
Other languages
Chinese (zh)
Inventor
余敬龙
Original Assignee
广东能龙教育股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 广东能龙教育股份有限公司 filed Critical 广东能龙教育股份有限公司
Priority to CN201610383462.5A priority Critical patent/CN106020845A/en
Publication of CN106020845A publication Critical patent/CN106020845A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/314Parallel programming languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention discloses a client hybrid rapid development method. The method comprises the following steps of setting up an NLCordova development environment, introducing a client item into an NLCordova library, introducing an NLCordova.js file into a Web page and calling an NLCordova API through the Web page. Compared with a traditional development mode, according to the client hybrid rapid development method, all functions are applied to develop corresponding versions for all platform clients, the client hybrid rapid development mode based on Cordova is adopted, partial function pages in App are achieved by using an HTML5 Web technology, deployment of multiple platforms at the same time can be supported, the development efficiency is high, and the maintenance cost is saved.

Description

A kind of client mixing quick development method

Technical field

The invention belongs to client, be specifically related to a kind of client mixing quick development method.

Background technology

All functions of tradition application, all provide the version of the multi-platform support such as Ios, Android and the mobile Web page, but do not support cross-platform, thus development efficiency and maintenance cost are continuously increased.And client mixes quick development mode, allowing partial page in App use HTML5 Web technology to realize, support to be deployed to multiple platform simultaneously, overall development efficiency has obtained direct raising, is greatly saved development and maintenance cost.

Hybrid mixed model develops through in a few years, has become as the routine techniques of Mobile Development, and most of App can embed WebView, difference be the degree to application how.My department has the deepest accumulation, nearly all App to achieve Webization at partial page, and have accumulated certain experiences in Hybrid mixed developing in mobile Web field.

Hybrid App is also mixing App, it is both web-app, native-app coalition (" half primary half Web "), need to download and install, partial function uses Web technology to write, so having cross-platform and terminal, and use primary language to realize interface, it is possible to directly local resource access, call and take pictures and the function such as dialing, experiences is similar to Native App user and not tests.

Along with deepening continuously of business demand, team size gradually expands, and App item code amount also becomes increasingly bulky complex, the most also maintains multiple clients such as IOS and Android, and mobile terminal and desktop Web full platform support.In this case, higher development efficiency just becomes the problem that enterprise has to take into account that.

Summary of the invention

For solving above-mentioned technical problem, it is an object of the invention to provide a kind of client mixing quick development method.

The technical solution used in the present invention is:

A kind of client mixing quick development method, comprises the following steps:

(A) NLCordova development environment is built;

(B) client item introduces NLCordova storehouse;

(C) Web page introduces NLCordova.js file;

(D) Web page calls NLCordova API.

Further, in described step (B), NLCordova storehouse includes Html file, loads Web application start page, be then converted into Web view, and give Web view control when client-side program starts, operates in the Web application in NLCordova container.

Further, described step (B) also includes in NLCordova storehouse the Js file being responsible for controlling logic.

Further, described step (B) also includes in NLCordova storehouse the Css file being responsible for realizing outward appearance interface.

Further, in described step (D), NLCordova API is used for direct local resource access, calls and take pictures and dial.

Beneficial effects of the present invention:

The present invention contrasts traditional development mode, all functions are applied to develop corresponding version for each platform client, client based on Cordova is used to mix quick development mode, part function pages in App is allowed to use HTML5 Web technology to realize, support to dispose multiple platform simultaneously, development efficiency is higher, more saves maintenance cost.

Accompanying drawing explanation

Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is described further.

Fig. 1 is the main flow chart of the present invention;

Fig. 2 be NLCordova of the present invention build flow chart.

Detailed description of the invention

As it is shown in figure 1, be a kind of client mixing quick development method of the present invention, comprise the following steps:

(A) NLCordova development environment is built;

(B) client item introduces NLCordova storehouse;

(C) Web page introduces NLCordova.js file;

(D) Web page calls NLCordova API.

As shown in Figure 2, Web application start page (such as Index.html) is loaded when client-side program starts, it is then converted into Web view, and give Web view control, operate in the Web in NLCordova container to apply just as the Web page net in mobile browser, wherein Js is responsible for controlling logic, and Css is responsible for realizing outward appearance interface.

Wherein, Cordova is the low level development framework of mixing application (Hybrid App), and Css is cascading style list file, and Js is JavaScript script file.

The present invention contrasts traditional development mode, all functions are applied to develop corresponding version for each platform client, client based on Cordova is used to mix quick development mode, part function pages in App is allowed to use HTML5 Web technology to realize, support to dispose multiple platform simultaneously, development efficiency is higher, more saves maintenance cost.

The foregoing is only the preferred embodiments of the present invention, the present invention is not limited to above-mentioned embodiment, as long as realizing within the technical scheme of the object of the invention broadly falls into protection scope of the present invention with essentially identical means.

Claims (5)

1. a client mixing quick development method, it is characterised in that comprise the following steps:
(A) NLCordova development environment is built;
(B) client item introduces NLCordova storehouse;
(C) Web page introduces NLCordova.js file;
(D) Web page calls NLCordova API.
A kind of client mixing quick development method the most according to claim 1, it is characterized in that: in described step (B), NLCordova storehouse includes Html file, Web application start page is loaded when client-side program starts, it is then converted into Web view, and give Web view control, operate in the Web application in NLCordova container.
A kind of client mixing quick development method the most according to claim 2, it is characterised in that: described step (B) also includes in NLCordova storehouse the Js file being responsible for controlling logic.
A kind of client mixing quick development method the most according to claim 3, it is characterised in that: described step (B) also includes in NLCordova storehouse the Css file being responsible for realizing outward appearance interface.
A kind of client mixing quick development method the most according to claim 1, it is characterised in that: in described step (D), NLCordova API is used for direct local resource access, calls and take pictures and dial.
CN201610383462.5A 2016-05-31 2016-05-31 Client hybrid rapid development method CN106020845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610383462.5A CN106020845A (en) 2016-05-31 2016-05-31 Client hybrid rapid development method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610383462.5A CN106020845A (en) 2016-05-31 2016-05-31 Client hybrid rapid development method

Publications (1)

Publication Number Publication Date
CN106020845A true CN106020845A (en) 2016-10-12

Family

ID=57092261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610383462.5A CN106020845A (en) 2016-05-31 2016-05-31 Client hybrid rapid development method

Country Status (1)

Country Link
CN (1) CN106020845A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092473A (en) * 2016-10-31 2017-08-25 北京小度信息科技有限公司 Desktop application development approach and equipment
WO2018166107A1 (en) * 2017-03-14 2018-09-20 平安科技(深圳)有限公司 Hybrid-based compatibility method, adapter, operating apparatus and system, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140019623A (en) * 2012-08-06 2014-02-17 인크로스 주식회사 An integrated platform for authoring web applications and the authoring method thereof
CN104321745A (en) * 2012-02-07 2015-01-28 泰利瑞克股份公司 Environment and method for cross-platform development of software applications
CN105245535A (en) * 2015-10-23 2016-01-13 上海斐讯数据通信技术有限公司 Multi-client uniform management method and system
CN105573129A (en) * 2015-11-10 2016-05-11 华南理工大学 Cordova-based cross-platform smart home mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104321745A (en) * 2012-02-07 2015-01-28 泰利瑞克股份公司 Environment and method for cross-platform development of software applications
KR20140019623A (en) * 2012-08-06 2014-02-17 인크로스 주식회사 An integrated platform for authoring web applications and the authoring method thereof
CN105245535A (en) * 2015-10-23 2016-01-13 上海斐讯数据通信技术有限公司 Multi-client uniform management method and system
CN105573129A (en) * 2015-11-10 2016-05-11 华南理工大学 Cordova-based cross-platform smart home mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
唐彬文等: "基于CORDOVA的跨平台闽西生猪疫病APP的研究与实现", 《武夷学院学报》 *
肖敏: "基于Apache Cordova的跨平台智能家居终端应用研发", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092473A (en) * 2016-10-31 2017-08-25 北京小度信息科技有限公司 Desktop application development approach and equipment
WO2018166107A1 (en) * 2017-03-14 2018-09-20 平安科技(深圳)有限公司 Hybrid-based compatibility method, adapter, operating apparatus and system, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US9990128B2 (en) Messaging application interacting with one or more extension applications
US9201631B2 (en) Method and system for providing content
CN105553836B (en) A method of household electrical appliances are manipulated based on wechat
CN104424022B (en) Screen recording method and device
EP2687965A1 (en) Icon generation method
CN102929638B (en) Method and system for expanding Web application (App) functions
CN104731643B (en) A kind of management method and management system of background application
Taivalsaari et al. Liquid software manifesto: The era of multiple device ownership and its implications for software architecture
CN102567516B (en) Script loading method and device
RU2638727C2 (en) Method and device for starting external application in browser
KR20120045586A (en) Apparatus and method for setting saas(software as a service) applications for multi-tenant
JP2015534688A (en) Application development, compilation, and debugging method and apparatus
JP2015167014A (en) Method, apparatus, sever and system for implementing web application
US20150128106A1 (en) Software Builder
CN105992056B (en) A kind of decoded method and apparatus of video
CN102682093A (en) Web page sectionally-loading method and web page sectionally-loading system for mobile browser
CN103092665B (en) Immediate updating device and immediate updating method
WO2017088509A1 (en) Page customization method and device
US9766904B2 (en) Method for dynamically modifying application startup icon, message sending method and terminal
DK3011444T3 (en) Method and apparatus for code virtualization and generation of remote process calls
CN105354014B (en) Application interface renders methods of exhibiting and device
CN105824664B (en) Application program launching monitoring method, device and terminal device
CN103067392A (en) Security access control method based on Android terminal
CN101930366A (en) Browser-based mobile phone middleware
CN103577207B (en) A kind of loading method and device of defined interface system median surface component

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012