This page is designed to help you find out whether Scotty is good and if it is the right choice for you.
Listed in
Simplicity
Scotty is designed to be simple and easy to use, making it a great choice for developers who want to quickly create web applications without delving into complex configurations.
Lightweight
Being a minimalist web framework, Scotty has a small footprint, which can lead to faster performance and less memory usage in comparison to heavier frameworks.
Type Safety
As a Haskell framework, Scotty benefits from Haskell’s strong static type system, reducing runtime errors and enhancing code reliability.
Integration with Haskell
Scotty allows Haskell developers to leverage the full power of the Haskell ecosystem, including libraries and tools, for building server-side applications.
We have collected here some useful links to help you find out if Scotty is good.
Check the traffic stats of Scotty on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of Scotty on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of Scotty's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of Scotty on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about Scotty on Reddit. This can help you find out how popualr the product is and what people think about it.
I would suggest checking out scotty for the http server - it uses warp by default, and is very beginner-friendly. Source: over 3 years ago
If you're not a fan of the ruby-on-rails / swiss army knife approach that IHP takes, check out Scotty. Add Lucid for Html rendering, and Selda for Postgres. (There are other options for any of these tools if you prefer) - Scotty (simple web routing) https://hackage.haskell.org/package/scotty. - Source: Hacker News / almost 4 years ago
Writing a Haskell webserver (maybe using scotty) and call it from node. Source: almost 4 years ago
I think ‘worst’ is very subjective here. It certainly does aim to be an all-encompassing ‘framework’ — but this is hardly unusual amongst web libraries (not just for Haskell!), and I feel Yesod gets the job done pretty well. Of course, Haskell has many alternatives if you don’t like Yesod: amongst other libraries, there’s Servant [0], snap [1], scotty [2], and the lower-level wai [3] and warp [4] if you feel the... - Source: Hacker News / almost 4 years ago
I've found htmx and hyperscript talking to scotty to be an easy way to get something like this going while retaining the joys of Haskell on the backend and avoiding the pains of Haskell on the frontend. Source: about 4 years ago
Finally, to add my opinion in the context of some other posts: I'd suggest Scotty (and probably other libraries I'm less familiar with) before Servant in particular, as Servant is a lot to absorb if you're also trying to build fluency in Haskell at the same time. Similarly, I'd advocate for Elmish (disclaimer, it's written by (very talented programmers other than myself at) my company) over Halogen, at least based... Source: about 4 years ago
This is an example of REST API built with Scotty a web framework of Haskell and PostgreSQL a relational database. It's a simple API to manage products. - Source: dev.to / about 4 years ago
Not that I'm much of an expert, but if you're talking about a very barebones static single-page-app, then you could very easily get by just using blaze-html to put your elements on the page, and then scotty is a basic web framework you could use to serve up your app. Source: over 4 years ago
Snap (http://snapframework.com/) and Scotty (https://hackage.haskell.org/package/scotty) are both projects that can fit this description. Source: over 4 years ago
PS: If you want DIY things like this, Flask-style, you'd better take Spock, scotty or something like that. Source: over 4 years ago
If you don't feel like you're super comfortable with high-level Haskell concepts and just want a simple no-nonsense webserver library, I'd recommend scotty which is straightforward and easy to use. Source: over 4 years ago
Then I'd consider scotty or spock. When I used scotty, it didn't seem to allow you to be particular about the source of a parameter - this may be a dealbreaker for you. Source: over 4 years ago
I would recommend Scotty, although it doesn't support GraphQL as far as I know. Source: about 5 years ago
Do you know an article comparing Scotty to other products?
Suggest a link to a post with product alternatives.
Is Scotty good? This is an informative page that will help you find out. Moreover, you can review and discuss Scotty here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.