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 you'll learnCreate interactive web apps in GoLangUse of websockets as a modern technique for client-server communicationKnowledge of creating UI based apps with your current GoLang backend skillsUse of Push techniques for updating users from backendCreate collaboration types of applications using popular LiveView approachSpeed-up your development with modern programming techniquesCreate highly maintainable and easy to read application codeWhat 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
What you'll learn
Create interactive web applications using GoLang
Utilize websockets for client-server communication
Implement LiveView techniques to minimize JavaScript usage
Develop real-time updating features using Push techniques