AmplifyJS 是一套组件集合用于解决一般web应用开发的常见问题,其目的是简化所有表单数据处理,其存储组件可处理浏览器端的持久化存储,使用标准的 LocalStorage 和 SessionStorage。
AmplifyJS 解决下面三个问题:
- Ajax Request Management – amplify.request provides a clean and elegant request abstraction for all types of data, even allowing for transformation prior to consumption.
- Client Side Component Communication – amplify.publish/subscribe provides a clean, performant API for component to component communication.
- Client Side Browser & Mobile Device Storage – amplify.store takes the confusion out of HTML5 localStorage. It doesn’t get simpler than using amplify.store(key, data)! It even works flawlessly on mobile devices.
近期评论