22 Star 67 Fork 12

Ale-js / ale

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

alejs-logo

关于 Ale.js

介绍

(在star码云上的 ale.js 时,不要忘记也去 github 上给我们一个star!非常感谢!)

Ale (中文:啤酒) 是一套用于以组件的形式构建用户界面的渐进式框架。它信奉,万物皆组件。与其它大型框架不同的是,Ale 只需要你将关注点放在数据上,并不需要关心任何与视图有关的内容。当你更新数据时,视图中任何使用到它的地方都会得到更新。

我们将 Vue 和 React 的一些特性融合在 Ale 中,使之更加便捷、轻量。同时,diff 算法在 Ale 中也有应用(得益于 Ale 自研的 diff 算法,只有大约50行,极其轻量)。

同时,在 Ale 中,你也根本无需操心任何有关于 性能 方面的事情,因为 Ale 经过压缩后(非g-zip)只有大约7kb大小,执行速度也分别接近 Vue 和 React 的 3 倍!

如果你已经是有经验的前端开发者,想知道 Ale 与其它库 / 框架有哪些具体区别,请查看 对比其它框架

简单实例

//一个简单的HelloWorld实例
Ale("helloworld", {
    template: "Hello World"
})

Ale.render("helloworld", {
    el: "#app"
})

浏览器兼容

Ale 不支持 IE8 及以下版本,因为 Ale 使用了 IE8 无法模拟的 ECMAScript 5 特性。但它支持所有兼容 ECMAScript 5 的浏览器。

生态系统

QQ群:

ale.js 官方qq群

文档

想查看文档和在线实例,请访问 cn.alejs.org.

许可证

MIT

Copyright (c) 2018-present, Yingxuan (Bill) Dong

MIT License Copyright (c) 2018 Ale-js Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

️一个快速高性能的 JavaScript 组件视图框架 展开 收起
JavaScript
MIT
取消

发行版 (9)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/Ale-js/ale.git
git@gitee.com:Ale-js/ale.git
Ale-js
ale
ale
master

搜索帮助