vdhamer / Photo-Club-Hub

iOS app for showcasing and viewing portfolios with curated fine-art photographic images.
MIT License
13 stars 1 forks source link

Integrate Ignite package to generate static HTML Level2 web page for sites #449

Closed vdhamer closed 1 month ago

vdhamer commented 3 months ago

Here is a test web page created using Ignite by Paul Hudson. Ignite creates a full web page or even web site programmatically. Programmatically it resembles how user interfaces are made using SwiftUI: declarative, code looks more like data than code, hierarchical structure.

Usage

  1. User runs “some” app that loads the list of club members into memory. So input is a Level2.json data file. This generates a web site (HTML, CSS, JS, images) as a directory with a few files and small subdirectories. This can optionally be previewed on a local web server (provided by Ignite) - but previewing is not essential because the site’s layout is determined by the app.
  2. Copy the directory to a target server using ftp. Requires some know-how and knowing the ftp credentials for the server.
  3. View site in browser. In this case only a single web page is generated even though it has links to other pages. The URLs for those links are provided in the Level 2 data. The links may point to a different server.
  4. When Level 2 input data needs updating, edit the Level2.json file and regenerate the web page using steps 1 and 2.

Plan

vdhamer commented 1 month ago

Feature has moved to a separate repo vdhamer/Photo-Club-Hub-HTML