5 ms·
How does Go replace Python for web development? Is there a thriving web framework and module ecosystem for Go, like Django/Rails are for Python/Ruby?
by kennu 14y ago
How does Go replace Python for web development? Is there a thriving web framework and module ecosystem for Go, like Django/Rails are for Python/Ruby?
- dchest 14y agoWhy do you need Django/Rails for web development?
- spamizbad 14y agoYou don't. But without something like them (or microframeworks + libs) you're going to be rewriting a bunch of stuff yourself. On top of that, security sensitive parts (session management, CSRF protection) that get hand-rolled will need a significant amount of testing. If you have the time and resources though... go for it! Edit: But it does seem like there's already some contenders for Go's go-to framework (Like Django/Rails are for their respective language) http://robfig.github.com/revel/ http://robfig.github.com/revel/ http://code.google.com/p/goweb/ http://code.google.com/p/goweb/ https://github.com/ungerik/go-start https://github.com/ungerik/go-start
- dchest 14y agoMy point was that you don't need huge frameworks with high barrier to entry to write web applications -- the things you mentioned can be handled by external modules just as well. Need captcha? Find the best captcha package and use it.
- pretoriusB 14y agoYes, and tomorrow that captcha package is abandoned, left to rot, etc. Or some other library you used. Especially since most Go packages are one man shows in GitHub (3-4 abandoned MySQL drivers, etc). I'd rather have a framework with a community that ensures that it is guaranteed to be maintained in the future.
- cmccabe 14y agoGolang has Revel. http://robfig.github.com/revel http://robfig.github.com/revel