Peter Bierma

Results 88 issues of Peter Bierma

Waiting on #9, probably. Should probably support SQLite first. Hypothetical API: ```py @model() class User: name: str password: Hashed[str] id: Id[int] = auto_increment() @post("/signup") @body("data", User) async def signup(data: User):...

feature
complex
api

Even if we did have more parsers (we don't as of now, see #13), we don't have any functionality for actually using them on the server side. This shouldn't be...

improvement
complex
c api

As of now, view.py only has a built in parser for JSON, which isn't suitable for everyone's needs. Supporting as many parsers as possible would be good.

improvement
api

Would be nice to support the default HTML form system for a nicer developer experience. #9 Should probably get finished before this, though. Hypothetical syntax: ```py @get("/") async def my_page():...

feature
complex
c api
delayed

Should hopefully have this API for the end user: ```py @socket("/ws") async def my_socket(): message = (yield) yield {"message": "sent through websocket"} return "hi" # sends this message and closes...

feature
advanced
c api
api

Should look like this: ```py from view import new_app app = new_app() app.static("/hello", path="/files") # will use the route path by default (i.e. /hello in this context) ```

feature
api
delayed

The user should be able to write tests for their view app, like so: ```py @app.get("/") async def index(): ... @index.test("my test name") # could also be left blank, like...

feature
api
cli

### Feature description A live reload feature similar to other web frameworks to make development much easier. ### Feature example API ``` $ view dev ``` ### Anything else? _No...

feature
cli

### Feature description To support or help people migrate from other libraries, view.py should introduce routers. These should be quite easy to implement, and the loader should take care of...

good first issue
feature
api

### Feature description On top of the current component API, a layout system should be implemented. This will be waiting on #12, #83, and #44. ### Feature example API ```py...

improvement
api