top | item 33561944

(no title)

_query | 3 years ago

If you're interested in building web apps with Haskell, check out IHP. IHP is the Laravel/Rails/Django of the Haskell world. Might be a more pragmatic way to get into Haskell than SchoolOfHaskell

- Intro video demoing how to build apps with IHP: https://www.youtube.com/watch?v=UbDtS_mUMpI

- Docs to get started: https://ihp.digitallyinduced.com/Guide/index.html

- IHP reviews: https://www.g2.com/products/ihp/reviews

discuss

order

embwbam|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
  - Lucid (html rendering) https://hackage.haskell.org/package/lucid
  - Selda (postgres) https://selda.link/

xwowsersx|3 years ago

hmm, last time I used Scotty, I thought it was the exact opposite of Rails and more like Sinatra. It's less batteries included and more flexible and lightweight. Yesod is more like RoR, no? Maybe I'm misunderstanding what you mean by swiss army knife?

SomeoneEsle123|3 years ago

IHP seems great, but I found it very hard to work with.

The guide said it takes 15 minutes to build initially...it took my laptop 1 1/2 hours. And I didn't use cachix (no idea what it was, didn't want it to mess with my system) so after a nix-gc I had to build again...

And the pro version costs $300/year, and goes up to $1500/year if you make $20k. That might be good for a huge company, but if that's a side project or a solo dev's income, that's way too expensive.

_query|3 years ago

Cachix manages the prebuilt binaries used by IHP. If you don't install Cachix, nix will compile a lot of IHP's dependencies from scratch. This takes a long while and is not recommended.

bluepoint|3 years ago

Let alone that it appears on any forum that ever mentions haskell these days.