moon 1.1.0 - Go web framework for modern web dev

agolangf · · 618 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Started this project about a week ago and it&#39;s starting to take shape a bit :) It&#39;s a simple framework for Go that implements webpack with hot module replacement and some other useful things for rapid prototyping and SPAs.</p> <p>Feel free to criticise, contribute, or whatever.</p> <p><a href="https://github.com/huoy/moon">https://github.com/huoy/moon</a></p> <hr/>**评论:**<br/><br/>aagee: <pre><p>Started a week ago, and already 1.1.0?</p></pre>ehustle: <pre><p>I wasn&#39;t planning to use the last digit ;D It&#39;s just a convention for npm packages to have it, even though this isn&#39;t actually an npm package. Maybe at some point I&#39;ll need it!</p></pre>Brasilikum: <pre><p>Why did you use both go and node.js. Coming from Node.js I see the benefits of it for rapid prototyping, but an important thing I came to love about go is that it compiles to single static binaries. I would not want to install npm on my production system. I see the need for a rapid prototyping tool in go, but wouldn&#39;t it be possible in go only? Which was your motivation to mix the two? </p></pre>calebdoxsey: <pre><p>He&#39;s using webpack which requires node. Once bundled I don&#39;t think you need the node dependency anymore. You could build the binary, package it with all the static assets and bundled files and then deploy that.</p> <p>There are a lot of tools for frontend development built in node. Although it&#39;d be nice if those tools were written in Go, I don&#39;t think that&#39;s going to happen anytime soon.</p></pre>ehustle: <pre><p>This is correct.</p></pre>koffiezet: <pre><blockquote> <p>I don&#39;t think that&#39;s going to happen anytime soon.</p> </blockquote> <p>I don&#39;t think that&#39;s ever going to happen tbh. These tools are written by front-end devs to solve their own problems, and Node finally offers them a way of writing these tools in the language they also use for all their other stuff. I&#39;m not exactly a Javascript/Node fan, but I can see Node&#39;s use in this case.</p></pre>andrewjsledge: <pre><p>Maybe identify in your post that this is a hybrid stack.</p></pre>google_you: <pre><p>node.js ftw</p></pre>vibhavp01: <pre><p>???</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

618 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传