Django and Postgres for the Busy Rails Developer

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. ruby_ui

    Ruby gem for RubyUI Components

    A bit off topic, but whenever Rails and templating get brought up, I have to plug my absolute favorite project out there: [Phlex](https://beta.phlex.fun/). It's like ViewComponents, but swap out the ERB for pure Ruby. It has been a joy to develop with.

    With the addition of Phlex::Kit, it has made building out a component library pretty easy too. [RubyUI](https://github.com/ruby-ui/ruby_ui) does a great job of showing off how to do this.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. phlex

    A framework for building object-oriented views in Ruby.

    A bit off topic, but whenever Rails and templating get brought up, I have to plug my absolute favorite project out there: [Phlex](https://beta.phlex.fun/). It's like ViewComponents, but swap out the ERB for pure Ruby. It has been a joy to develop with.

    With the addition of Phlex::Kit, it has made building out a component library pretty easy too. [RubyUI](https://github.com/ruby-ui/ruby_ui) does a great job of showing off how to do this.

  4. Zulip

    Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

    Zulip does this: https://github.com/zulip/zulip/blob/main/zerver/models/__ini...

    Zulip in general is a great example of a large open source Django app that's been maintained and actively developed for a long time. I use it as a reference quite a lot.

  5. django-cotton

    Enabling Modern UI Composition in Django

    I saw someone mention reactived but there's also https://github.com/wrabit/django-cotton

  6. htmy

    Async, pure-Python rendering engine.

    I use htpy and it's great. There are others like htmy[0] too.

    The problem with templates in general is you can write malformed HTML in them. The nice thing about htpy et al is you simply can't do that. I feel like what we really want is JSX in Python, where you can write XML-like syntax and it's converted into Python at import time.

    [0] https://volfpeter.github.io/htmy/

  7. solargraph

    A Ruby language server.

  8. ripper-tags

    fast, accurate ctags generator for ruby source code using Ripper

  9. liveviews

    Phoenix LiveView workalikes for different languages and frameworks

    It can, just needs to be built. I'm thinking of something that can both compile to WASM AND be somewhat like Phoenix Liveview.

    Looks like there's some attempts for Phoenix Liveview for Python.

    https://github.com/liveviews/liveviews?tab=readme-ov-file#py...

  10. tortoise-orm

    Familiar asyncio ORM for python, built with relations in mind

    Wouldn't know. However, some standalone projects are attempting to replicate the same experience, check Tortoise ORM - https://github.com/tortoise/tortoise-orm.

  11. pyxl

    A Python extension for writing structured and reusable inline HTML.

    PEP 750 started its life in part as a result of learnings from pyxl [0], which used some clever hacks to add a JSX-like syntax to Python.

    In the end, my instinct is that t-strings are the better more generic feature to add to the language itself today.

    That said, I'd love to see the Python ecosystem get to the point where it's relatively easy to implement transpilers and to get them integrated with key tools (colorizers, formatters, linters, type checkers, etc). After that: let a thousand JSX-likes bloom.

    [0] https://github.com/dropbox/pyxl

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Piccolo ORM – A powerful async ORM for Python

    1 project | news.ycombinator.com | 20 Nov 2024
  • FastAPI, Pydantic, Psycopg3: the holy trinity for Python web APIs

    13 projects | dev.to | 24 Oct 2024
  • asyncer VS asyncutor - a user suggested alternative

    2 projects | 11 Jul 2024
  • Reverse-engineered Shazam audio signature generator

    1 project | news.ycombinator.com | 20 May 2024
  • Piccolo, a Lightweight and Async Pydantic V2 Python ORM

    1 project | news.ycombinator.com | 7 Nov 2023

Did you know that Python is
the 2nd most popular programming language
based on number of references?