Hacker News new | ask | show | jobs
by valevk 4596 days ago
I think Go is still missing its killer-web-app-framework. But maybe it's better that way. Keeps out the people who don't like think before they code.
2 comments

Most people seem to define killer-web-app-framework to include a "blessed" ORM solution. (I don't personally, but I understand where people are coming from.) Go seems to have been resistant to any large-scale ORMs to date; it's hard to put why into a quick HN post, but the language seems to sort of resist it, despite having some reflection capabilities.

Or at least, the language resists the sort of ORMs that the web world has become accustomed to, with tons of convention-over-configuration and such. A more static one could probably be done.

I find myself wishing the "go" toolchain would give me a defined way of running certain code before the compiler, so I could generate Go code with the go source tools. From there you could easily compile yourself up some ORM code by examining a database at runtime. It's yet another privilege it claims for itself but gives you no way to hook into.

I've become a real fan of Flask and the core framework does very little beyond managing request routing and having a simple framework for using jinja templates. Everything else should be optional. My day job is Spring MVC which is an absolute behemoth. It's an application framework more than just a web framework and the plethora of gadgets are useful for alleviating a lot of architecture decisions, but I'm sure I could get by without them.
This article seems to be pushing Martini, which at first glance looks interesting (though it doesn't appear to have been mentioned on the mailing list even once, so there may be some boosting involved).

There is Revel, but it seems to be getting a bad rap ("non-idiomatic" label used as a stick).

Martini author here. Weird how it didn't show up in the golang-nuts search, here is a link to the announcement topic: https://groups.google.com/forum/#!topic/golang-nuts/LubMauy6...

Martini is still young (less than a week) but the core is pretty fleshed out.

No boosting here (I don't even have that many twitter followers). I just put together a framework that doesn't step on your toes and people ate it up :)

I love what I've seen so far. The biggest problem is probably the age. Googling for "go martini json" will not yield results until more users start to talk about it.
Yup. Getting there will take a while. In the meantime I plan on releasing a whole bunch of middleware in the martini-contrib repo and creating more video tutorials on web development in Go.
I mentioned Martini as I like its approach. It hit HN a few days ago and was on the go-nuts ML around the same time.

I don't expect everyone to agree with me surrounding Revel, but I certainly think it's lack of modularity is a negative.

I had searched for it to see what kind of feedback it was getting but came up empty:

https://groups.google.com/forum/#!searchin/golang-nuts/marti...

The Revel comment was more about a criticism I've read several times now.

I liked and bookmarked the article. :)