A new generation of Hybrid framework kerkee

kerkee

The birth background of the kerkee framework

Hybrid App combines all the advantages of Native App, as well as Web App The advantage of using HTML5 cross-platform development at low cost. And it has the advantages of using Native to extend the web interface to make up for the web’s inability to call platform APIs. Hybrid App is also the development trend of future client technology. With the advent of HTML5, many applications on the market (such as Taobao, Baidu search, and AutoNavi Maps) have used the Hybrid App development model, but they have encountered some bottlenecks (such as the performance is not as expected, the browser’s internal data flow cannot be operated, and the browser’s internal data flow cannot be operated automatically. Define the requirements of the request), the user experience is not as good as expected.
Based on this, a new development model was born! Kerkee framework is a unique flexible mixed development model with multi-agent coexistence on the market.

What is the Kerkee framework?

Kerkee is a multi-agent coexistence Hybrid framework, which has cross-platform, good user experience, high performance, good scalability, strong flexibility, easy maintenance, Standardize, integrate cloud services, have a Debug environment, and thoroughly solve cross-domain problems.

kerkee official website

  • Official website: http://www.kerkee.com

  • github: https://github.com/kercer

  • QQ exchange group: 110710084 p>

Using kerkee case

Kerkee’s Hybrid architecture idea has been used in two apps with hundreds of millions of users and many tens of millions of users

p>

  • UC Game Hall

  • Jiuyou Game Center

  • Skywing Navigation

    p>

  • Sohu News Client

  • Sohu News SDK (applied to Sohu Video Client)

  • Doomi client (B-side, C-side)

Development model based on kerkee framework

From the perspective of developers Said that it supports three team development models:

  1. For Web developers
    One of the scenarios of this model is: only Web Developers who develop, but don’t know about Native development, provide a series of platform-based interfaces. This method has the advantages of short development cycle and cross-platform.

  2. For Native developers
    One of the scenarios of this development model is: Native developers want to intercept web page data or The data is processed by itself, or the behavior in the Web page is modified. At this time, the Kerkee framework will bring them convenience.

  3. For development teams that web developers and Native teams work together
    For teams with this model, the kerkee framework is more open and transparent. Cooperation and strictly separate their respective responsibilities. Each of the Web team and Native team focused their main efforts on their respective modules, which is conducive to the optimization of their respective modules to the extreme.

kerkee framework features and problems that can be solved

  1. cross-platform
    kerkee is Hybrid App framework, business HTML5 development, HTML5 has cross-platform features, so Kerkee also has cross-platform features.

  2. Good user experience
    All web interfaces can be customized in Native, that is, if the web UI or data operation cannot satisfy the user The experience can be implemented through native code to achieve a better user experience.

  3. High performance
    In terms of performance, the kerkee framework has made a lot of optimizations, and the underlying network layer, IO operations, etc. all adopt C/C++ Realize and rewrite WebView, control the resources in the Web (such as image resources, etc.), implement resource requests with an event-driven model, and implement a set of caching strategies for the Web, completely leaving behind the set of data flow operations in webview . Allows developers to have more transparent data operations to achieve better performance, and break through the performance bottleneck under the original development model.

  4. Good scalability
    Kerkee framework adopts plug-in modular design, each module is a webapp, which can be freely extended when needed .

  5. Flexibility
    Kerkee implements runtime internally, automatically transforming the js interface into the native interface, and the web layer and the native layer are strictly separated to achieve no In the coupled state, the developer is open and transparent to the entire process and interface, without special constraints.

  6. Easy to maintain
    The Kerkee framework makes the client strictly modular, uses an interface-style interaction model, has dynamic update characteristics, and is easy to maintain , So as to operate.

  7. Standardization
    The Kerkee framework complies with W3C standards and re-implements HTML5 features such as XMLHttpRequest, WebSocket, LocalStorage, and Application Cache. Web front-end developers only need to write code according to W3C standards, that is, the principle of writing once and running everywhere, without any third-party library dependencies.

  8. Debug tool
    Kerkee internally integrates the Debug environment, the web log will be printed to the console or file

    li>

  9. Resolve cross-domain completely
    The Kerkee framework uses a special mechanism to solve the cross-domain problem, which means that developers can operate any web page on the Internet. data.

  10. Make the client architecture clearer
    The Kerkee framework will make the client architecture clearer. The overall structure, layered from top to bottom as shown below:

  11. Easy to use
    For developers It is easy to use.

Web developers: No need to add other code, just implement the code according to W3C specifications. To call the Native interface, you only need to call the corresponding fuction in the framework. Native developers: only need to register the corresponding class in Kerkee, and the code size does not exceed 5 lines to use the Kerkee framework

Leave a Comment

Your email address will not be published.