Web stack recommendations

blov · · 488 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;ve been away from go for a few years.</p> <p>Here&#39;s what I&#39;m thinking. Any recommendations would be great. </p> <ul> <li>std lib where possible</li> <li>router (I liked goji/gorilla at the time but projects seems stale) for REST. </li> <li>gRPC seems like a good fit non REST (agent, mobile, path to micro-service etc). I saw some good gophercon talks on this. My concern is that gRPC is Alpha. </li> <li>sqlx .... was pretty &#34;meh&#34;. Has <code>go generate</code> done anything to improve sql writing? I&#39;m not looking for an ORM, but something slightly better than SQLx would be loved. </li> <li>I&#39;d like to use an embedded database. I <em>love</em> sqlite but <em>hate</em> that the sqlite driver for go requires c-go which makes cross compilation a much bigger PITA. Any suggestions here? </li> <li>angular/react/whatever the new hot bullshit is for front-end. I was leaning towards Angular because we are B2B and that seems to be the most adopted framework in enterprise land.</li> <li>Speaking of frontend. How are you managing authorization between frontend and backend session. At the time, I used JWT but it always gave me a pretty &#34;icky&#34; feeling security wise. </li> </ul> <p>What&#39;s considered best practice these days? </p>

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

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