Live data from Hacker News

Buffalo – MVC Web Framework for Go

gobuffalo.io

11–20 of 46 posts

Re: Buffalo – MVC Web Framework for Go

#11

Sounds like Buffalo is omakase?

Nothing can be omakase in Go. The language disallow it, unless you completely opt out of its type system. But then, what's the point of using a statically typed language? Go is built in a way that forbids writing abstractions. When I say forbid it really does forbid it. Even C is more expressive.

Buffalo isn't a framework, unless a router + few bells and whistles is now considered "framework".

Re: Buffalo – MVC Web Framework for Go

#12
post #6

Not a mobile friendly website? Please it's 2017

That's a pretty negative attitude. It's open source. Why don't you contribute? https://github.com/gobuffalo/gobuffalo

I am requesting in my comment. But anyway its a good suggestion to contribute. Will do.

Re: Buffalo – MVC Web Framework for Go

#13
That REPL is awesome and an actual differentiating factor.

I grew to web programming with Rails and Django, and trying out PHP (where to my knowledge nothing comparable exists, or apparently even could exist) for a few years felt like I had entered the stone ages. And that feeling did not pass.

Re: Buffalo – MVC Web Framework for Go

#14
post #13

That REPL is awesome and an actual differentiating factor. I grew to web programming with Rails and Django, and trying out PHP (where to my knowledge nothing comparable exists, or apparently even could exist) for a few years felt like I had entered the stone ages. And that feeling did not pass.

Isn't Laravel[1] the Rails or Django of PHP?

[1]: https://laravel.com/

Re: Buffalo – MVC Web Framework for Go

#15
post #13

That REPL is awesome and an actual differentiating factor. I grew to web programming with Rails and Django, and trying out PHP (where to my knowledge nothing comparable exists, or apparently even could exist) for a few years felt like I had entered the stone ages. And that feeling did not pass.

In the PHP space I know Laravel has an "artisan tinker" command which gives you a similar REPL where you can do at least some of the things demoed on the Buffalo site. This seems to be increasingly common to have for web frameworks from my somewhat limited experience.

Re: Buffalo – MVC Web Framework for Go

#16
Go is such an easy language as it is, these kinds of frameworks just encourage amateur developers to skirt by with minimal understanding of what they're really doing. An MVC framework sounds like a great personal hacking project for fun, but I would beware of advertising anything like it for professional use.

Re: Buffalo – MVC Web Framework for Go

#17
post #15
post #13

That REPL is awesome and an actual differentiating factor. I grew to web programming with Rails and Django, and trying out PHP (where to my knowledge nothing comparable exists, or apparently even could exist) for a few years felt like I had entered the stone ages. And that feeling did not pass.

In the PHP space I know Laravel has an "artisan tinker" command which gives you a similar REPL where you can do at least some of the things demoed on the Buffalo site. This seems to be increasingly common to have for web frameworks from my somewhat limited experience.

Indeed, artisan tinker is quite close to what Rails and Django give. The REPL is a bit awkward when compared to ipython, though, but that is probably fixable. If they'd just do it :)

Re: Buffalo – MVC Web Framework for Go

#19
post #16

Go is such an easy language as it is, these kinds of frameworks just encourage amateur developers to skirt by with minimal understanding of what they're really doing. An MVC framework sounds like a great personal hacking project for fun, but I would beware of advertising anything like it for professional use.

> with minimal understanding of what they're really doing

In my opinion, this is very dangerous. It is always better to understand the inner workings and then write an app, otherwise you just feel you have accomplished something when, in reality, it was just the framework you used and you didn't learn. I am saying this out of experience, when I used to use Django, I didn't understand the difference between GET vs POST. Still, I built a small note taking app, I didn't understand how cookies worked and until I wrote this: https://github.com/thewhitetulip/Tasks, I didn't know that the cookie details were read and sent to the sever in each request.

Frameworks are powerful in cases when you want new comers to get started quickly, but in my opinion that has to be after the new comers are familiar with webdev, so they know what the underlying tech are and how they work. Plus, frameworks need to be chosen with care, because you are basically bound to the framework you choose.

Personally, I like to write apps without a framework by using various toolkits, I never felt the necessity to use any framework, because they don't provide me with any distinct feature which I can't replicate with little additional code using the stdlib and supporting toolkits like gorilla.

From my experience building the Tasks application, I wrote an introductory e-book which teaches building apps with example, so no more magic! I didn't find a resource which taught how to write web apps using an example, thus wrote one.

https://github.com/thewhitetulip/web-dev-golang-anti-textboo... and on multiple requests, recorded a screencast: https://www.youtube.com/playlist?list=PL41psiCma00wgiTKkAZwJ...

Re: Buffalo – MVC Web Framework for Go

#20
post #16

Go is such an easy language as it is, these kinds of frameworks just encourage amateur developers to skirt by with minimal understanding of what they're really doing. An MVC framework sounds like a great personal hacking project for fun, but I would beware of advertising anything like it for professional use.

The further problem is the resulting community. Interviewing for Go devs is going to become a pain.
Post reply on HN