Using Golang for web application development ?

blov · · 72 次点击    
<p>I&#39;ve seen claims that Golang is not good for web application development. That using it there doesn&#39;t make sense and only creates problems. And that it is best for infrastructure/tooling.</p> <hr/>**评论:**<br/><br/>burnaftertweeting: <pre><blockquote> <p>claims that Golang is not good for web application development</p> </blockquote> <p>Where? Golang is fantastic for web apps. There are multimillion dollar companies using Go to power their production backends. Compared with the current fare of webdev languages such as PHP, Ruby, and JS - Go is a dream. </p> <p>In general, with Go you&#39;ll have less bugs, good to excellent speed, and a highly maintainable system. My only gripe is that it doesn&#39;t have much in the way of baked-in higher order functions. Those these were left out intentionally in the interest of simplicity.</p></pre>Bstochastic: <pre><p>There is actually a book called &#34;Go Web Programming&#34;. </p></pre>FPSports: <pre><p>I&#39;ve switched from PHP (mostly Symfony..) to Go and so far i haven&#39;t encountered anything where i&#39;d ditch Go. On the opposite: i couldn&#39;t be happier. </p> <p>I&#39;m more productive, write better code etc. etc. pp. </p> <p>Wondering if i hit a wall at some day.</p></pre>haksli: <pre><p>That sounds good. Are you working for a company?</p> <p>Do you have anything that might help me with the structuring and the architectural patterns? I am a C# dev. When it comes to Golang, I am a bit clueless on where to start. Lets say I want to start developing an Angular2 SPA with Golang as back-end...</p></pre>Killing_Spark: <pre><p>Then you create handlers for the different pathes you need, and serve the files for your spa as static files. </p></pre>itsmontoya: <pre><p>Go is amazing for web apps.</p></pre>dlsniper: <pre><p>Have you used the search function on... Reddit? Or Google? </p></pre>haksli: <pre><p>both</p></pre>dlsniper: <pre><p>And what did it tell you? Is Go used for web dev at all? Or did you manage to see all the duplicate questions exactly like yours? </p></pre>rdmin: <pre><p>Golang is fair good for web development and general network projects, big or smaller.</p> <p>We use Iris web framework in our company: <a href="http://iris-go.com" rel="nofollow">http://iris-go.com</a> , a year ago we used Gin web framework but Iris proved to be a better option for our needs.</p> <p>It&#39;s pretty active and it has quite a long list of unique features, it has got many examples for new gophers, here you&#39;re: <a href="http://iris-go.com/v8/recipe" rel="nofollow">http://iris-go.com/v8/recipe</a></p></pre>FPSports: <pre><p>yay.... promoting super shady software maintained by a super shady guy....</p> <p>software no prof. company should use: iris.</p></pre>shovelpost: <pre><p>rdmin is kataras</p></pre>FPSports: <pre><p>Haha...oh god...this guy is so desperate....</p></pre>shovelpost: <pre><p>Unfortunately just today I noticed <a href="https://www.reddit.com/r/golang/comments/6sqi3u/backend_developers_whats_your_workflow_when/dlf2d56/" rel="nofollow">this person</a>. Either he is totally clueless or has been blinded by the 7k fake stars kataras put on iris through bots. I wouldn&#39;t be surprised if he had some connection with kataras either.</p> <p>It makes me feel sad for the future of our ecosystem.</p></pre>FPSports: <pre><p>i&#39;d be interested who actually uses Iris in a serious prod. environment.... like... who would?! :D</p></pre>Killing_Spark: <pre><p>I just find it funny how much hate this guy got by beeing a dick :D</p></pre>daenney: <pre><p>Why? Even if the guy is shady, b/c of reasons not given, why does that make the software bad, and a bad fit for anyone?</p></pre>shovelpost: <pre><blockquote> <p>b/c of reasons not given</p> </blockquote> <p><a href="http://www.florinpatan.ro/2016/10/why-you-should-not-use-iris-for-your-go.html" rel="nofollow">Here&#39;s all the reasons you need</a>.</p></pre>daenney: <pre><p>Thank you for the reference.</p></pre>
72 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传