What Is THE BEST Web Framework In Golang? Why?

  Рет қаралды 39,942

Anthony GG

Anthony GG

10 ай бұрын

► Join my Discord community for free education 👉 / discord
► Exclusive Lessons, Mentorship, And Videos 👉 / anthonygg_
► Enjoy a 50% Discount on My Golang Course 👉 fulltimegodev.com
► Learn how I became a self-taught software engineer 👉fulltimegodev.com/#mystory
► Follow me on Twitter 👉 / anthdm
► Follow me on GitHub 👉 github.com/anthdm
SUBSCRIBE OR NO MARGARITAS
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

Пікірлер: 71
@anthonygg_
@anthonygg_ 10 ай бұрын
► 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 10 ай бұрын
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 10 ай бұрын
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 10 ай бұрын
@@hedgehogform agreed! The underlying http implementation gets criticised too. But in reality there are no issues behind a reverse proxy.
@tsolanoff
@tsolanoff 7 ай бұрын
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 5 ай бұрын
Is Better than Laravel? I not talking about performance, but organization, features, and etc.
@jex8885
@jex8885 5 ай бұрын
​@@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 10 ай бұрын
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 10 ай бұрын
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.
@ruslangabitov5202
@ruslangabitov5202 10 ай бұрын
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 6 ай бұрын
Exactly you dont want the web context mixed in with your business logic.
@user-bh8xz4xy7o
@user-bh8xz4xy7o 10 ай бұрын
Thanks for the video!)) Great as always)
@themarksmith
@themarksmith 10 ай бұрын
Really useful and interesting - thanks!
@ho-dg6zi
@ho-dg6zi 10 ай бұрын
We use echo on production and i think its really good. Is minimal and just doenst feel you're using any framework
@MarkStrus
@MarkStrus 10 ай бұрын
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 9 ай бұрын
@@MarkStrus We've been using it to a develop a fintech application
@simo_the_goat
@simo_the_goat 3 ай бұрын
Anthony you never disappoint you're the best :)
@123mrfarid
@123mrfarid 8 ай бұрын
We use echo for some finance projects.. Very good doc, very simple and very fast
@anthonygg_
@anthonygg_ 8 ай бұрын
Perfect choice
@amorto3420
@amorto3420 3 ай бұрын
Thank you Anthony. I am learning a lot from you.
@obinnajohnson1467
@obinnajohnson1467 10 ай бұрын
@Anthonygg what do you think of gin framework
@mariobroselli3642
@mariobroselli3642 3 ай бұрын
I could not find any Go Framework that has a tag on job tensor.
@beratdurdag5165
@beratdurdag5165 10 ай бұрын
You are the best man thanks.
@Buiscit1738
@Buiscit1738 10 ай бұрын
leveled up!
@shadowfaxenator
@shadowfaxenator 10 ай бұрын
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_ 10 ай бұрын
True
@edzynda
@edzynda 10 ай бұрын
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 10 ай бұрын
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 10 ай бұрын
@@MarkStrus You can probably just use the JSON or Relation field to do that.
@123mrfarid
@123mrfarid 8 ай бұрын
@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
@flannn6
@flannn6 10 ай бұрын
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.
@zohaibakber3056
@zohaibakber3056 10 ай бұрын
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 9 ай бұрын
If you are interested in finance I think it is done mostly in C++. Definitely not java though
@anon3118
@anon3118 7 ай бұрын
Java is also used in some situations such as non-HFT
@user-gc8wr5dp4k
@user-gc8wr5dp4k 10 ай бұрын
Golang and graphql. What do you recommend?
@anthonygg_
@anthonygg_ 10 ай бұрын
To be honest everything works if you are motivated
@giocaonguyen
@giocaonguyen 3 ай бұрын
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)
@zinwaiyan6474
@zinwaiyan6474 9 ай бұрын
how about gin?
@computergeek3405
@computergeek3405 10 ай бұрын
I wanna join your discord channel, but link has expired. How do i join now?
@anthonygg_
@anthonygg_ 10 ай бұрын
Hmm should work
@computergeek3405
@computergeek3405 10 ай бұрын
@@anthonygg_ my bad it worked now
@tsolanoff
@tsolanoff 7 ай бұрын
Reading comments gives a sense that ppl for some unclear reason confused Golang with JS 😂 Bringing 100 frameworks and arguing which is better.
@vrg378
@vrg378 9 ай бұрын
What about gin?
@mdyousufgazi4030
@mdyousufgazi4030 9 ай бұрын
anyone know the name of the theme he use in vscode?
@mareczekdynamit9497
@mareczekdynamit9497 9 ай бұрын
probably gruvbox
@mdyousufgazi4030
@mdyousufgazi4030 9 ай бұрын
@@mareczekdynamit9497 thank you
@vickylance
@vickylance 3 ай бұрын
audio is a bit low
@subhendusahu3763
@subhendusahu3763 10 ай бұрын
What's your thoughts about chi? Btw very insightful videos.
@zayttoven
@zayttoven 10 ай бұрын
Chi is a router, not a framework
@mojixcoder
@mojixcoder 10 ай бұрын
The web framework that I’ve written is the best one in the world
@voidreact
@voidreact 5 ай бұрын
agreed, you have some badass code there
@mojixcoder
@mojixcoder 5 ай бұрын
😁😁
@ThomasWSmith-wm5xn
@ThomasWSmith-wm5xn 14 күн бұрын
the answer is fiber.
@headlinerbeats
@headlinerbeats 10 ай бұрын
Your videos volume always too low mate. Use a limiter
@anthonygg_
@anthonygg_ 10 ай бұрын
😢
@abcdefghjiklnmopqrstuvwxyz
@abcdefghjiklnmopqrstuvwxyz 4 ай бұрын
I thought that thumbnail was Johnny Sins 🤡
@anthonygg_
@anthonygg_ 4 ай бұрын
Stand in
@mrjvc
@mrjvc 2 ай бұрын
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!
@interstellar1873
@interstellar1873 10 ай бұрын
First💪🏼
@anthonygg_
@anthonygg_ 10 ай бұрын
Og
@dev-qq2vy
@dev-qq2vy 3 ай бұрын
I read source code of echo. It's smart and clear. I agree that echo is the best.
@renanbrayner984
@renanbrayner984 4 ай бұрын
the go comunitty seriously needs to stop using single letter variable names
@dandogamer
@dandogamer 10 ай бұрын
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_ 10 ай бұрын
Good feedback
@adilfarq3784
@adilfarq3784 9 ай бұрын
@anthonygg_ Is it DSA must to study for golang 😁
@NguyenDuy-mj3wh
@NguyenDuy-mj3wh 10 ай бұрын
how about weavebox
@anthonygg_
@anthonygg_ 10 ай бұрын
Whahaha Not sure about that 😅
How I Structure New Projects In Golang
21:32
Anthony GG
Рет қаралды 53 М.
This Will Make Everyone Understand Golang Interfaces
21:03
Anthony GG
Рет қаралды 46 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 54 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 162 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 154 МЛН
Why HTMX and Golang? The answer might surprise you...
12:04
Flo Woelki
Рет қаралды 4,3 М.
Golang Channels Or Wait Groups? Let Me Explain.
18:32
Anthony GG
Рет қаралды 19 М.
Is Fiber the best Go web framework? Better than Gin?
21:07
Coding with Robby
Рет қаралды 37 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 250 М.
The TRUTH About Golang Backend Frameworks
6:31
Melkey
Рет қаралды 106 М.
Is TypeScript (NodeJS) Faster than Go?? |  A server comparison
9:54
ThePrimeagen
Рет қаралды 215 М.
HTML Templates Instead Of Reactivity | Prime Reacts
12:42
ThePrimeTime
Рет қаралды 110 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,5 МЛН
Don't Make this Golang Beginner Mistake!
8:57
Anthony GG
Рет қаралды 20 М.
What can you build in Golang?!
11:10
Golang Dojo
Рет қаралды 162 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 54 МЛН