What Is THE BEST Web Framework In Golang? Why?

  Рет қаралды 44,651

Anthony GG

Anthony GG

Күн бұрын

Пікірлер: 72
@anthonygg_
@anthonygg_ Жыл бұрын
► Join my Discord community for free education 👉 discord.com/invite/Ac7CWREe58 ► Exclusive Lessons, Mentorship, And Videos 👉 www.patreon.com/anthonygg_ ► 50% OFF on my Golang course 👉 fulltimegodev.com Thanks for watching
@jex8885
@jex8885 Жыл бұрын
Go Fiber is hands down the best web framework I've ever used compared to any relevant popular framework in Kotlin, .NET, JS, Python, Ruby, PHP, Rust, etc. The performance is amazing, it's super productive, and the API is good enough to guess your way around instead of reading docs. And it's super simple to extend :D Currently creating some big APIs and libs with fiber, including a new templating engine.
@hedgehogform
@hedgehogform Жыл бұрын
For real. And I don't understand why many people complain about lack of support for http 2. Just use a reverse proxy like everyone is doing.
@jex8885
@jex8885 Жыл бұрын
@@hedgehogform agreed! The underlying http implementation gets criticised too. But in reality there are no issues behind a reverse proxy.
@tsolanoff
@tsolanoff 9 ай бұрын
That rise of performance from fasthttp in production is nothing in majority of cases. Your reason seems like boredom you try to overcome with inventing complexities.
@xtremebh
@xtremebh 7 ай бұрын
Is Better than Laravel? I not talking about performance, but organization, features, and etc.
@jex8885
@jex8885 7 ай бұрын
​@@xtremebh You can't really compare micro-frameworks to frameworks. If you compare Lumen and Fiber, Fiber will be the far better choice. It's a question of what you need. If features out of the box is what's needed then Spring Boot and .NET is by far the better option. If you feel organization is solved by a framework then the projects are too small for it to matter imho. Directory structures can be used in any tech stack.
@nagygr
@nagygr Жыл бұрын
Hi Anthony. Great video. In the first part though, where you show how error handling is done using the standard library you could use http.Error() which encorporates your two lines of code: writing an http error code to the header and an error message to the body (the only difference is that the message has to be plain text). I just thought this was worth mentioning.
@paulbinkim6409
@paulbinkim6409 Жыл бұрын
I second this. It seems like general consensus within golang community is to use some type of mux library on top of standard http library but I always end up building sort of my mini framework whenever I am going this route. I mean standard libs or gorilla/mux, chi are fine if you are building a few services that for sake of simplicity, but it gets tedious as your server starts handling more complex stuff.
@ho-dg6zi
@ho-dg6zi Жыл бұрын
We use echo on production and i think its really good. Is minimal and just doenst feel you're using any framework
@MarkStrus
@MarkStrus Жыл бұрын
I’ve been interested in echo due to its minimalism. Could you give me an example of the type of projects you use it for? Is it suitable for a CMS/API?
@ho-dg6zi
@ho-dg6zi 11 ай бұрын
@@MarkStrus We've been using it to a develop a fintech application
@ruslangabitov5202
@ruslangabitov5202 Жыл бұрын
Thanks for the video. We also use echo in production, but for business logic we use one more layer. And echo is used as transport layer. It gives us flexibility to use alternative transport such as GRPC instead of or simultaneously with the REST.
@manit77
@manit77 8 ай бұрын
Exactly you dont want the web context mixed in with your business logic.
@123mrfarid
@123mrfarid 10 ай бұрын
We use echo for some finance projects.. Very good doc, very simple and very fast
@anthonygg_
@anthonygg_ 10 ай бұрын
Perfect choice
@edzynda
@edzynda Жыл бұрын
I love echo. Also, Pocketbase is built on echo, so if you use it as a framework, you have a db, auth, email, file, and admin panel built in. So basically, Pocketbase is my favorite framework now.
@MarkStrus
@MarkStrus Жыл бұрын
Pocketbase is something I was looking at but there’s one thing I’m having trouble with which is creating repeater fields. I’m just not sure how to implement them and the project I’m building requires repeater fields in a few sections. I really like it for what it is though. Seems easy to work with and super simple to deploy.
@edzynda
@edzynda Жыл бұрын
@@MarkStrus You can probably just use the JSON or Relation field to do that.
@123mrfarid
@123mrfarid 10 ай бұрын
@edzynda pocketbase seems awesome. I think i will consider to use it if we can set permission/rules on column level not table level since it is too general
@simo_the_goat
@simo_the_goat 5 ай бұрын
Anthony you never disappoint you're the best :)
@flannn6
@flannn6 Жыл бұрын
i dont think it is worth using an entire web framework just because you dont want to handle errors. you can easily just make a wrapper for handling error then implementing your handlers bellow it. I would totally recommend a router tho. the problem with web frameworks is they usually lead to very bad architectures, to projects with bad dependency injection and people passing the framework context all the way to lower layers making the project very rigid.
@amorto3420
@amorto3420 5 ай бұрын
Thank you Anthony. I am learning a lot from you.
@shadowfaxenator
@shadowfaxenator Жыл бұрын
The main problem of fiber is that it doesn’t support request Context cancellation on client connection termination (for example when user closes a browser tab) this is very annoying when you connect to brokers from your API endpoints or make any other long running tasks (websockets, etc), btw context.Context of http.Request does cancel
@anthonygg_
@anthonygg_ Жыл бұрын
True
@themarksmith
@themarksmith Жыл бұрын
Really useful and interesting - thanks!
@mariobroselli3642
@mariobroselli3642 5 ай бұрын
I could not find any Go Framework that has a tag on job tensor.
@tsolanoff
@tsolanoff 9 ай бұрын
Reading comments gives a sense that ppl for some unclear reason confused Golang with JS 😂 Bringing 100 frameworks and arguing which is better.
@obinnajohnson1467
@obinnajohnson1467 Жыл бұрын
@Anthonygg what do you think of gin framework
@Programscape
@Programscape Жыл бұрын
Thanks for the video!)) Great as always)
@zinwaiyan6474
@zinwaiyan6474 11 ай бұрын
how about gin?
@Buiscit1738
@Buiscit1738 Жыл бұрын
leveled up!
@beratdurdag5165
@beratdurdag5165 Жыл бұрын
You are the best man thanks.
@dandogamer
@dandogamer Жыл бұрын
Been using go for 4 years, I've gone through fiber, gin, gorilla, echo and now chi. I still dont have a strong opinion on any of them apart from I think you should be using one of them over the default net/http. When I first started out I used fiber and that was easiest for me as I was coming from TS. Also if you are using chi I would recommend using their render package as it can help with returning errors and json easier
@anthonygg_
@anthonygg_ Жыл бұрын
Good feedback
@mojixcoder
@mojixcoder Жыл бұрын
The web framework that I’ve written is the best one in the world
@voidreact
@voidreact 7 ай бұрын
agreed, you have some badass code there
@mojixcoder
@mojixcoder 7 ай бұрын
😁😁
@giocaonguyen
@giocaonguyen 5 ай бұрын
Could you please give us some guide for API gateway? Can we have an API gateway but does not depend on any cloud service? (I am Front-end developer and learning Golang to build a personal project to practice)
@ThomasWSmith-wm5xn
@ThomasWSmith-wm5xn 2 ай бұрын
the answer is fiber.
@user-gc8wr5dp4k
@user-gc8wr5dp4k Жыл бұрын
Golang and graphql. What do you recommend?
@anthonygg_
@anthonygg_ Жыл бұрын
To be honest everything works if you are motivated
@subhendusahu3763
@subhendusahu3763 Жыл бұрын
What's your thoughts about chi? Btw very insightful videos.
@zayttoven
@zayttoven Жыл бұрын
Chi is a router, not a framework
@mrjvc
@mrjvc 4 ай бұрын
Excellent content! You're probably already aware, but it's hard to understand when you say words that end in "r". You are pronouncing it many times as "sh", so "error" and "here" come out as "errosh" and "heesh". Small note that hopefully is helpful. Once again, thanks for this, great info!
@zohaibakber3056
@zohaibakber3056 Жыл бұрын
Hey Anthony I saw your video where you were building a trading platform or something like that , I wanna get into trading industry or banking maybe as a software dev where should I start? Should I learn Java because most enterprise use it and please guide where to find these specific resources...
@SamSPostma
@SamSPostma Жыл бұрын
If you are interested in finance I think it is done mostly in C++. Definitely not java though
@anon3118
@anon3118 9 ай бұрын
Java is also used in some situations such as non-HFT
@computergeek3405
@computergeek3405 Жыл бұрын
I wanna join your discord channel, but link has expired. How do i join now?
@anthonygg_
@anthonygg_ Жыл бұрын
Hmm should work
@computergeek3405
@computergeek3405 Жыл бұрын
@@anthonygg_ my bad it worked now
@vickylance
@vickylance 5 ай бұрын
audio is a bit low
@dev-qq2vy
@dev-qq2vy 6 ай бұрын
I read source code of echo. It's smart and clear. I agree that echo is the best.
@vrg378
@vrg378 11 ай бұрын
What about gin?
@abcdefghjiklnmopqrstuvwxyz
@abcdefghjiklnmopqrstuvwxyz 6 ай бұрын
I thought that thumbnail was Johnny Sins 🤡
@anthonygg_
@anthonygg_ 6 ай бұрын
Stand in
@mdyousufgazi4030
@mdyousufgazi4030 11 ай бұрын
anyone know the name of the theme he use in vscode?
@mareczekdynamit9497
@mareczekdynamit9497 11 ай бұрын
probably gruvbox
@mdyousufgazi4030
@mdyousufgazi4030 11 ай бұрын
@@mareczekdynamit9497 thank you
@headlinerbeats
@headlinerbeats Жыл бұрын
Your videos volume always too low mate. Use a limiter
@anthonygg_
@anthonygg_ Жыл бұрын
😢
@renanbrayner984
@renanbrayner984 6 ай бұрын
the go comunitty seriously needs to stop using single letter variable names
@interstellar1873
@interstellar1873 Жыл бұрын
First💪🏼
@anthonygg_
@anthonygg_ Жыл бұрын
Og
@NguyenDuy-mj3wh
@NguyenDuy-mj3wh Жыл бұрын
how about weavebox
@anthonygg_
@anthonygg_ Жыл бұрын
Whahaha Not sure about that 😅
@adilfarq3784
@adilfarq3784 11 ай бұрын
@anthonygg_ Is it DSA must to study for golang 😁
How I Structure New Projects In Golang
21:32
Anthony GG
Рет қаралды 59 М.
Is Fiber the best Go web framework? Better than Gin?
21:07
Coding with Robby
Рет қаралды 39 М.
So Cute 🥰
00:17
dednahype
Рет қаралды 60 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 126 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 96 МЛН
Introducing The GoTTH Stack - Go, Tailwind CSS, Templ & HTMX
28:29
Why I'm learning Go
21:35
Web Dev Cody
Рет қаралды 65 М.
Golang's Mocking Techniques - Kyle Yost | hatchpad Huddle
41:20
A Beautiful Way To Deal With ERRORS in Golang HTTP Handlers
8:42
How To Use The Context Package In Golang?
17:03
Anthony GG
Рет қаралды 61 М.
Why HTMX and Golang? The answer might surprise you...
12:04
Flo Woelki
Рет қаралды 10 М.
This Will Make Everyone Understand Golang Interfaces
21:03
Anthony GG
Рет қаралды 51 М.
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 109 М.
The Best Programmer I Know • Daniel Terhorst-North • GOTO 2024
48:33
GOTO Conferences
Рет қаралды 46 М.
So Cute 🥰
00:17
dednahype
Рет қаралды 60 МЛН