jgm / jgm/yst

How can one implement dynamic pages. [feature request][discussion]

Open
#49 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
407
Forks
38
PR merge metrics
No merged PRs in 30d

Description

In the demo example - what do we do if we need to implement an event detail page.
for each event - if we need an event detail page - do we create each page in index.yaml ?

for 1000's of events - this could be a pain area.

example for event data - we have some more fields that need to be shown on event detail page.

- date:
- 2009-04-20
- 2009-04-22
speaker:karan
id:10
title: Seminar on web security
videos:
list of attendees:

----------------------------------------------------------------------------------
and the event detail pages will be as :

events.html/9
events.html/10
events.html/11
events.html/12

and so on.

I am not stuck on this right away, but soon this could come up to work on for my site.
so discussing ways to implement dynamic pages would be great.

maybe we add queryparam to fetch the params from the data.
and then for each param the page is generated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the demo example and its index.yaml data, then review how event records and templates are currently handled. Determine whether the project can support generated event detail URLs for many records and document or implement an agreed approach, including the extra event fields and URL parameters described here.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.