- eBook:Building Cross-Platform GUI Applications with Fyne: Create beautiful, platform-agnostic graphical applications using Fyne and the Go programming language
- Author:Andrew Williams
- Data:February 9, 2021
- Pages:257 pages
- Format:PDF, ePUB
- Learn how to use standard widgets, dialogs, and layouts as well as how to build your own
- Understand how to develop an app and package and distribute it to different operating systems and app stores
- Explore the design principles and vision of the Fyne toolkit and how that may align with your project
Book DescriptionThe history of graphical application development is long and complicated, with various development challenges that persist to this day. The mix of technologies involved and the need to use different programming languages lead to a very steep learning curve for developers looking to build applications across multiple platforms.
In Building Cross-Platform GUI Applications with Fyne, you'll understand how the Go language when paired with a modern graphical toolkit such as Fyne can overcome these issues and make application development much easier. To provide an easy-to-use framework for cross-platform app development, the Fyne project offers many graphical concepts and design principles that are outlined throughout this book.
By working through five example projects, you'll learn how to build apps effectively, focusing on each of the main areas, including the canvas, layouts, file handling, widgets, data binding, and themes. The book will also show you how the completed applications can then be run on your desktop computer, laptop, and smartphone. After completing these projects, you will discover how to prepare applications for release and distribute them to platform marketplaces and app stores.
By the end of this book, you'll be able to create cross-platform graphical applications with visually appealing user interfaces and concise code.
What you will learn
- Become well-versed with the history of GUI development and how Fyne and the Golang programming language make it easier
- Explore how the Fyne toolkit is architected and the various modules are provided
- Discover how Fyne apps can be tested and constructed using best practices
- Construct five complete applications and deploy them to your devices
- Focus on how to extend widgets and themes for custom application design
- Understand the separation of data and presentation and how to test and build applications that present dynamic data
Who This Book Is ForThis Fyne-Golang GUI book is for developers from any background who are looking to build cross-platform applications with a modern toolkit. It will also be useful for Go developers who are looking to explore graphical apps and GUI developers looking for a new toolkit for cross-platform development. Basic knowledge of Graphical User Interface (GUI) development is assumed (although a brief history is also included in the book). The book also features a short introduction to the Go language as a quick refresher.
Chapter 1: A Brief History of GUI Toolkits and Cross-Platform Development
Chapter 2: The Future According to Fyne
Section 2: Components of a Fyne App
Chapter 3: Window, Canvas, and Drawing
Chapter 4: Layout and File Handling
Chapter 5: Widget Library and Themes
Chapter 6: Data Binding and Storage
Chapter 7: Building Custom Widgets and Themes
Section 3: Packaging and Distribution
Chapter 8: Project Structure and Best Practices
Chapter 9: Bundling Resources and Preparing for Release
Chapter 10: Distribution – App Stores and Beyond