Giter Club home page Giter Club logo

native.js's Introduction

nativejs API

当前版本 v0.0.3

nativejs 用于快速构建 移动端webapp。借助路由切换以及数据绑定,高效完成项目构建和开发

Demo 地址

http://demo.nativejs.webzeal.cn/

文档地址

https://shuangren1.gitbooks.io/nativejs-doc/content/

npm 安装

安装 nativejs

npm install native.js

安装 native-loader

npm install native-loader

需要改进的地方

  1. setter 的时候 需要区分 是否是需要 dom diff 的 data 属性 ,非 dom diff 的属性不需要 notfiy
  2. dom diff 做成定时开启队列 而非每次 setter 触发 都开始 diff 并更新视图
  3. 增加多级路由的配置以及更加丰富的路由功能
  4. 增加多级字模板的嵌套
  5. 优化dom diff
  6. 重写 模板引擎
  7. 重写 native-loader 使其更加强大

会加入的功能

  1. 一个常用的函数库,其实以及在源码中,但是并没有注入给模块使用
  2. 一个常用的包含loading 以及 alert 的 ui库和对应的调用方法
  3. 一套组件库,比如 native-radio 则会自动生成 一组 radio 按钮

native.js's People

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.