Close
  • Latest News
  • 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
  • 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

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

      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 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.

      MOST POPULAR ARTICLES

      Big Data and Analytics

      Alteryx’s Suresh Vittal on the Democratization of...

      James Maguire - May 31, 2022 0
      I spoke with Suresh Vittal, Chief Product Officer at Alteryx, about the industry mega-shift toward making data analytics tools accessible to a company’s complete...
      Read more
      Cybersecurity

      Visa’s Michael Jabbara on Cybersecurity and Digital...

      James Maguire - May 17, 2022 0
      I spoke with Michael Jabbara, VP and Global Head of Fraud Services at Visa, about the cybersecurity technology used to ensure the safe transfer...
      Read more
      Cloud

      IGEL CEO Jed Ayres on Edge and...

      James Maguire - June 14, 2022 0
      I spoke with Jed Ayres, CEO of IGEL, about the endpoint sector, and an open source OS for the cloud; we also spoke about...
      Read more
      Applications

      Cisco’s Thimaya Subaiya on Customer Experience in...

      James Maguire - May 10, 2022 0
      I spoke with Thimaya Subaiya, SVP and GM of Global Customer Experience at Cisco, about the factors that create good customer experience – and...
      Read more
      Big Data and Analytics

      GoodData CEO Roman Stanek on Business Intelligence...

      James Maguire - May 4, 2022 0
      I spoke with Roman Stanek, CEO of GoodData, about business intelligence, data as a service, and the frustration that many executives have with data...
      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.
      © 2022 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.

      ×