Tutorial for using <iron-form> to upload files to any server as multipart

File Input with <iron-form> in Polymer Framework

Polymer Framework (v3.4.1) has been a matured framework to write multiple web applications & its project maintainers have actually written a lot of elements, both visual & utility ones and are being actively maintained as well. The developers & maintainers have done a commendable job in keeping the elements as per the standards with their behaviors. However certain elements still do not function as they should as per the HTML5 standards.

<iron-form id="upload_file">
<form method="post" action="/form/handler" enctype="multipart/form-data">
<input type="text" name="name" value="Batman">
<input type="file" name="image"><br>
</form>
</iron-form>
<paper-button on-click="uploadFileToServer">Upload…

Tackling problems of Dynamic Imports in Polymer Framework

At Arcoiris Labs, we have developed many projects based on latest Web Technologies using Svelte, Angular, Framework 7 but Google’s Polymer Framework has always been out most favorite one. Being based on W3C’s Web Components standard, it makes developing our projects very maintainable.

If you want to try out, then kindly check this link for Installation

In Polymer when we create a new project, we are prompted with following selection in terminal

Creating project in Polymer 3

When we choose polymer-3-starter-kit we get to experience a single page app written in Polymer that contains routing, view management…


Working in browsers with AWS Amplify SDK for Authentication

AWS Amplify with Vanilla Javascript

AWS Amplify SDK has been a gateway to access AWS services like Cognito, Lambda, Hosting which is trying to ease the access & configuration of these services through its CLI tool.

According to AWS Amplify docs for Javascript documented here you can do it for web through imports. But when you try with the example code for vanilla browser Javascript, it won’t work and you will end up getting errors like

 require not found

or

 Amplify not found

They have working examples for frameworks like React, Vue & Angular which are…


Because lets face it, hybrid applications are not as secure as you want them to

Hybrid application development has been an alternative to native application development since the Apache Callback which then renamed to Apache Cordova came as a solution to fragmentation of native development approach. The rise of hybrid application development approach which was started by Apache Cordova then followed by the Telerik’s NativeScript, Xamarin and other players opened up a new paradigm of application development, but everyone lacks security amongst them. …


A great combination to try!!

Update

  1. v0.2.9 is released. New features added.

MqTT (Message Queuing Telemetry Transport) protocol was launched with wide support via multiple languages like Python, C, Java, Javascript, PHP etc. Now considering Javascript, it was observed that HTML5 Websockets had to supported by the running environment. So it could’ve been an obvious choice for Apache Cordova. But the webview component which is the underlying base of Apache Cordova framework, provides support to Websockets if the webview is updated enough to support WebSockets. Plus it runs on JavascriptCore which again creates an overhead on the webview component. …

Arcoiris Labs

Specialized in developing Intelligent Smartphone Applications

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store