skip to Main Content

I’m building an application on AWS and well, this world is new to me.

I expose the problem

I have experience with Apache / PHP, Apache is the one who helps me serve HTTP requests and PHP is the language of Backend.

The backend language that I am using in this new project is Python, but my question is, what is the technology that helps me serve the requests?

Can I install Apache / Python, or what would be the perfect duo?

I know this can have many variants depending on each experience and needs of the project, but honestly I am lost in what to install and what not.

Thanks for your guidance

2

Answers


  1. I would recommend to look at uWSGI:

    mod_wsgi for Apache:

    For simple pages you still have CGI:

    There exists also mod_python for Apache, but it isn’t modern way to embed Python interpreter within the webserver (don’t use it, here only for information purposes!).

    Login or Signup to reply.
  2. Your best course of action if just learning how to do web programming in Python is to not worry about how you host it. Start out with one of the major Python web frameworks and work through their tutorials. The best options are:

    They will explain the basics of building your web application. They use a development server to host your application. Only once you understand programming basics, then worry about a production grade web server.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search