iron-ajax… wat?!
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
Leverage the <iron-ajax> element to simplify AJAX calls in your web applications, primarily using HTML.
By combining data providers with data bindings, you can significantly reduce the amount of JavaScript needed, making your code more maintainable.
This approach is demonstrated by building a GitHub issue fetcher with minimal JavaScript.
It might seem unexpected, but using an element for AJAX is actually pretty great! In this episode I’ll show you how to build a simple GitHub issue fetcher, using primarily HTML. When you combine data providers with the magic of bindings, you can remove most of the JavaScript in your app, and that makes things much easier to maintain!
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[],["The core content demonstrates building a GitHub issue fetcher primarily using HTML and the `iron-ajax` element. It emphasizes leveraging data providers and bindings to minimize JavaScript code. This approach simplifies application maintenance. The content provides resources including the demo source code, documentation for `iron-ajax`, GitHub API information, and links to Polymer-related tools such as Polyserve and the Polymer Yeoman generator.\n"]]