Live data from Hacker News

Martini: Classy web development in Go

martini.codegangsta.io

21–30 of 30 posts

Re: Martini: Classy web development in Go

#21

Would be really nice if the demo was in a normal web page instead of a video. (Also, I'd love to know what vim(?) extension provides the interactive completion with the function signatures! That looks really cool.)

Yup. I'm using gocode, and a VIM keybinding to restart the server in a tmux pane.

Re: Martini: Classy web development in Go

#22

Great work Jeremy. Although there are a number of web frameworks similar to Sinatra on go, this feels to me to be the most natural. The care taken to present this well shows this project has promise. Are you looking to make this more full featured with an ORM/persistence layer (i.e Rails) or keep it small and similar to Sinatra?

The idea is to keep it small with lots of packages that work with it. It is easy enough to add any ORM instances (gorp, gorm) as a service so it can be injected into a Martini Handler.

Thanks for the feedback!

Re: Martini: Classy web development in Go

#24

Would be really nice if the demo was in a normal web page instead of a video. (Also, I'd love to know what vim(?) extension provides the interactive completion with the function signatures! That looks really cool.)

Probably gocode, which is a daemon that works with different editors to offer autocompletion (i.e. vim, emacs, etc): https://github.com/nsf/gocode

Awesome! Thanks for the link :)

Re: Martini: Classy web development in Go

#25
A list of Go webframeworks. Sorted by activity. Last commit as of 14. Nov 2013

https://github.com/codegangsta/martini Last commit: 2 hours HN discussion: https://news.ycombinator.com/item?id=6731022

https://github.com/astaxie/beego Last commit: 1 day ago

https://github.com/robfig/revel Last commit: 4 days ago https://news.ycombinator.com/item?id=5996712

https://github.com/aaronlifton/Gooo Last commit: 1 month ago https://news.ycombinator.com/item?id=5057108

https://github.com/hoisie/web Last commit: 5 months ago https://news.ycombinator.com/item?id=6715547

https://github.com/paulbellamy/mango Last commit: 9 months ago

Re: Martini: Classy web development in Go

#26

Would be really nice if the demo was in a normal web page instead of a video. (Also, I'd love to know what vim(?) extension provides the interactive completion with the function signatures! That looks really cool.)

Probably gocode, which is a daemon that works with different editors to offer autocompletion (i.e. vim, emacs, etc): https://github.com/nsf/gocode

GoSublime also utilises gocode for ST users: https://github.com/DisposaBoy/GoSublime

Re: Martini: Classy web development in Go

#27

Newbie question here, I've looked into gorilla/mux before, how does Martini compare to it? Do they serve the same purpose? Does it offer more features? Is it easier to use? Great-looking website by the way. The first impression is a good impression, it's very polished.

Martini seems to be a bit more of an inclusive solution more akin to something like Revel, whereas Gorilla seems to be tackling the problem by making a number of standalone components that you can tie together yourself.

I've done a small project in both Revel and with Gorilla components and found that I actually enjoyed implementing things using Gorilla packages more, giving a great deal of flexibility and not hiding too much in the framework like Revel does.

Re: Martini: Classy web development in Go

#28
This is amazing, I love the DI with services! I always preferred Gorilla to things like Revel because it wasn't so opinionated, and this seems closer to Gorilla but with this clever idea of services.

I threw together an example app with templating and database access as services, I'm impressed by how concise it is.

https://gist.github.com/mickhrmweb/7479583

Re: Martini: Classy web development in Go

#30

A list of Go webframeworks. Sorted by activity. Last commit as of 14. Nov 2013 https://github.com/codegangsta/martini Last commit: 2 hours HN discussion: https://news.ycombinator.com/item?id=6731022 https://github.com/astaxie/beego Last commit: 1 day ago https://github.com/robfig/revel Last commit: 4 days ago https://news.ycombinator.com/item?id=5996712 https://github.com/aaronlifton/Gooo Last commit: 1 month ago htt…

here another one :)

https://github.com/pilu/traffic/

Post reply on HN