Isomorphic Go
- Length: 334 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-02-09
- ISBN-10: 1788394186
- ISBN-13: 9781788394185
- Sales Rank: #2844287 (See Top 100 Books)
Learning about isomorphic development in Go leads to a unified view of web and back-end development: It extends the remit of a server-side programming language to the browser.
Key Features
- Learn how to build Isomorphic Go web applications
- Neatly organize your isomorphic codebase to enhance the maintainability of your application
- Leverage the same Go code across the web server and the web browser
Book Description
Isomorphic Go is the methodology to create isomorphic web applications using the Go programming language. Isomorphic web applications have the capability to reuse code across environments, increasing the synergy between the web server and the web browser. This book is a hands-on guide that will show you how to build and deploy an Isomorphic Go web application.
Isomorphic Go begins with an in-depth exploration of the benefits provided by the isomorphic web application architecture. You’ll be introduced to the Isomorphic Go toolchain, and how it can help you write Go code that functions across environments. You’ll learn how to create Go programs in the web browser using GopherJS and how to render isomorphic templates. Then you’ll be introduced to end-to-end application routing, use isomorphic handoff to seamlessly transition state from the web server to the web browser, and compose isomorphic forms that have the ability to reuse form validation logic. You’ll be exposed to advanced concepts including the implementation of real-time web application functionality with websockets and the creation of reusable components (cogs) that are rendered using the virtual DOM. Finally, you’ll see how to deploy an Isomorphic Go web application to a production environment.
Table of Contents
Chapter 1. Isomorphic Web Applications With Go
Chapter 2. The Isomorphic Go Toolchain
Chapter 3. Go On The Front-End With Gopherjs
Chapter 4. Isomorphic Templates
Chapter 5. End-To-End Routing
Chapter 6. Isomorphic Handoff
Chapter 7. The Isomorphic Web Form
Chapter 8. Real-Time Web Application Functionality
Chapter 9. Cogs – Reusable Components
Chapter 10. Testing An Isomorphic Go Web Application
Chapter 11. Deploying An Isomorphic Go Web Application
Chapter 12. Debugging Isomorphic Go