AWS Amplify Opens Cloud Services For JavaScript

November 25, 2017 0 Comments

AWS Amplify Opens Cloud Services For JavaScript

 

 


Amazon has released an open source library for interacting with cloud services that use JavaScript applications. The AWS Amplify library is organized into a number of categories, with more planned for the future.

The library is described on GitHub as:

"a declarative interface across different categories of operations in order to make common tasks easier to add into your application. The default implementation works with Amazon Web Services (AWS) resources but is designed to be open and pluggable for usage with other cloud services that wish to provide an implementation or custom backends."  

Current categories start with authorization. You can use this to provide AWS credentials for Signature Version 4 signing, and it also can be used to produce OIDC JWT tokens from Amazon Cognito.

The analytics category lets you incorporate tracking for authenticated or unauthenticated users in Amazon Pinpoint. Using this component takes just one line of code, and it can be extended for custom metrics or attributes.

The API module lets you interact with RESTful APIs that make use of AWS Sigv4 in a secure manner. It can also be used for serverless infrastructures with Amazon API Gateway.

There's a storage module that provides simplified commands for uploading, downloading, and listing content in Amazon S3. You can also group data into public or private content on a per-user basis.

A caching module provides an LRU (Least Recently Used) cache interface across web apps and React Native using implementation-specific persistence.

The final module in the current version provides internationalization and localization, as well as debugging and logging capabilities.

awsamp

The developers have provided additional packages for React and React Native with Higher Order Components so you can wrap your application for these categories or use pieces when building out interfaces.

At the same time as releasing the library, the developers have launched a command line interface for mobile developers. The  AWS Mobile CLI can be used by front-end JavaScript developers to create and integrate AWS backend resources into their mobile apps. You can use it to create serverless backends with AWS Lambda, and the Amplify library then allows common configuration from this process to be consumed using a single line of code.

 awslogo

More Information

AWS Amplify On GitHub 

Related Articles

Codestar To Simplify Development On AWS

AWS Lambda for the Impatient Part 1

AWS Lambda for the Impatient Part 2

AWS Lambda for the Impatient Part 3

Amazon Adds Game Dev Options To AWS

Amazon Strengthens Data Offerings

New Amazon Elasticsearch Service
Amazon Introduces Quicksight - Cloud BI

New AWS Managed Services

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.

Banner


Android Architecture Components Reach Stability
09/11/2017

Google has released the 1.0 stable version of its Android Architecture Components. These are a collection of libraries that Google says help you design robust, testable, and maintainable apps.



Tag cloud