News for hackers. Stuff that matters.
Re:Go 1.2 by booop on Friday November 29, 2013 @10:56AM (#6819838)
Has anyone combined Go and angular.js to build something? How were your results?
Re:Go 1.2 by kisielk on Friday November 29, 2013 @11:06AM (#6819873)
Yes, though for an internal project so I can't share it here. Go is pretty well suited for building REST APIs and combines quite easily with a front-end JS app built in Angular.
Re:Go 1.2 by rdtsc on Friday November 29, 2013 @11:07AM (#6819876)
The two are rather separate. The only way I can see combining them is if there is extensive server side template-ing. But angular.js kind of discourages that. So you can use go to build a RESTful server and then use angular.js on the front end. But that sort of de-couples the system to the point where it doesn't make sense to talk about an advantage of a combination of both.
Re:Go 1.2 by mjibson on Friday November 29, 2013 @03:36PM (#6820925)
Having myself written such a site (http://www.goread.io/), I concur. Having go on the backend didn't provide any benefits with an angular frontend over another language. I just think they excel at their respective purposes - that's why I chose them.
Re:Go 1.2 by reneky on Friday November 29, 2013 @11:57AM (#6820085)
https://www.goread.io/ combines a Go backend and angular.js frontend.
Re:Go 1.2 by _ak on Friday November 29, 2013 @06:10PM (#6821442)
I do a (currently not yet launched) project with Go on the backend and AngularJS on the frontend, and it's just... really simple and obvious.