The TRUTH About Golang Backend Frameworks

The TRUTH About Golang Backend Frameworks

Melkey

10 месяцев назад

106,543 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Melkey
Melkey - 05.09.2023 19:29

I hope you all enjoyed this video!
I love Go and I love all the Go backend services.
If you enjoyed this video - please consider liking and subscribing. It means the world to me :)

Ответить
Kevin Naidoo
Kevin Naidoo - 23.09.2023 19:47

I agree 100%. I used GIN to build a full webapp not just an API - the difference between GIN and the standard library is just cleaner route signatures, the neat console log and just a few minor "goodies".

I normally use Laravel, which is super bloated but it does come with some nice features out of the box: sessions, csrf tokens, queues. I had to implement these on my own or use other libraries - its just a bit annoying to build the plumbing essentials but overall my project is lean and clean.

Ответить
Gustavo Santos
Gustavo Santos - 23.09.2023 01:54

As someone migrating to Go, the biggest problem I see in community is not over-engineering, but under-engineering.
A lot of Go developers try to build everything from scratch, which increses the lead time of projects, specially if you work with microservices.
And every new thing you need, you need to build by yourself. What's wrong with using libraries and frameworks? Answer: nothing, it's about choosing your fights. How many security breachs are we deploying just for the sake of "use the std lib".

Under-engineering is a problem just as big as over-engineering.
But sure, let's be purists, what could go wrong? zzzzzz

Ответить
4strodev
4strodev - 21.09.2023 22:51

That's true, I make mainly backend applications with typescript and node. And for my "degree" (IDK how to say that but I mean that I'm still studying) we are using java and OMG I love the standard library of go and their type system design. The "low level" control that go gives to you for some things. Their simplicity and the tools that come with the language is amazing. Personally I use fiber but because I have chosen to work with it thanks to the "Express inspired" tag, and it works for me and I learned how to use it, so I will keep using it.

Ответить
Rose Hogenson
Rose Hogenson - 20.09.2023 03:57

I've used goa a lot at work, but I would always stick to the standard library for a hobby project

Ответить
Victor rodriguez
Victor rodriguez - 18.09.2023 20:41

there is something real about frameworks
If you pay close attention to them and how they work,
you forget to become a real programmer in your language,
for the loss of time that this requires.
It is better to learn the language well and make your own environment.

Ответить
Karnevil 999
Karnevil 999 - 16.09.2023 07:08

Still found Fiber the best and fastest...

Ответить
nightwish15
nightwish15 - 07.09.2023 23:08

Used Gin, would use it again. Reminds me of Express, and to me Express is almost perfect backend framework :)

Ответить
Jason Scherer
Jason Scherer - 07.09.2023 00:33

Like no one ever was...

Ответить
Miloš Mileusnić
Miloš Mileusnić - 07.09.2023 00:32

All of them are just routers with some middleware functionality and some of them use "framework" keyword just because of newcomers coming from JavaScript :)

Ответить
Allan Johnson
Allan Johnson - 06.09.2023 14:44

great video! go is robust and solid by yourself!

Ответить
Coding with Lewis
Coding with Lewis - 06.09.2023 08:38

At this rate, you should build your own backend framework to compete

Ответить
Nixon Kosgei
Nixon Kosgei - 06.09.2023 07:50

I really like chi, and yes! it's the closest to the standard library

Ответить
Si Thu Mg Mg Cho
Si Thu Mg Mg Cho - 06.09.2023 04:55

I will consider go if you use different photo for the thumbnails.

Ответить
dog4ik
dog4ik - 06.09.2023 03:12

I really like axum

Ответить
John Inu
John Inu - 06.09.2023 03:00

Hey Melkey. Might be out of context for this particular video, but can do a video showcasing how and when you use queues, tools like rabbitmq in Golang (programming in general)? 🥹

Ответить
Dat Guy
Dat Guy - 06.09.2023 02:57

Once you've built a CRUD app with the stdlib you'll see that these routers don't really offer much outside of a sprinkle of syntactic sugar. That isn't to say you shouldn't use them, but I think it's well worth a few hours using only the stdllib and seeing what you can do with it (everything).

Ответить
Meta crusader
Meta crusader - 06.09.2023 01:51

Tried all of those and also iris. I always come back to gin. There's smth really neat about that library

Ответить
Can
Can - 06.09.2023 01:41

I like go's extensive standard library but I still believe frameworks is making developers life easier. They abstract things and help you to move faster. when you are writing your own saas application (depending on domain) most of the time you are not interested whats going on under the hood you are interested how fast I can move my mvp and do marketting etc

