Mastering Live(View) development in Go (GoLang)

person icon David MARKO

Mastering Live(View) development in Go (GoLang)

Modern Phoenix LiveView inspired development in GoLang, where JS is not needed (almost).

updated on icon Updated on Nov, 2023

language icon Language - English

person icon David MARKO

architecture icon Web Development,Golang,Programming Languages

Lectures -36

Duration -4 hours


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 8,500+ top Tutorials Point courses anytime, anywhere.

Course Description

Welcome to the ‘Mastering Live(View) programming in Go’ course. With this course, you will add value to your existing Go Lang knowledge by getting familiar with several web development techniques known as a 'LiveView' programming model introduced within the last several years. 

We will focus on several topics popular when building web applications and we take a look at how to implement those features using Live(View) techniques where JS usage is not needed or minimized at least. We are going to see how the Live(View) programming approach makes web app development easier to do and more solution-oriented. 

What is the LiveVew programming approach/model?

LiveView provides rich, real-time user experiences with server-rendered HTML. The LiveView programming model is mostly declarative: instead of saying "when event ABC happens, change XYZ on the page", events in LiveView are managed by handlers bound to event id. Once the state changes, LiveView will re-render the relevant parts of its HTML template(calculate diff) and push it to the browser, which updates itself most efficiently. This means developers write LiveView templates as any other server-rendered HTML and LiveView does the hard work of tracking changes and sending the relevant diffs to the browser using websocket communication. Phoenix Framework widely popularized this approach and there are implementations for many significant languages or platforms.

Topics covered by this course:
During the course, we create a basic web application in Go Lang with a Live(View) approach. The main topics include:

  • LiveView-inspired programming - technical info
  • Key Live(View) concepts explained
  • Thermostat - interactive application without JS
  • Implementation of Pub/Sub communication
  • Enhancing thermostat - implementation of chat, clock, JS hooks
  • Live(View) in popular frameworks
  • Integration of Live(View) application with NATS server

An important part of this course is to realize 'what we don't need to do' when using the Live(View) approach. Simplification can be huge and the old saying that 'the best code is the code you don't have to write' is proven here.

GitHub repository:

The source code is available through the link attached to the last lecture in this course. You can clone the repo and use the code snippets we are building in this course.


What will you learn in this course:

What you'll learn

  • Create interactive web apps in GoLang
  • Use of websockets as a modern technique for client-server communication
  • Knowledge of creating UI based apps with your current GoLang backend skills
  • Use of Push techniques for updating users from backend
  • Create collaboration types of applications using popular LiveView approach
  • Speed-up your development with modern programming techniques
  • Create highly maintainable and easy to read application code

The goal of this course is to make a guide in the Live(View) programming world. We use a pragmatic approach by building real applications and exploring the Live(View) programming model practically.


What are the prerequisites for this course?

  • Basic programming skills in Go language
  • Basic Web development skills
Mastering Live(View) development in Go (GoLang)


Check out the detailed breakdown of what’s inside the course

1 Lectures
  • play icon Introduction 06:54 06:54
LiveView inspired programming - technical info
2 Lectures
Key Live(View) concepts explained
3 Lectures
Thermostat - interactive application without JS
12 Lectures
Live with Pub/Sub - real-time communication
5 Lectures
Thermostat - adding a new features
6 Lectures
Live(View) with other popular frameworks
3 Lectures
Live(View) integration with NATS server (external Pub/Sub system or MQ)
4 Lectures

Instructor Details



About me

Hi, my name is David Marko, I live in Czech republic and I'm working as software developer and architect for more than 2 decades now. I've been working with Vaadin, SpringBoot, MongoDB and Elasticsearch mainly since Vaadin version 7 by building customer specific applications with focus on integrity, user friendliness and long time maintenance.

Currently I have following certifications:

  • Certified Vaadin 14 Professional
  • Certified Vaadin 14 Developer
  • Certified Vaadin 8 Professional
  • Certified Vaadin 8 Developer
  • Vaadin 7 Certified Developer
  • SalesForce Developer and Administrator
  • Certified MongoDB Developer in JAVA
  • Certified MongoDB Administrator
  • M320: MongoDB Data Modeling

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us