From 7c9e76e509420564567008a2b6e2be025a5753dc Mon Sep 17 00:00:00 2001 From: Peter Amiri Date: Wed, 15 Jun 2022 16:18:29 -0700 Subject: [PATCH 01/76] Add CFWheels TODO example to the list (#941) * Add CFWheels TODO example to the list * Update server-examples.md --- www/server-examples.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/server-examples.md b/www/server-examples.md index 51932aefd..b702db45b 100644 --- a/www/server-examples.md +++ b/www/server-examples.md @@ -61,6 +61,12 @@ These examples may make it a bit easier to get started using htmx with your plat - +## ColdFusion (CFML - JVM Language) + +### CFWheels Framework + +- + ## C# ### ASP.NET Core From a6e2b6ef83fbab91463e050acd8908d4b5388a30 Mon Sep 17 00:00:00 2001 From: Jeremy Gorniak Date: Thu, 16 Jun 2022 09:19:58 +1000 Subject: [PATCH 02/76] Small typo fixes (#938) --- www/extensions/server-sent-events.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/extensions/server-sent-events.md b/www/extensions/server-sent-events.md index a6094f8be..4db47c70e 100644 --- a/www/extensions/server-sent-events.md +++ b/www/extensions/server-sent-events.md @@ -30,7 +30,7 @@ Use the following attributes to configure how SSE connections behave: To connect to an SSE server, use the `hx-ext="sse"` attribute to install the extension on that HTML element, then add `sse-connect=""` to the element to make the connection. -When designing your server application, remember that SSE works just like any HTTP request. Although you cannot send any messages to the server after you have established a connection, you can send parameters to the server along with your request. So, instead of making an SSE connection to your server at `https://my-server/chat-updates` you can also connect to `https://my-server/chat-updates?frends=true&format=detailed`. This allows your server to customize its responses to what your client needs. +When designing your server application, remember that SSE works just like any HTTP request. Although you cannot send any messages to the server after you have established a connection, you can send parameters to the server along with your request. So, instead of making an SSE connection to your server at `https://my-server/chat-updates` you can also connect to `https://my-server/chat-updates?friends=true&format=detailed`. This allows your server to customize its responses to what your client needs. ### Receiving Named Events @@ -51,7 +51,7 @@ Notice that the name `EventName` from the server's message must match the value ### Receiving Unnamed Events -SSE messages can also be send without any event name. In this case, the browser uses the default name `message` in its place. The same rules specified above still apply. If your server sends an unnamed message, then you must listen for it by including `sse-swap="message"`. There is no option for using a catch-all name. Here's how this looks: +SSE messages can also be sent without any event name. In this case, the browser uses the default name `message` in its place. The same rules specified above still apply. If your server sends an unnamed message, then you must listen for it by including `sse-swap="message"`. There is no option for using a catch-all name. Here's how this looks: ```text data:
Content to swap into your HTML page.
From 4203822aa5e50cfbdfdde4aa00a61340e8ad6e24 Mon Sep 17 00:00:00 2001 From: Marek Romanowski Date: Thu, 16 Jun 2022 01:21:16 +0200 Subject: [PATCH 03/76] Introduce consistent footer for all pages (#929) * Introduce consistent footer for all pages. In initial version contains haiku and links from menu. Remove column left padding for first column in row. * Remove nav class from top navbar in examples as it makes navbar inconsistent between different screens. * Experiment with bss bars Co-authored-by: Marek Romanowski --- .gitignore | 1 + www/_includes/layout.njk | 41 ++++++++++++++++++++++++++++++++++++++- www/css/site.scss | 28 +++++++++++++++++++++++--- www/docs.md | 4 ---- www/img/bss_bars.png | Bin 0 -> 9482 bytes www/index.md | 6 ------ 6 files changed, 66 insertions(+), 14 deletions(-) create mode 100644 www/img/bss_bars.png diff --git a/.gitignore b/.gitignore index bfa51ca49..64fc25e71 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea +*.iml /node_modules _site test/scratch.html diff --git a/www/_includes/layout.njk b/www/_includes/layout.njk index 9b99ccf9a..cebd99506 100644 --- a/www/_includes/layout.njk +++ b/www/_includes/layout.njk @@ -35,7 +35,7 @@ {% if page.url.indexOf("/examples/") == 0 %} -