/moy

Primary LanguageJavaScriptMIT LicenseMIT

Moy.js

npm version Build Status devDependency Status NPM downloads

Mox.jsKnockout.js 的基础上进一步的封装,提供 createApp()、createModel()、use()API,并实现了基于 u-meta 的前端组件化机制,结合了 MVVM 架构和组件化开发的多重优点,快速提高开发效率,提升开发体验。

Core API & Concept

  • createApp
  • createModel
  • use

Components

  • u-meta

TODO

  • 优化 createApp
  • 去掉现有的 u 对象
  • 将对象尽量拍平为 function
  • 实现 use() 来拓展插件
  • 实现 Comonent() 创建组件

License

MIT License

Copyright (c) 2017 Yonyou FED

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.