|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/building-gui-applications-with-fyne-and-go-golang/
课程评论:没有评论
课程名称:使用Fyne和Go(Golang)构建GUI应用程序 课程概述:许多开发者对编写桌面应用程序感到畏惧,这可能与网络应用程序的兴起有关。事实上,一些大学计算机科学课程甚至没有专门开设GUI应用程序开发的课程,这令人遗憾。Go语言(也称为Golang)在过去十年中迅速流行,广泛用于构建REST API、后端应用程序及网络软件。然而,很多人常常好奇如何使用Go构建桌面应用程序。过去的答案多是使用Qt和CGO绑定。但几年前,Fyne项目的出现使得用纯Go构建GUI应用程序变得相对简单。Fyne项目的理念是开发者可以轻松地创建可以在所有平台上运行的应用,而无需任何修改或适配。Fyne应用程序像常规应用一样安装在各个平台上,提供优秀的性能和用户体验。使用Fyne,开发者可以用纯Go编写代码,构建可以在Mac OSX、Windows、Linux、Android设备、iOS设备以及浏览器中的WebAssembly运行的应用。 本课程旨在讲授使用纯Go构建GUI应用程序的基础知识。我们将涵盖以下内容: - 构建桌面应用程序:我们将一起开发两个应用:一个Markdown编辑器和一个黄金投资跟踪应用,允许用户获取实时黄金价格信息。 - 如何使用Fyne画布 - 如何使用Fyne窗口 - 如何使用(并自定义)小部件,包括对话框、文本、标签、输入字段、表单和表格 - 如何验证用户输入 - 如何从远程服务器获取外部资源并在应用中使用 - 如何使用容器在窗口中排列元素 - 如何将SQLite数据库嵌入到桌面应用程序中 - 如何构建自定义菜单项并将其链接到相关操作 - 如何从应用中读取和写入文件 - 如何读取和写入偏好设置 - 如何将资产(例如图像)打包到Fyne应用中 - 如何构建具有自定义图标的单一二进制文件 - 如何为分发签署Mac OS X应用程序 这个课程将为希望掌握使用Go语言进行桌面应用开发的开发者提供全面的指导和实践机会。
Many developers are intimidated by the idea of writing a desktop application, and this is probably because of the rise of web based applications. In fact, some university computer science programs do not even devote an entire course to developing GUI applications, and that's unfortunate.Go, sometimes referred as Golang, has quickly risen in popularity over the past decade, and has become extremely popular for building REST APIs, back end applications, and network software. One question that comes up a great deal online, though, is how one might go about building a desktop application using Go. For quite some time, the default answer was use Qt and CGO bindings, but several years ago a new project emerged - one that makes it relatively easy to build GUI applications in pure Go: the Fyne project. Fyne is a project is based around the premise that it should be free and simple to develop an application that can run on all platforms without modification or adaptation. Fyne apps are installed like regular applications on all platforms and deliver great performance and solid user experience. With Fyne, you can write your code once, in pure Go, and deliver applications that run on Mac OSX, Windows, Linux, Android devices, iOS devices, and as WebAssembly in the browser.This course is intended to cover the basics of building a GUI application in pure Go. We will cover:Building Desktop applications: we'll build two: a MarkDown editor and an application that allows users to track (fictional) Gold investments and get real-time information on Gold prices.We will cover:How to work with the Fyne CanvasHow to work with Fyne WindowsHow to use (and customize) Widgets, including dialogs, text, labels, input fields, forms, and tablesHow to validate user inputHow to fetch external resources from remote servers and use them in our applicationHow to use containers to arrange things in a windowHow to embed a sqlite database into a desktop applicationHow to build custom menu items and link them to actionsHow to read and write files from your applicationHow to read and write preferencesHow to bundle assets (e.g. images) into a Fyne applicationHow to build a single binary with a custom iconHow to sign a Mac OS X application for distribution