Urgent.News

What's breaking now, across thousands of outlets.

Tech

Try WebForms Core 2.1 in Go

WebForms Core 2.1 brings a server-centric approach to Web development where the backend generates UI commands and WebFormsJS executes them in the browser. WebForms Core technology was developed by Elanat and led by Mohammad Rabie. Instead of building a large JavaScript application, you can keep your UI logic on the server and use regular HTML as the UI layer. WebForms Core + Go WebForms Core can…

WebForms Core 2.1 introduces a server-centric approach to web development, where the backend generates UI commands and WebFormsJS executes them in the browser. Developed by Elanat and led by Mohammad Rabie, this technology allows developers to keep UI logic on the server using regular HTML as the UI layer, instead of building a large JavaScript application.

The architecture consists of Go acting as the Commander, WebFormsJS as the Executor, HTML + Commands, and WebFormsJS interacting with the DOM. The Go backend serves as the Commander, while WebFormsJS acts as the Executor. The installation package is available through the GitHub repository.

To try WebForms Core with Go, install the package using the CLI command "go get github.com/webforms-core/go". A minimal Go application example demonstrates handling requests, creating a WebFormsCore instance, binding JSON to the template, and returning HTML. Importantly, the application does not require React, Vue, or other frontend frameworks as the HTML remains ordinary HTML.

The separation between Go and WebFormsJS allows WebFormsJS to be used with different backend languages, making it a versatile choice for web developers. With Go, WebForms Core 2.1 offers an efficient and straightforward way to build dynamic web interfaces without turning the frontend into a large JavaScript application.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A Day in My Setup: Building Full-Stack Apps on a Phone with Docker, Redis, and Codespaces

How I run and test a full-stack automation system with headless Chromium, message queues, and databases—entirely from a phone-based development workflow.

  • Author works on smartphone with Docker, Redis, Codespaces for full-stack app development
  • Setup includes local Git repo, mobile browser, Codespaces with Docker for backend services
  • Port forwarding enables phone interaction with application in cloud container

More from Wednesday 9 September →