I started fastapi and stopped months ago. Now it's time to start over because it's explained by one of the best masters on the net. Thank you for all mate 🙌. Always a pleasure to wacth your videos.
In the current video about alpinejs you convert data from SQL to json for frontend filtering. Could you explain what's the best approach when such lists are huge? Is it still appropriate to filter in frontend or is there a better way? How to decide where the sort/filtering happens (frontend/alpinejs vs backend/fastAPI/sql ) thx and your explanations are a great help and didactically the best.
Thank you. You pose a good question - I will try to address this in a future post. Generally, it's best to do filtering of huge amounts of data on the backend, rather than sending all that data to the frontend/client. Combined with a backend cache (such as Redis) you can optimize the way this filtering would work. I'll try and do something on this soon though!
Your videos are clear and to the point.👍Keep up the good work!! Does SQLModel simplify database integration as opposed to using SQLAlchemy directly?? In other words, does it produce cleaner code?
Thank you! SQLModel is cleaner when using it with FastAPI, in my opinion. It fits better with the FastAPI approach. The querying syntax remains similar though.
I started fastapi and stopped months ago. Now it's time to start over because it's explained by one of the best masters on the net. Thank you for all mate 🙌. Always a pleasure to wacth your videos.
Thanks very much mate, much appreciated!!
Thanks for this series of videos. Really appreciate the clear explanations and references back to the documentation.
Thanks a lot, appreciate the comment. Any other requests for FastAPI stuff, just let me know! I'm hoping to do more soon.
ur very precise in ur explanations lol I really hope u get the recognition u deserve because the quality of the videos is mad fire dawg
Haha wow - thanks a lot! Much appreciated :)
In the current video about alpinejs you convert data from SQL to json for frontend filtering. Could you explain what's the best approach when such lists are huge? Is it still appropriate to filter in frontend or is there a better way? How to decide where the sort/filtering happens (frontend/alpinejs vs backend/fastAPI/sql ) thx and your explanations are a great help and didactically the best.
Thank you. You pose a good question - I will try to address this in a future post. Generally, it's best to do filtering of huge amounts of data on the backend, rather than sending all that data to the frontend/client. Combined with a backend cache (such as Redis) you can optimize the way this filtering would work. I'll try and do something on this soon though!
Great, Learning a lot
Thanks!
Another perfect video. Thanks a lot for providing them, really appreciated. Looking forward to see more content with the time.
Thanks very much, appreciate it!
Great video... Is there any difference when using async functions?
thank you for sharing this.
you are welcome!
i just leave a comment here to help the channel with the promotion =)
Thank you very much!
Thank you so much!
you're welcome!
@BugBytes can we see an example of GET route returning results from two joined tables?
I'll try and do some more follow-up videos with JOINs
Your videos are clear and to the point.👍Keep up the good work!! Does SQLModel simplify database integration as opposed to using SQLAlchemy directly?? In other words, does it produce cleaner code?
Thank you!
SQLModel is cleaner when using it with FastAPI, in my opinion. It fits better with the FastAPI approach. The querying syntax remains similar though.
you are the best
Thanks Vitor! 👍
Would HTMX be something that would be easy to implement as a front end with FastAPI?
It's quite easy to do this, you might wanna check out this video where I combined HTML and HTMX with FastAPI:
th-cam.com/video/yu0TbJ2BQso/w-d-xo.html
Has anyone used this in production?
I can not find the github repo. Could you share the link please?
forget it. I found it. I didnt put attention at the begining of the video. Congratulations my friend. It is too useful :)
Thanks a lot, glad to hear that! :)