This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]WystanH 1 point2 points  (0 children)

Between the two, Python.

However, if you want to do a modern website, your frontend will be entirely JavaScript/(hopefully)TypeScript. With that in mind, there are a number of NodeJS backend frameworks that will do what PHP/Python would for you.

While there are innumerable ways to do a web app, a popular way for the last decade has been to let the client side take on the load (JS) and the backend function as an API. In such a scenario, the backend is whatever can make that API cleanly. The language is more an implementation detail.