Golang的Revel能够以二进制形式部署吗?

huangapple go评论83阅读模式
英文:

Is Golang's Revel able to be deployed as binary?

问题

我对使用非编译语言(如Ruby、PHP、JavaScript(服务器端)等)编写Web应用程序有一个担忧,那就是我的源代码可能会被其他人复制并修改,然后他们可以将其出售并声称为自己的作品。我正在寻找另一种语言来开发我的下一个项目,发现Go + Revel速度和功能(错误行、热代码重载)方面非常有前途。

问题是,Revel是否支持部署为二进制文件?

英文:

One of my concern about writing Web Apps using non-compiled language (Ruby, PHP, Javascript (server side), etc) is my source code can be copied and modified by another person and then they could sell it, claim it as their own. I'm seeking another language to develop my next project, and find that Go + Revel is quite promising in term of speed and feature (error line, hot code-reload)

The question is, is revel support deployment as binary?

答案1

得分: 3

Golang是一种编译语言,你用它做的一切都是二进制的。

让你困惑的是热重载功能:即使使用热重载,你仍然在使用二进制文件,但是Revel会监视源代码,并在需要时重新编译它。

所以,是的,使用Revel编写的Golang应用程序是一个二进制文件。

英文:

Golang being a compiled language, everything you do with it is a binary.

What is losing you here is the hot-reload functionnality: even with it, you are still using a binary, but Revel is watching the source and compiling it again when needed.

So yes, an application written in Golang with Revel is a binary.

huangapple
  • 本文由 发表于 2014年6月6日 14:51:23
  • 转载请务必保留本文链接:https://go.coder-hub.com/24075897.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定