Crates.io | webframework |
lib.rs | webframework |
version | 0.0.2 |
source | src |
created_at | 2018-11-19 12:22:37.34086 |
updated_at | 2018-12-06 10:29:07.573809 |
description | An extensible webframework, its main purpose is to be: safe, fun, fast. |
homepage | https://github.com/webframework-rs/webframework |
repository | https://github.com/webframework-rs/webframework |
max_upload_size | |
id | 97598 |
size | 20,962 |
Webframework
is born from a simple idea: Make developing with it fun!
To achieve this it tries to maximize these concepts:
And tries to minimize these:
Of course, it is not possible to create a perfect framework in this situation, but we try to get as close as possible.
Webframework is heavily opinionated, you are free to open an issue if you wish to discuss a decision that has been made, but I hope you can understand that not every proposition can or should be implemented.
This framework is heavily inspired by the "Ruby on Rails" feeling. It however does not try to be a carbon copy or even be feature complete out of the box. However the core concepts of the whole project are something that should resonate here as well.
If you are looking for the documentation you can check that out here: Documentation. There you will find a tutorial, alternatively you can look at the examples to see how it could be used.
The Webframework tries to make routing as easy as possible. To specify a single 'Routing Entry' one has to specify three things:
When a request is sent to the Webframework, it first checks whether it matches the path and passes all the restrictions. Only then is it passed to the next router or controller.
This means that routing can be seen as a tree of routing paths. Each leaf is a controller, and all nodes inbetween are router.
If you wish to contribute to the project you can do so by checking the issues, answering those that have questions, implementing a new feature or by writing some more documentation.
Currently the Webframework is still in its inception stage, however here are the next 'big' milestones it needs in the near future: