Live data from Hacker News

Goravel: A Go framework inspired by Laravel

goravel.dev

11–20 of 170 posts

Re: Goravel: A Go framework inspired by Laravel

#11

For someone who doesn't know Laravel it's worth explaining it a bit further.

Batteries included very opinionated way of building amazing things.

That said you can choose to go your completely own way and ignore the Laravel way. But good luck with hiring.

I think Laravel is the best framework for getting an idea going, to MVP to MMP to scale. It just works.

Purists hate it because it is PHP and they still think it is 1999. They also hate that there is the “Laravel way”, even though you can completely ignore it.

Laravel is what the non-cool kids use to ship.

Re: Goravel: A Go framework inspired by Laravel

#12

IMO there is definitely a place and need for such a framework in the Go ecosystem, but that does not mean that the whole API, structure and terminology need to be copied from Laravel as is. This will definitely hinder adoption.

All languages, but some people hate opinionated frameworks.

Re: Goravel: A Go framework inspired by Laravel

#15

Earlier quoted context omitted.

Interesting take. So you recommend to not give detailed info on a pruduct website and require people to Google? It's not about me not willing to use Google but about not having me to. I expect to find all relevant information on the website in an easy to find manner.

Theoretically, it's probably better to get information about Laravel from their respective website. I would expect as this is a framework made for Laravel users, you're not really in their target audience anyway. It would be helpful to explain a little bit about why they like Laravel though, to entice you to read more by yourself.

That would perfectly made sense if the framework intended only for Laravel users willing to work in Go.

But they use the term "Laravel inspired" which can be understood as well as them catering also to regular Go users without prior Laravel experience. If that is the case, it might be worth to explain the features and usage of their product.

Re: Goravel: A Go framework inspired by Laravel

#18
post #6

Never got the point of porting X framework from Y language in order to > simplifying the learning curve for Y language developers You'll just end up writing the same old patterns in the new language as you did in the old one. Especially with Go, it's really easier to adopt the existing tooling (most of which is in the standard lib) than to port whatever concepts Laravel/PHP had.

Not sure there's a Go equivalent of Laravel, so not sure which tooling you suggest people adopt. If I want an all inclusive MVC (or similar) web development framework with all batteries included - why not build a Go Laravel? Python has Django Java has Spring (among others) C# has asp.net Ruby has Rails PHP has Laravel What does Go have?

> If I want an all inclusive MVC (or similar) web development framework with all batteries included

I think that maybe you shouldn't want that. Go is a simple language with a very extensive standard library. It's quite easy to do most things you would want by just writing some code, leveraging the standard library, and maybe including a handful of external libraries. Frameworks are not needed and will eventually just get in the way.

Re: Goravel: A Go framework inspired by Laravel

#20
I'm not a fan of the complexity added by this and other similar frameworks. PHP and Go are very different languages, so trying to replicate the same concepts for one language to another I don't think it is a good idea.

One of the things I would discard would be the use of an ORM library : every library adds another level of complexity and doesn't allow to see what is happening when the SQL statements are built. In my opinion, it is better to create some simple methods for each object that implement the CRUD operations and build the SQL statements directly.

It is possible to write a web application with GO using only some libraries, for example for routing and authentication.

My favorite place to start is Autostrada : https://autostrada.dev/

Post reply on HN