jeni-python icon indicating copy to clipboard operation
jeni-python copied to clipboard

Maybe rewrite the README elevator pitch?

Open togakangaroo opened this issue 5 years ago • 2 comments

I read this

jeni lets developers build applications and not e.g. web applications.

and honestly had no clue whatsoever what it meant. In fact on first read, I thought the emphasis was on "developers" and it was some sort of weird put down against web developers as not building real applications? It's just confusing and not really a functional sentence.

From reading down a bit, this seems to be an inversion of control system for python. Yay! Just that one sentence really threw me off.

togakangaroo avatar Jun 24 '19 03:06 togakangaroo

Somehow I don't see a notification for this issue. Apologies for letting this lapse.

This is good feedback. Indeed, jeni provides dependency injection and inversion of control for Python.

I'll provide some background, for what it's worth. The name partly originates as an anagram of the first four letters of "injector" as this was a centerpiece to the design, the Injector. Looking back, I probably wrote this "applications" bit that you reference back when I has having view function fatigue. Too much functionality in a web project gets stuffed into request handlers. Much of this has been influenced by the monolithic request object found in most Python frameworks. The request object exists for good reason, but back when I started writing jeni, there weren't many alternative request dispatch patterns in Python web development.

That, and globals/thread-locals are easily overused.

The project has seen a lot of production use, and overall I'm satisfied with its design. However, I haven't been active with jeni for some time, as I've been increasingly working outside Python since publishing this. I would just as soon mark this project as "archived" on GitHub, and if the ideas are useful, perhaps a fork could live on.

rduplain avatar Feb 20 '20 02:02 rduplain

Archiving this project as no further development is planned.

rduplain avatar Feb 20 '20 19:02 rduplain