5 ms·
Alternatives: http://robfig.github.com/revel/ http://robfig.github.com/revel/ (http://news.ycombinator.com/item?id=4499151 http://news.ycombinator.com/item?id=4
by drivebyacct2 14y ago
Alternatives: http://robfig.github.com/revel/ http://robfig.github.com/revel/ (http://news.ycombinator.com/item?id=4499151 http://news.ycombinator.com/item?id=4499151)
Also, simply using net/http or Gorilla to piece things together.
I'm quite happy with go-restful and AngularJS for the frontend and hood for a lightweight ORM (though I'm not completely sold on that. DAO is always awkward for me).
- jff 14y agoI've been very happy with just using net/http, it Just Works and it means I haven't had to learn the Model-View nonsense.
- aaronblohowiak 14y agoModel-View nonsense? A model is a business object (ie: your data and the stuff it does) and your views are how you format your business objects for various kinds of output. That's the gist of it.
- whichdan 14y agoI'm on the same page regarding ORMs/DAOs. It's quick enough to throw some handcrafted SQL in the model or to write up a handful of stored procs.
- codygman 14y agoAh, I figured out why I didn't quite like revel. Mainly "interceptors" as shown here: http://robfig.github.com/revel/samples/booking.html http://robfig.github.com/revel/samples/booking.html It doesn't feel like idiomatic Go to me, which for me is a big deal. Perhaps if I start running into problems using only net/http I'll change my mind. Will be sure to give revel another try in that case, but it looks like I'll like goooo's approach more.
- jemeshsu 14y agoI also feel revel not idiomatic Go. I'm checking out beego (https://github.com/astaxie/beego https://github.com/astaxie/beego).
- drivebyacct2 14y agoAfter it's latest re-api-design I think it looks quite nice and simple. Although some of it is a tiny (why bother) layer ontop of net/http.
- codygman 14y agoI have been eyeing beego for a while, and will probably give it a try very soon. (well beego hasn't been out for long, but have kept it in my head of web frameworks to try since I've seen it :P)