Code Monkey home page Code Monkey logo

eng-nos's Introduction

Eng-NOS

  • Eng-NOS 寓意为 Eng的 NOS 氮气直线加速系统 , 因此舍弃了对完整Eng的其它功能支持 , 只做单纯的页面渲染
  • 当前仅有 1.4Kb的体积 ,却兼容所有浏览器 ,是对于传统页面 有兼容需求 ,又渴望组件化渲染 , 还想要极低学习曲线项目的 实现利器 ,仅需学习4个基本指令就能完成所有操作
  • 只渲染Eng 的 e-base、e-attr、e-html、e-for 4个指令 , (e-attr 可操作所有行内属性) , 实时上绝大部分常规页面也仅做普通数据渲染 , 然后用其它js工具进行操作, Eng-NOS恰恰最符合这种应用场景
  • 拥有世界顶尖的性能 远超所有主流已知同类JS工具. 是 Eng和其同类工具中佼佼者的完整渲染性能耗时的1/3左右, 纯html文本用时占比 1/10左右
  • 可以和 Eng 共享组件 , 但仅能执行 被 Eng-Drive 编译后的组件 , 被编译后的组件体积相较于原始会有所增加, 但相对于组件本身的大小,几乎可以忽略

版本说明

  • 0.9.0 (当前) 版本, 仅支持Eng 的 e-base、e-attr、e-html、e-for
  • 0.9.1 (当前) 1.7kb,增加列表输出序号 和 value值 功能 ,使用方式 demo 中已加 或 参照Eng API e-for 指令.
  • 1.0.0 版本 待考虑

理念

  • Eng 做 精、简、小而强大 的 js 组件化渲染 插件/库

使用示例 :

   var  engCompileData= .... ;
   var  data={
              ........
            };
   var html= Eng_Nos( data , engCompileData );
            
      	document.body.innerHTML=html;
      	// 没了就这样 ( 仓库内有全指令使用示例 , demo 源码在页面内)

作者吐槽

    对于非超大页面而言 , 网速的影响远大于渲染性能 , 组件细拆后的渲染速度依然强势 
     

License

License

eng-nos's People

Contributors

343830384 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.