Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starlette's scope #3

Closed
jordaneremieff opened this issue Jun 25, 2018 · 3 comments
Closed

Starlette's scope #3

jordaneremieff opened this issue Jun 25, 2018 · 3 comments

Comments

@jordaneremieff
Copy link
Contributor

I am very interested in contributing to some common middleware for ASGI, and this seems like it is the perfect place to do that, however I have a few questions about how much Starlette is aiming to achieve:

How much functionality will this project implement?

How much functionality does it intend to leave up to particular frameworks?

Will it potentially become a more traditional framework itself, or is the intention to remain a small library?

@tomchristie
Copy link
Member

tomchristie commented Jun 25, 2018

The set of stuff that it makes sense to provide for here is ~anything that is composable.

Would be in scope:

  • A routing middleware, where each target is itself an ASGI app.

Would not be in scope:

  • An application instance that configures templates, parsers, renders etc...

Think along similar lines to werkzeug for scope.

@tomchristie
Copy link
Member

Okay, so there's a bit of an case-in-point in #5

It adds a router, but doesn't include anything like Django's "reverse()".

Instead, I think it should stick with simple, composible units, that make it easy to glue things together, and that also serve as a reference point for how to build more fully featured equivalents.

@jordaneremieff
Copy link
Contributor Author

Ah yes, that clears things up nicely. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants