Giter Club home page Giter Club logo

wailsdbt's Introduction

介绍

关于这个项目

为什么要做这个项目?

  1. 为了学历提升

    由于我是专科毕业,在大杭州打拼确实少了几分自信,所以在工作的同时进行着自考。由于并不是很喜欢其他的专业,还是比较喜欢计算机专业所以选考了计算机科学专业本科。一考起来才发现真滴难,光实践课就很多了,这个项目也就是为了做实践课的《软件工程》而创建的。

  2. 为了学习reactgolang

    这个项目底子是使用golang来操作底层,使用webview2的形式引入前端技术来进行混合式桌面端应用开发。golangGoogle开源的语言,reactFacebook开源的前端框架。这两者的结合必然能创造出一片火花,但是由于wails刚刚创建没多久,所以说轮子不是很多,并且解决方案和通用方法比较少。

  3. 技术的前瞻性

    其实作为混合应用开发我也做过比较多的方案,就目前技术方案最多的就是使用electron来进行前端桌面应用开发;目前(2023年4月)为止,微信、阿里云盘、vscode等等大厂的桌面应用都是基于electorn进行开发的。electron的优势非常巨大,即一个会node的前端团队就能做到一个基本的electron应用的开发。但是劣势也是比较明显的,就是性能问题、还有的就是文件体积问题;因为electron打包的情况需要将整个浏览器的对象都要打包到安装包中,所以就算是一个helloworldelectron应用都要将近170MB的大小。但是其实就目前的硬件问题来说,这都已经不是事了,目前主流的电脑都已经使用固态硬盘,并且内存都是4G起步,所以包大小的问题可以忽视。就性能问题来说,其实使用electron桌面端应用你会发现,不管是微信还是其他应用,也不管你的电脑配置如何之高,但是总会在特定情况下有那种卡顿无响应的情况,这也并不是我吐槽哪个技术的槽点,而其实就是因为使用浏览器端作为桌面应用就是会附带着这种问题。目前也有轻量版electron,也就是删除了一些不需要使用的功能。所以说如果wails能有一足之地,也就给混合桌面应用开发多了选择的余地。

技术选型

开发脚本

// 启动项目
wails dev
//构件项目
wails build
//构建项目基于nsis
wails build -nsis

wailsdbt's People

Contributors

panjianxin1996 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.