#Xitca-Web Documentation

15 messages · Page 1 of 1 (latest)

tall wedge
#

This is more so me trying to gather some more information rather than actually asking for help, sorry if this doesn't seem like actual help but this would definitely be helpful for me since I'm a beginner to this.

I'm a former full-stack developer in Javascript and I've started learning web-assembly along with Rust around a few months ago. And I came across Xitca-Web being a really really safe and fast option for backend (as opposed to Rocket). I'm wondering if anyone else has had experience with Xitca-Web before because there's a complete lack of documentation and I really like this framework over other Rust backends. If you have any experiences or anything that you found interesting with Xitca-Web, please share. 🙏

karmic dirge
tall wedge
karmic dirge
#

Can you specify what part you find complicated? Like is it routhing, route handler functions, middlewares or something else?

tall wedge
karmic dirge
#

You can find explaination for middlewares in this section: https://docs.rs/xitca-web/0.6.2/xitca_web/middleware/index.html
The overall easy way to implement middleware is with enclosed_fn(your_async_function) like the quick start show.
For database you can use crates like diesel or sqlx. xitca-web does not includes database interface currently.

tall wedge
karmic dirge
#

No it doesn't. It's a micro framework with no battery included. You have to bring your choice of crates to expand on it. In general it's very similar to actix-web and axum but with even less features included.

#

If you need a battery include framework Rocket could be your only realistic choice currently in Rust

tall wedge
#

Okay, thanks!

#

Do you personally have any experiences working with Xitca-Web by any chance?

karmic dirge
#

yes I'm the maintainer of it and I use it in various projects I work with.

tall wedge
#

You're one of the contributors for it?

karmic dirge
#

Yes you can say that

tall wedge
#

Okay