► 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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@hedgehogform agreed! The underlying http implementation gets criticised too. But in reality there are no issues behind a reverse proxy.
@tsolanoff9 ай бұрын
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.
@xtremebh7 ай бұрын
Is Better than Laravel? I not talking about performance, but organization, features, and etc.
@jex88857 ай бұрын
@@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
We use echo on production and i think its really good. Is minimal and just doenst feel you're using any framework
@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-dg6zi11 ай бұрын
@@MarkStrus We've been using it to a develop a fintech application
@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.
@manit778 ай бұрын
Exactly you dont want the web context mixed in with your business logic.
@123mrfarid10 ай бұрын
We use echo for some finance projects.. Very good doc, very simple and very fast
@anthonygg_10 ай бұрын
Perfect choice
@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 Жыл бұрын
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 Жыл бұрын
@@MarkStrus You can probably just use the JSON or Relation field to do that.
@123mrfarid10 ай бұрын
@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_goat5 ай бұрын
Anthony you never disappoint you're the best :)
@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.
@amorto34205 ай бұрын
Thank you Anthony. I am learning a lot from you.
@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_ Жыл бұрын
True
@themarksmith Жыл бұрын
Really useful and interesting - thanks!
@mariobroselli36425 ай бұрын
I could not find any Go Framework that has a tag on job tensor.
@tsolanoff9 ай бұрын
Reading comments gives a sense that ppl for some unclear reason confused Golang with JS 😂 Bringing 100 frameworks and arguing which is better.
@obinnajohnson1467 Жыл бұрын
@Anthonygg what do you think of gin framework
@Programscape Жыл бұрын
Thanks for the video!)) Great as always)
@zinwaiyan647411 ай бұрын
how about gin?
@Buiscit1738 Жыл бұрын
leveled up!
@beratdurdag5165 Жыл бұрын
You are the best man thanks.
@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_ Жыл бұрын
Good feedback
@mojixcoder Жыл бұрын
The web framework that I’ve written is the best one in the world
@voidreact7 ай бұрын
agreed, you have some badass code there
@mojixcoder7 ай бұрын
😁😁
@giocaonguyen5 ай бұрын
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-wm5xn2 ай бұрын
the answer is fiber.
@user-gc8wr5dp4k Жыл бұрын
Golang and graphql. What do you recommend?
@anthonygg_ Жыл бұрын
To be honest everything works if you are motivated
@subhendusahu3763 Жыл бұрын
What's your thoughts about chi? Btw very insightful videos.
@zayttoven Жыл бұрын
Chi is a router, not a framework
@mrjvc4 ай бұрын
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 Жыл бұрын
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 Жыл бұрын
If you are interested in finance I think it is done mostly in C++. Definitely not java though
@anon31189 ай бұрын
Java is also used in some situations such as non-HFT
@computergeek3405 Жыл бұрын
I wanna join your discord channel, but link has expired. How do i join now?
@anthonygg_ Жыл бұрын
Hmm should work
@computergeek3405 Жыл бұрын
@@anthonygg_ my bad it worked now
@vickylance5 ай бұрын
audio is a bit low
@dev-qq2vy6 ай бұрын
I read source code of echo. It's smart and clear. I agree that echo is the best.
@vrg37811 ай бұрын
What about gin?
@abcdefghjiklnmopqrstuvwxyz6 ай бұрын
I thought that thumbnail was Johnny Sins 🤡
@anthonygg_6 ай бұрын
Stand in
@mdyousufgazi403011 ай бұрын
anyone know the name of the theme he use in vscode?
@mareczekdynamit949711 ай бұрын
probably gruvbox
@mdyousufgazi403011 ай бұрын
@@mareczekdynamit9497 thank you
@headlinerbeats Жыл бұрын
Your videos volume always too low mate. Use a limiter
@anthonygg_ Жыл бұрын
😢
@renanbrayner9846 ай бұрын
the go comunitty seriously needs to stop using single letter variable names