Giter Club home page Giter Club logo

blendui's Introduction

BlendUI

NPM version Dependency Status

Installation

$ sudo npm install -g blendui

Create the app

$ blendui init ./yourpath

BlendUI是Clouda+中的重要组成部分,他能让webapp的用户界面体验和交互能和Native媲美。操作性能是webapp中体验最薄弱的一环,具体而言,这包括:转场动画不流畅、DOM结构过于复杂导致卡顿,用Javascript实现固定头尾布局性能较差等。

因而,我们用Native技术来扩展Javascript,同时我们选择了最易于理解的方式:让Javascript能像操作DOM那样操作多个webview,以及在webview中嵌入Native组件。

  • 多Webview控制能力。让一个Webapp拆到多个webview中运行,并能用Javascript来调度,解决了页面过大导致卡顿的问题,同时,webview的转场动画由Native代码实现,也解决了转场动画不流畅的问题。
  • Native组件嵌入能力。能将Native控件嵌入Webview中,这样就能让页面中那些性能较差的部分用Native来实现,以最大化地提高体验和交互。

BlendUI只在最基础的部分使用Native,BlendUI的核心消息机制类似传统的web事件,而所有BlendUI组件都可以采用完完全全的web来编写。总之,我们保持了所有web的风格和灵活性。

文档

请前往Clouda+官网阅读

blendui's People

Contributors

dingquantracy avatar jguang avatar yudong22 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.