Re:Rust on Nails: A full stack architecture for Rust web app...
by turnsout on Wednesday April 13, 2022 @05:45PM
(#31020694)
Hopefully someone rolls this into a framework, not just a pattern/architecture. The beautiful promise of Rails is "convention over configuration." In contrast, the workflow in the post involves a heavy degree of configuration and customization.
Re:Rust on Nails: A full stack architecture for Rust web app...
by legalcorrection on Wednesday April 13, 2022 @04:37PM
(#31019928)
Interesting question whether this violates the Ruby on Rails trademark. When someone made a clothing company called The South Butt, The North Face sued and had a pretty decent case. They settled so no court decision, but seems analogous.
Re:Rust on Nails: A full stack architecture for Rust web app...
by legalcorrection on Wednesday April 13, 2022 @08:55PM
(#31022198)
Risk of confusion is the overall standard but that doesn't always mean what you think it does. In a case where it's two products competing in the same market (i.e. two web frameworks, assuming that someone develops this into an actual framework), similarity of the marks is usually enough to establish risk of confusion.
And generally, risk of confusion doesn't just mean that people will literally confuse the two products as identical. It's also about the risk that someone would think there is an affiliation or other connection between the two products.
Finally, this would not be trade dress. It's about similarity of the product name, so just a plain trademark.
Re:Rust on Nails: A full stack architecture for Rust web app...
by radicalriddler on Wednesday April 13, 2022 @10:04PM
(#31022645)
This is a pretty cool article for web stuff in Rust, definitely getting more in depth than what I know of Rust and Rust Web stuff.
I would like to see something in this article to address the > 1 second index.html response time that the cloak website seems to have. Are there caching options for views?
Re:Rust on Nails: A full stack architecture for Rust web app...
by Valodim on Thursday April 14, 2022 @03:46AM
(#31024340)
Maybe I'm missing it, but there seems to be no mention of i18n. That's a pretty integral part of any kind of serious website or one that might become one, but it's for some reason often just skipped.
Re:Rust on Nails: A full stack architecture for Rust web app...
by lionside on Wednesday April 13, 2022 @10:27PM
(#31022813)
Haha love the name. Sad to see it’s not an actual framework. For those looking for something more akin to a framework, try create-rust-app [1]. I plan to add a templating plugin soon!
Re:Rust on Nails: A full stack architecture for Rust web app...
by waf on Wednesday April 13, 2022 @10:24PM
(#31022782)
I'd love to see an additional section on unit testing -- if we wanted to write some assertions on our async http handler that queries the database, what would that look like? Would we need to structure the code differently in order to test it?
Re:Rust on Nails: A full stack architecture for Rust web app...
by danappelxx on Wednesday April 13, 2022 @03:59PM
(#31019516)
It looks like the article describes a series of conventions for Nails projects to follow, and I think that still provides value. If it was packaged up for you (or even a template), would it be missing any functionality you would expect from a framework?
so what's lacking? i'd say it already beyond rails 1.0 :)
I'd argue that the "pattern/architecture looking frameworks" show a higher degree of loose couple and are thus better.
And generally, risk of confusion doesn't just mean that people will literally confuse the two products as identical. It's also about the risk that someone would think there is an affiliation or other connection between the two products.
Finally, this would not be trade dress. It's about similarity of the product name, so just a plain trademark.
I would like to see something in this article to address the > 1 second index.html response time that the cloak website seems to have. Are there caching options for views?
Otherwise, it looks clean.
[1] https://github.com/Wulf/create-rust-app