AmplifyJS is a set of components designed to solve common web application problems with a simplistic API. Amplify's goal is to simplify all forms of data handling by providing a unified API for various data sources. Amplify's store component handles persistent client-side storage, using standards like localStorage and sessionStorage, but falling back on non-standard implementations for older browsers. Amplify's request adds some additional features to jQuery's ajax method while abstracting away the underlying data source.
AmplifyJS solves the following problems:
- 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.
Be sure to checkout the AmplifyJS roadmap outlining the planned features and upcoming releases.
You may use AmplifyJS under the terms of either the MIT License or the GNU General Public License (GPL) Version 2.
The MIT License is recommended for most projects. It is simple and easy to understand and it places almost no restrictions on what you can do with AmplifyJS.
If the GPL suits your project better you are also free to use AmplifyJS under that license.
You don’t have to do anything special to choose one license or the other and you don’t have to notify anyone which license you are using. You are free to use AmplifyJS in commercial projects as long as the copyright header is left intact.