Software:IHP (Web framework)

From HandWiki
IHP
Original author(s)Marc Scholten
Initial release23.06.2020[1]
Stable release
v0.20[2] / 30.08.2022
Repositorygithub.com/digitallyinduced/ihp
Written inHaskell
Operating systemLinux, macOS, Windows
TypeWeb application framework
LicenseMIT License
Websiteihp.digitallyinduced.com

IHP (short for Integrated Haskell Platform) is a server-side web framework written in Haskell. IHP follows the model-view-controller (MVC) architectural pattern. It is considered a Batteries Included web framework and designed to be beginner friendly for new Haskell developers.[2] IHP is an affiliate of the Haskell Foundation. [3]

Internally IHP is using the Warp Web server and uses a built-in ORM as its persistence layer. IHP comes with many built-in code generators to speed up and simplify the process of building web applications. It comes with a visual database schema designer and also allows management of the schema by specifying the DDL statements that make up the database.[4] On the view layer IHP uses its own HTML markup Domain-specific language, which is called HSX in analogy with React JSX, but transforms to type-checked Haskell code as a step before HTML generation.[5][6]

IHP uses Nix package manager to have a deterministic development environment, including its integrated Postgres database, compiler (GHC), and other tools. In production, the use of Nix allows for reproducable builds.[7]

The source code of IHP is hosted on GitHub and licensed under the terms of MIT License.

See also

References

Category:Web frameworks Category:Free computer libraries