Ответить
Jord Codes
Jord Codes - 06.09.2023 00:34

I’m enjoying go ent framework. Have you taken a look at it?

Ответить
chovbee
chovbee - 06.09.2023 00:00

These were great points, but GoChi sounds like a DragonBall character so it's obviously better.

Ответить
Eo As
Eo As - 05.09.2023 23:16

in most cases, Fiber is more than enough. crazy fast and easy to learn and use. 🚀

Ответить
Ethan Holz
Ethan Holz - 05.09.2023 22:58

Surpriesed gorilla/mux isn't here. Especially since it's being maintained again.

Ответить
Daniel Majer
Daniel Majer - 05.09.2023 22:48

To be fair, I stopped caring about frameworks and their "wars". Until they are well maintained, easy to use and follow the "standard" pattern (so I don't spend more time to learn it, rather implement it from zero) I'm down to any of them... Oh, almost forgot! Have a proper jwt handling system! The only thing that matters for me, if I don't have to touch the ready code in the following few months for the fault of the framework.

Ответить
R A
R A - 05.09.2023 22:46

If I’m not using the std library with mux routing, I just gin.

I’m moving toward htmx and gin’s ShouldBind method does some beautiful field validation for form data.

Ответить
Gershom Rogers
Gershom Rogers - 05.09.2023 22:06

Fiber, then used echo primarily cause of pocketbase but will have to get stdlib a shot on my next go around.

Ответить
succatash the learner
succatash the learner - 05.09.2023 21:11

Can we just stop messing with this dead language

Ответить
DC88
DC88 - 05.09.2023 20:57

Godamn son

Ответить
Anthony GG
Anthony GG - 05.09.2023 20:52

Vulpix really made me giggle, not gonna lie.

Ответить
HypothesisI
HypothesisI - 05.09.2023 20:50

I use chi. I secretly think videos like this are slight unhelpful bc someone coming from python,java, js really should be given an answer... strengths of each...and then you should explain why it doesn't matter and how thin they are and why go is different.... I say this because I don't think the std lib message lands until they've dived into programming go, usually using chi or something...Just my opinion - great vid!

Edit: and i only say this bc i just lived this lol

Ответить
Tallmf
Tallmf - 05.09.2023 20:45

All my homies use standard library

Ответить
Tallmf
Tallmf - 05.09.2023 20:42

GO TIME

Ответить
Tallmf
Tallmf - 05.09.2023 20:42

GOATED video

Ответить
Camacho
Camacho - 05.09.2023 20:40

Gorilla Mux ?? Std>Gorilla>= Chi >others

Ответить
FlipLucky
FlipLucky - 05.09.2023 20:38

I started javascript and php vanilla.
I believe with both, it is easily possible to write evertyhing you want with it.
I mean... the frameworks and libraries are build using that same language.....
I see a lot of people using packages, frameworks or libraries, and not understanding how they work under the hood
As soon as you create a vanilla construct, they look at you like it's dirty, ugly code, but they dont see that the tools they are using function the exact same way, but prettified with a wrapper function.

I like go. the ease on how you can set up allmost every tool you like is great( Although... string manipulation is still a challenging concept in golang for me :P)
The most important things are already under your fingertips, accessible without any configuring a framework or bundler.
With some extra lines of code, you can easy write the "luxery" that frameworks offer you.

Ответить
Shaygan
Shaygan - 05.09.2023 20:31

I don't know about the go frameworks but this is the best go channel.

Ответить
Coding Reaction
Coding Reaction - 05.09.2023 20:09

Cool video <3

Ответить
Dmitry M
Dmitry M - 05.09.2023 20:07

Yessssir

Ответить
Joshua Swick
Joshua Swick - 05.09.2023 19:55

The node devs are bringing their "javascript problem" with them to go frameworks with Fiber and Echo. Just use chi (which actually uses the std lib handler interface) and learn the go paradigms.

Ответить
Muhammed nani964
Muhammed nani964 - 05.09.2023 19:47

I’m the 5 th person to comment here
And I guess using standard go is annoying for me bc I came from php and js backend 😂😂

Ответить
Kunal
Kunal - 05.09.2023 19:43

Hey Melky, perfect timing. Do you know how to deploy a golang backend that uses go fiber on vercel serverless? I can't find any example online

Ответить
Mike L
Mike L - 05.09.2023 19:32

Holy shit I did so much PHP is this video real or not

Ответить