Live data from Hacker News

Goravel, Web framework inspired from Laravel in Golang

github.com

11–20 of 64 posts

Re: Goravel, Web framework inspired from Laravel in Golang

#11

It's there a "default" web framework for Go which most of people use?

AFAIK, no. There are some helper frameworks [1], but none of them is dominant. Two possible reasons: it's quite easy to write a (web) service with the library functions (it even includes a gzip stream), and it's practically impossible to write an ORM framework like you have in Java and Python, so the Go frameworks I've seen are basically a bunch of helper functions.

[1] https://github.com/avelino/awesome-go#web-frameworks

Re: Goravel, Web framework inspired from Laravel in Golang

#14

Earlier quoted context omitted.

> Laravel, the framework that made me quit PHP. I would be interested to hear more.

Not OP. While I didn't quite PHP. I just don't work with Laravel. A lot of good points are written down here: https://old.reddit.com/r/PHP/comments/131t2k1/laravel_consid... In short, it just doesn't use good programming principles. It's not just easy to write code with bad principles, it's everywhere in the tutorials. There's of course Laravel apps out there that do have good programming principles. It's very much p…

Also not OP, but the linked reddit post sums up one of the major reasons I had to get out of PHP several years ago. Everything is/was moving to Laravel in PHP land. I got tired of dealing with highly coupled, non-unit testable code that seemed to go out of it's way to ignore SOLID principles.

God help us if it this project becomes the normal way of writing http go servers applications. Maybe at that point it's time to become an embedded rust programmer or a monk.

Re: Goravel, Web framework inspired from Laravel in Golang

#17
Please, no. While you can write really clean code in modern PHP, Laravel is a collection of anti-pattern. PHP has a bad reputation because in the past it was hard to implement clean code because of inconsistencies and lacking language features. PHPs reputation should improve, but Laravel is working against it. Please don't bring Laravel to Go.

Re: Goravel, Web framework inspired from Laravel in Golang

#18
post #17

Please, no. While you can write really clean code in modern PHP, Laravel is a collection of anti-pattern. PHP has a bad reputation because in the past it was hard to implement clean code because of inconsistencies and lacking language features. PHPs reputation should improve, but Laravel is working against it. Please don't bring Laravel to Go.

[deleted]

Re: Goravel, Web framework inspired from Laravel in Golang

#19
post #8

Earlier quoted context omitted.

My intuition is that Golang people dislike frameworks.

So they roll their own stuff each time they do a web app?

From what I've seen yes. So in practice every go app is a custom & unique framework. Same problem as react. This was also the norm in php until laravel got popular a few years ago.

IMO it's a rough way to make a web page but people keep doing it so it must have some advantages.

Re: Goravel, Web framework inspired from Laravel in Golang

#20
post #14

Earlier quoted context omitted.

Not OP. While I didn't quite PHP. I just don't work with Laravel. A lot of good points are written down here: https://old.reddit.com/r/PHP/comments/131t2k1/laravel_consid... In short, it just doesn't use good programming principles. It's not just easy to write code with bad principles, it's everywhere in the tutorials. There's of course Laravel apps out there that do have good programming principles. It's very much p…

Also not OP, but the linked reddit post sums up one of the major reasons I had to get out of PHP several years ago. Everything is/was moving to Laravel in PHP land. I got tired of dealing with highly coupled, non-unit testable code that seemed to go out of it's way to ignore SOLID principles. God help us if it this project becomes the normal way of writing http go servers applications. Maybe at that point it's time t…

When I studied computer science, I promised myself to never touch PHP again.

But PHP has more to give than just as a birthing ground for teenage programmers.

When I many years later accepted a PHP job as a senior developer, PHP provided a consistent experience of "bad practice everywhere", a fractal of cringe I couldn't ironically reproduce. Working with this for a year taught me a lot about how to deal with critical legacy software beyond repair and being responsible with what you've got.

I think there is no better way to get your hands consistently dirty than with PHP.

Coincidence: I do embedded Rust, and my wife is a buddhist monk. ;-)

Post reply on HN