Member-only story
Implementing a Web Form on AWS With Bare HTML and JavaScript
Handle web form data effectively
Frameworks are everywhere. As a backend developer, I always hide in the shade of beautiful UIs. Every time I attempted to write a frontend, I was confused by the number of frameworks and libraries for JS and CSS. Even when I used NodeJS as my primary tool, I could barely understand the complexity of React, Angular, Vue, and other frameworks. The situation worsened when I moved to Go. Now the uncountable amount of dependencies, interpreters, builders and whatnot required to write a frontend scares me even more.
Some time ago, I challenged myself to test whether writing a basic web application is possible without a framework. I wanted to create something more complex than a bunch of static HTML, but I didn't want to overcomplicate things either. Finally, I decided to build a simple web form where a user can submit some information, like a "Contact me" or "Subscribe" form.
Web forms feel like a good use case for using a framework. The client-side needs to handle user input, send data to a backend system and update the interface upon receiving the data processing results. The backend should process data and provide an API to handle clients' requests.