Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Cloud
    • Cloud
    • Development

    Amazon Releases New SDK for JavaScript

    Written by

    Darryl K. Taft
    Published November 1, 2013
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      Amazon Web Services (AWS) released a new AWS SDK for JavaScript that enables developers to build rich, browser-based applications that make direct calls to AWS services without the need for any server-side code.

      In a blog post, Jeff Barr, chief evangelist at AWS, said the SDK supports access to a variety of AWS services, including Amazon S3 and Amazon DynamoDB.

      With the new developer preview of the AWS SDK for JavaScript, developers can make direct calls to the following AWS services:

      —Amazon S3 to store and retrieve objects at any scale.

      —Amazon SQS to read from and write to message queues.

      —Amazon SNS to generate and process notifications to mobile devices and other distributed services.

      —Amazon DynamoDB to store and retrieve any amount of data, at any access rate.

      Moreover, developers can create and populate S3 buckets, manage message queues, create, populate and query DynamoDB tables, and more, Barr said.

      “If you have used the AWS SDKs and APIs in the past, you know that each request must be signed with your AWS credentials,” Barr said in the post. “You almost certainly don’t want to include your credentials in your HTML or your JavaScript where anyone could find and use them. Instead, you should use our Web identity federation [WIF] feature to authenticate the users of your application. By incorporating WIF into your application, you can use a public identity provider (Facebook, Google or Login with Amazon) to initiate the creation of a set of temporary security credentials.”

      The AWS SDK for JavaScript uses the same programming model in the browser and in server-side Node.js code, Barr said. Amazon is providing several resources to help developers take advantage of the new SDK, including a new AWS JavaScript Developer Center.

      In related news, AWS also announced fine-grained access control for DynamoDB.

      DynamoDB is Amazon’s fast, managed NoSQL database service that makes it simple and cost-effective to store and retrieve any amount of data, and serve any level of request traffic, the company said. All data items are stored on solid-state drives (SSDs), and are replicated across three AWS Availability Zones for high availability and durability.

      In a separate post, Barr said Amazon DynamoDB has become very popular with developers in a very short time.

      “Many developers are building mobile apps and online games using DynamoDB, he said. “Apps of this type can benefit from DynamoDB’s scalability, flexibility and efficiency. These apps generally use a single table to store information for the entire user base, which can easily grow to the millions or tens of millions of users. This scenario requires the use of a proxy tier between the app and DynamoDB in order to handle authentication and authorization.”

      The proxy introduces additional latency and complexity, not to mention the added expense, he said.

      To make it easier for developers to implement the use case that Barr described, AWS launched Fine-Grained Access Control for DynamoDB. Developers can now use AWS Identity and Access Management (IAM) policies to regulate access to items and attributes stored in DynamoDB tables, without the need for a middle-tier proxy, Barr said.

      In addition, Barr listed some things developers can build using fine-grained access control:

      1. A mobile app that displays information for nearby airports, based on the user’s location: The app can access and display attributes such as airline names, arrival times and flight numbers. However, it cannot access or display pilot names or passenger counts.

      2. A mobile game that stores high scores for all users in a single table: Each user can update his or her own scores but has no access to the other ones.

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×