Re:I Am Worried About The Future Of Python
by dalke on Monday September 24, 2012 @04:10PM
(#4566704)
Given that it has no template language and (seemingly) no database mapper, much less support for caching, user account, etc., I'm confident that it's not in the same space as Django or RoR. For example, how do I get it to talk with a Postgres database, and do LDAP authentication?
Re:I Am Worried About The Future Of Python
by genbattle on Monday September 24, 2012 @07:51PM
(#4567733)
> Given that it has no template language
Ahem...
http://golang.org/pkg/html/template/
It doesn't have its own equivalent of RoR or Django yet because most of the batteries needed for web development are built-in.
Re:I Am Worried About The Future Of Python
by dalke on Monday September 24, 2012 @08:45PM
(#4567911)
My knowledge of this comes from the linked-to tutorial: "Web.go doesn't include a templating library. However, there are several good ones available, such as mustache.go. The template package in Go is not recommended for web.go because it doesn't allow templates to be embedded within each other, which causes a lot of duplicated text."
It seems that the web.go authors thinks that Go's template language batteries are of the wrong size.
Re:I Am Worried About The Future Of Python
by cmccabe on Tuesday September 25, 2012 @12:53AM
(#4568647)
Web.go is sort of the Golang equivalent of Sinatra or Camping, not really of Ruby on Rails.
What you're looking for is Revel. http://robfig.github.com/revel/
http://www.getwebgo.com/tutorial