I'm new to web development and I'm currently trying to narrow down my options for backend frameworks. I have heard a lot about PHP and FastAPI, but I'm finding it hard to decide which one to choose.
On one hand, I've heard that PHP is one of the most widely used and popular backend languages. It has been around for a long time and has a large community and ecosystem. Also, many popular websites like Facebook and WordPress are built using PHP. The abundance of resources and tutorials for PHP is definitely appealing to me as a beginner.
On the other hand, FastAPI seems to be gaining a lot of attention lately. I've heard that it is great for building high-performance web applications and APIs. Additionally, it is based on Python, which is a language I already have some familiarity with. I've read that FastAPI provides features like automatic API documentation generation and fast response times, which sounds really cool.
My main concerns are ease of learning, community support, performance, and the ability to build modern and scalable applications. I want to choose a framework that will not only allow me to build my current project effectively but also provide room for growth in the future.
So, based on my context, what are your thoughts on PHP and FastAPI? Which framework would you recommend for a beginner like me? I'd love to hear about your personal experiences, the pros and cons of each, and any other insights you may have.
Thanks in advance for your help!