iron-ajax… wat?!
Stay organized with collections
Save and categorize content based on your preferences.
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!
Read More
Demo source
https://github.com/Polymer/polycasts/tree/master/ep26-iron-ajax/gh-issues
seed-element
https://github.com/polymerelements/seed-element
Polymer Yeoman generator
https://github.com/yeoman/generator-polymer
Polyserve
https://github.com/polymerlabs/polyserve
GitHub API
https://developer.github.com/v3/
iron-ajax docs
https://elements.polymer-project.org/elements/iron-ajax
Polymer Summit
https://www.polymer-project.org/summit
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[[["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."],[[["Leverage the `\u003ciron-ajax\u003e` 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."]]],["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"]]