Getting Started With Integrated Haskell Platform
IHP is a full stack framework focused on rapid application development while striving for robust code quality.
We believe that functional programing is the future of software development and want to make functional programing with Haskell and nix available to anyone. We try to offer a solution which can be used by developers who have not worked with Haskell yet. IHP comes with everything you need to build great web applications with Haskell and nix. We have made a lot of pragmatic decision to get you started faster. This way you can just pick up Haskell along the way :-)
- Fully managed dev environment: Works on any machine because all dependencies (including PostgreSQL) are managed using the nix package manager. You only need to know a single command to start the app.
- Auto live reload using virtual dom in dev mode: Each code change automatically triggers the web page to refresh. The refresh uses a diff based patch to avoid resetting the page state. This means: Changes are reflected instantly.
- Build robust, type-safe applications: With the power of Haskell your applications are going to be a lot more robust. Pretty much no runtime errors in production. You can refactor with confidence.
- Fast dev enviroment: While we use a compiled language, the built-in dev server automatically reloads your code changes using the fastest way possible. Usually changes are reflected in less than 50ms (alot faster than your average webpack setup).
- Faster production environment: Production response times are around 30ms. With help of instant click it is faster than most single page applications.
- Integrated dev tooling: You only need a text editor, everything else is taken care of.
- Scalable Application Architecture: IHP is the result of building lots of real world applications with Haskell.
Before open sourcing, IHP has already been used in production by digitally induced since 2017. Therefore you can expect continuous support and development in the future.
Additionally IHP is used by companies such as Prokapi and CodeKarussell (rausgegangen.de).
Take a look at the example blog application project to get to see some code. Follow the documentation to build this application yourself in the section “Your First Project”.
Next: Installing IHP