Create a new thread +
Define a QueryBuilder by filtering then sorting
dharmatech
Hey y'all, I posted the following to stackoverflow yesterday: Define a QueryBuilder by filtering then sorting No answers so far, so I thought I'd check here so see if anyone has any suggestions. :-) The section Update 1 shows an app…
Add Response
Code Generator dark magic
Gonzalo Muñoz
So I've been trying to follow the docs to make the blog demo, and something caught my attention: there's a code generator, which using only the prompt "Posts" spat out a whole component, pagination included... And I'm …
Add Response
General advice in use cases?
Gonzalo Muñoz
Hi! Newcomer here, both to web development itself, and even more to the Haskell / IHP community (loving it so far, BTW). And I've been wondering wether IHP will be enough for the projects to come. Let's say I need to build an Instag…
Add Response
OverloadedLabels in IHP
dharmatech
Hey y'all, I posted the following question to stackoverflow: https://stackoverflow.com/q/68960202/268581 Fyodor there suggested it may be a bug in the template compiler. Is that something on the IHP side? Or part of some other library w…
Add Response
Hot reload port specification
zhan ishzhanov
Im running ihp in gitpod.io and the localhost gets proxied, so hot reload stops working. I belief the common solution to this is letting users specify hmr port. Ideally the front-end side would just modify the localhost part itself if it de…
Add Response
Alternative project layout in a Razor Pages style
dharmatech
A short (6 minute) video demonstrating that IHP projects can have a different layout that's closer to what you see in an ASP.NET Core Razor Pages project: https://youtu.be/WhCiBZNc15Y The git branches that I reference: https://github.co…
Add Response
IHP is about to get a new Logo 🎨
marc PRO
We're currently reworking some of the visual design of IHP. While it's not yet live, I'm happy to share what the new logo is going to look like: What do you think? …
Add Response
Some Updates to the IHP Forum
marc PRO
Hey, I just pushed an update to the IHP forum. Here's the most important changes: It's now integrated into the main IHP website instead of running at forum.ihpapp.com You can now log in with GitHub If you log in via GitHub you…
Add Response
Haskell Language Server performance
jpe90
Hello! I got started with IHP recently and think it's fantastic so far. One issue I've had is related to the performance of the Haskell Language Server in an IHP project. When it starts up, I've noticed it will peg a few cores o…
Add Response
psql: could not connect to server: No such file or directory
gyan
I was trying to complete the hello world tutorial (blog). After running `./start` file, the server starts and I can see all the pages. However, there is a message - ``` initdb: cannot be run as root Please log in (using, e.g., "su…
Add Response
Slack link is dead?
mt-caret
Hi, sorry for the noise, but I'm trying to join the Slack from the URL https://ihp.digitallyinduced.com/Slack, but I get an error saying "This link is no longer active". Can you update the link? …
Add Response
Creating blog posts using markdown files
harris-chris
Hi - I've recently started using IHP for a personal blog and am finding it a real pleasure so far. One thing that slightly surprises me is that it seems storing the blog posts in the database seems to be the only way to go. This feels a…
Add Response
Using IHP with an existing REST API
runeksvendsen
Hi there, I have developed the backend for a web app as an HTTP API (using Servant + Warp), and I would like to use IHP to develop the web part against this HTTP API. As far as I can see, IHP starts at the database schema level, and generat…
Add Response
IHP Release: 13.12.2020
marc PRO
Time for the next release of IHP: v20201213 🎉 Major Changes Job Queue: We added a new job queue system that allows you to schedule jobs that are going to be executed outside the normal request-response cycle by a job worker running in the…
Add Response
IHP Release: 27.11.2020
marc PRO
It's time for the next release of IHP: v20201030 🎉 This release mainly focus on improving existing functionality and making things more stable :) Since the last release we also reached an important milestone: IHP is now the second bigge…
Add Response
Compile error on 'StaticControllerinstance'
hansw
Hi, I'm following the First App tutorial and I'm running into this error when creating a controller named 'Posts'. What could have gone wrong? And how can I get going again? To reproduce: sudo ihp-new blog sudo chown -R …
Add Response
IHP Release: 30.10.2020
marc PRO
It's time for the next release of IHP: v20201030 🎉 This release mainly focus on improving existing functionality and making things more stable :) Major Changes Database Connection Pool: IHP now comes with a new database connection poo…
Add Response
Setting IHP_EDITOR environment variable
chrisstephenson
I have the latest version of VS Code (on Ubuntu Linux) and I am trying to follow the instructions in the recent video about Haskell integration to VS code. But when I try to get the command to set the environment variable as described in th…
Add Response
IHP Release: 16.10.2020
marc PRO
It's time for the next release of IHP: v20201016 🎉 Major Changes Haskell Language Server Support: You can now get cool IDE features by using Haskell Language Server. It works mostly out of the box after updating to this IHP version. C…
Add Response
IHP Release: 02.10.2020
marc PRO
It's time for the next release of IHP: v20201002 🎉 Major Changes Realtime UI Updates with IHP AutoRefresh: Whenever a INSERT, UPDATE or DELETE happens to the records used by your action IHP will rerun your action on the serverside. Wh…
Add Response
New Release: Beta 18.09.2020
marc PRO
It's time for the next release of IHP: 20200918 🎉 Major Changes Depoyment Documentation: Finally it's here. You can find it inside the Guide. Share your IHP apps with the internet! :). You can find details on how to deploy with IH…
Add Response
HSX: Conversion from Action to Route through ToHtml?
smorfer
I started learning IHP and after finishing the "Your first project" part in the IHP Guide, I saw how actions where used as routes in two ways: <a href={pathTo NewPostAction}><... <a href={ShowPostAction}><...…
Add Response
IHP Release: 04.09.2020 (v20200904)
marc PRO
It's time for the next release of IHP: 20200904 🎉 Major Changes Composite Primary Key Support: You can now use tables that have a primary key consisting of multiple columns. This helps you to handle complex database schemas with IHP.…
Add Response
IHP Release: 21.08.2020 (v21082020)
marc PRO
We've just released a new IHP version! :) Major Changes Numeric Primary Keys Supported: IHP now allows numeric (Serial in Postgres-speak) primary keys. Previously only UUIDs have been supported. UUIDs will still be the default. This f…
Add Response
Open an "IHP Forum" Topic?
I was just wondering if an "IHP Forum" Topic would be a good idea? That way any suggestions/improvements for the IHP Forum could be discussed there. It might also be a place to raise small bug fixes that are too small to justify a…
Add Response
Live Loading Code
I'm finding the live loading in the browser sometimes dies while I'm editing the code. My setup is on MacOs Mojave/Firefox and I'm editing the haskell code directly using VI/nerdtree. The IHP development server is still running …
Add Response
This is the first test thread
marc PRO
Hello World data Bool = True | False deriving (Eq, Show) …
Add Response