Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ecomfe/esl
enterprise standard loader
https://github.com/ecomfe/esl
amd javascript loader
Last synced: about 11 hours ago
JSON representation
enterprise standard loader
- Host: GitHub
- URL: https://github.com/ecomfe/esl
- Owner: ecomfe
- License: bsd-3-clause
- Created: 2013-02-21T09:41:31.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-03-30T14:44:41.000Z (almost 2 years ago)
- Last Synced: 2025-01-04T05:14:55.303Z (7 days ago)
- Topics: amd, javascript, loader
- Language: JavaScript
- Homepage:
- Size: 757 KB
- Stars: 844
- Watchers: 84
- Forks: 227
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- A-collection-of-awesome-browser-side-JavaScript-libraries-resources-and-shiny-things. - ESL - Module loader browser first, support lazy define and AMD. (Loaders)
- awesome-javascript - ESL - enterprise standard loader ` 📝 3 years ago ` (Loaders [🔝](#readme))
- awesome-javascript - ESL - Module loader browser first, support lazy define and AMD. (Loaders)
- awesome-javascript - esl - enterprise standard loader - ★ 765 (Loaders)
- awesome-javascript-cn - ESL
README
ESL (Enterprise Standard Loader)
=====================ESL是一个`浏览器端`、`符合AMD`的标准加载器,适合用于现代Web浏览器端应用的入口与模块管理。
ESL is a browser-only, amd-compliant module loader. In modern web applications, it is normally used in startup script or as a module manager.
通过`右键另存`的方式下载ESL (Download by `Save As`):
- [压缩代码 (Compressed)](http://s1.bdstatic.com/r/www/cache/efe/esl/2-1-6/esl.js)
- [源码 (Source)](http://s1.bdstatic.com/r/www/cache/efe/esl/2-1-6/esl.source.js)### 了解AMD (About AMD)
- [前端为什么需要模块化? (WHY WEB MODULES?)](http://requirejs.org/docs/why.html)
- [为什么需要使用AMD? (WHY AMD?)](http://requirejs.org/docs/whyamd.html)
- [玩转AMD系列 - 设计思路篇](http://ecomfe.github.io/blog/dissecting-amd-what/)
- [玩转AMD系列 - 应用实践篇](http://ecomfe.github.io/blog/dissecting-amd-how/)
- [玩转AMD系列 - Loader篇](http://ecomfe.github.io/blog/dissecting-amd-loader/)
- [AMD spec](https://github.com/amdjs/amdjs-api/wiki/AMD)
- [AMD Require](https://github.com/amdjs/amdjs-api/wiki/require)
- [AMD Common-Config](https://github.com/amdjs/amdjs-api/wiki/Common-Config)
- [AMD Loader-Plugins](https://github.com/amdjs/amdjs-api/wiki/Loader-Plugins)### ESL vs RequireJS
- 体积更小 (Smaller)
- 性能更高 (Higher performance)
- 更健壮 (More Robustness)
- 不支持在`非浏览器端`使用 (Browser only)
- 依赖模块`用时定义` (Lazy define)### ESL的配置项 (CONFIGURATION OPTIONS)
查看 [ESL的配置文档](doc/config.md)
See [Configuration Options](doc/config.md)
### CDN
当前版本的CDN引用:(latest)
```html
```
[过往版本 (Old version)](CDN.md)
### 体积对比 (FILE SIZES)
`uglifyjs -mc + gzip`
- `esl 2.2.2` 4.6k
- `requirejs 2.3.5` 6.5k### 性能对比 (PERFORMANCE)
查看 [wiki文档](https://github.com/ecomfe/esl/wiki/1.8.0-%E6%A8%A1%E5%9D%97%E5%8A%A0%E8%BD%BD%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E7%BB%93%E6%9E%9C%E8%AE%B0%E5%BD%95)
See [wiki page](https://github.com/ecomfe/esl/wiki/1.8.0-%E6%A8%A1%E5%9D%97%E5%8A%A0%E8%BD%BD%E6%97%B6%E9%97%B4%E6%B5%8B%E8%AF%95%E7%BB%93%E6%9E%9C%E8%AE%B0%E5%BD%95)
### 了解ESL的进化史 (CHANGE LOG)
[了解ESL的进化史(CHANGE LOG)](CHANGELOG.md)
### 错误信息 (ERROR MESSAGE)
阅读 [ESL 中的错误提示信息](http://efe.baidu.com/blog/esl-error-message/) 一文,以帮助您使用 ESL 时进行错误追查与调试。