Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
11–20 of 75 posts
Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#12Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#13I actually really love the restrictions on fairings. I'm working on a project right now that uses Node.js with Express, and there are all of these pieces of middleware that won't compose at all, and I often find myself ripping things out and putting them in new functions. By having clear delineations between fairings, request guards, and data guards, I think you can really avoid making a lot of design mistakes. I'm g…
Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#14I actually really love the restrictions on fairings. I'm working on a project right now that uses Node.js with Express, and there are all of these pieces of middleware that won't compose at all, and I often find myself ripping things out and putting them in new functions. By having clear delineations between fairings, request guards, and data guards, I think you can really avoid making a lot of design mistakes. I'm g…
(Rocket also depends on a few other nightly only features. Things will likely change in the future once the Macro stuff stabilizes though)
There is also the matter of compiler plugins... which may never land in stable.
Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#15I actually really love the restrictions on fairings. I'm working on a project right now that uses Node.js with Express, and there are all of these pieces of middleware that won't compose at all, and I often find myself ripping things out and putting them in new functions. By having clear delineations between fairings, request guards, and data guards, I think you can really avoid making a lot of design mistakes. I'm g…
Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#16Earlier quoted context omitted.
Rails had encrypted cookies for ages
I think wyldfire was referring to the part about generating a new key on launch. Of course, Rails might do that too, for all I know.
It's just a convenience feature for development.
Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#17I actually really love the restrictions on fairings. I'm working on a project right now that uses Node.js with Express, and there are all of these pieces of middleware that won't compose at all, and I often find myself ripping things out and putting them in new functions. By having clear delineations between fairings, request guards, and data guards, I think you can really avoid making a lot of design mistakes. I'm g…
Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#18Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#19I actually really love the restrictions on fairings. I'm working on a project right now that uses Node.js with Express, and there are all of these pieces of middleware that won't compose at all, and I often find myself ripping things out and putting them in new functions. By having clear delineations between fairings, request guards, and data guards, I think you can really avoid making a lot of design mistakes. I'm g…
I often joke that Rocket deliberately uses every single unstable feature solely to stymie the Rust developers' attempt to prioritize which features to stabilize. :P I'm kidding of course (hi, sbenitez!), but it's true that I've never seen any Rust project so taken with nightly features as Rocket is.
Re: Rocket, Rust Web Framework, v0.3: Fairings, TLS, Private Cookies
#20I don't have any experience in Rust. From what I read, Rust is a low level / system programming language. Comparing to dynamic languages like Python, I understand that Rust is much faster. However, Python is fast enough for most web applications. So why should I use Rust in web development? Even if the library ecosystem were mature enough, could I expect my productivity could become nearly high as in Python?