top | item 39449087

(no title)

mplemay | 2 years ago

Congrats on the launch!

Just today, I started exploring the current web development ecosystem in Python. As a long-time Python developer, it is amazing to see all the recent work that has gone into making the web accessible to more than just JavaScript developers.

Despite seeing all these amazing new approaches (e.g., Reflex, Streamlit, and now this), I can't help but think there is still a need to rely on "more mature tech" (though this gap is closing) to make non-trivial websites in Python (and in general). After surveying the Python (and JavaScript) ecosystem, I personally decided that a simple stack consisting of FastAPI, Pydantic, SQLAlchemy, Jinja2, Tailwind CSS, and HTMX would be the fastest approach to build a non-trivial app using Python.

With that being said, I will definitely circle back around in a month or so to see how things have progressed. I wish you all the best in making Python a contender for the next generation of web development.

discuss

order

reidjs|2 years ago

I am trying out a new stack I’m coining “SLAP” for small web apps.

SQLite, Linux, Apache/Nginx, PHP

It’s reminiscent of LAMP, so it’s very easy and cheap to deploy and maintain. I do wish the P stood for python instead of php, but Nginx integrates so well with php and doesn’t require a long running process like PM2 (nodejs) or Gunicorn.

rougemine|2 years ago

Well unless you use a less traditional setup such as FrankenPHP, in order to run PHP behind a Nginx server you still need a long running process for PHP-FPM, if I'm not wrong? :-)

mondrian|2 years ago

Thanks! In general I'm a big fan of choosing the right tool/stack for the job, and for the developer's natural disposition, and I'm a fan of your choice of stack.