O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cogs – Reusable Components

In the previous five chapters of this book, we focused on developing functionality for either a specific web page on IGWEB or a specific feature, such as the live chat feature that we implemented in the last chapter. The solutions that we've made thus far have served a particular individual purpose. Not much consideration was factored into promoting code reuse for a particular user interface feature, since we didn't have the need to create multiple instances of it.

Reusable components are user interface widgets that provide a means to promote greater reusability. They can be used in a plug and play manner, since each component is a standalone user interface widget that contains its own set of Go source files and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required