summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorNathaniel Sabanski <sabanski.n@gmail.com>2024-02-15 09:27:02 -0800
committerGitHub <noreply@github.com>2024-02-15 12:27:02 -0500
commit3fe5802554c6f4e60e1984b7b17d934ae1ee693d (patch)
tree09a5635eee6d3cdfbd9356c69b36fe767d6350a4
parentfa7223391ccab52eb69c083e0f2996410f8a65b7 (diff)
downloadhtmx-3fe5802554c6f4e60e1984b7b17d934ae1ee693d.tar.gz
htmx-3fe5802554c6f4e60e1984b7b17d934ae1ee693d.zip
Docs: Less wordy client scripting introduction. (#2307)
-rw-r--r--www/content/docs.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/www/content/docs.md b/www/content/docs.md
index 7fd82f3e..b4726cb9 100644
--- a/www/content/docs.md
+++ b/www/content/docs.md
@@ -1227,11 +1227,7 @@ Here is an example of the code in action:
## Scripting {#scripting}
-While htmx encourages a hypermedia-based approach to building web applications, it does not preclude scripting and
-offers a few mechanisms for integrating scripting into your web application. Scripting was explicitly included in
-the REST-ful description of the web architecture in the [Code-On-Demand](https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm#sec_5_1_7)
-section. As much as is feasible, we recommend a [hypermedia-friendly](/essays/hypermedia-friendly-scripting) approach
-to scripting in your htmx-based web application:
+While htmx encourages a hypermedia approach to building web applications, it offers many options for client scripting. Scripting is included in the REST-ful description of web architecture, see: [Code-On-Demand](https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm#sec_5_1_7). As much as is feasible, we recommend a [hypermedia-friendly](/essays/hypermedia-friendly-scripting) approach to scripting in your web application:
* [Respect HATEOAS](/essays/hypermedia-friendly-scripting#prime_directive)
* [Use events to communicate between components](/essays/hypermedia-friendly-scripting#events)