Compare commits

...

6 Commits

Author SHA1 Message Date
Wm Talcott
fb0408b751
Merge pull request #129 from yardenshoham/patch-3
Fix rendering of "JSON Data APIs vs JSON REST APIs" title
2024-01-27 15:50:28 -05:00
Wm Talcott
d070b30385
Merge pull request #128 from yardenshoham/patch-2
Fix code block rendering in CH08_TricksOfThehtmxMasters.adoc
2024-01-27 15:50:14 -05:00
Wm Talcott
6903c23fae
Merge pull request #127 from yardenshoham/patch-1
Fix casing in CH05_htmxPatterns.adoc
2024-01-27 15:47:38 -05:00
Yarden Shoham
5298de9b1a Fix rendering of "JSON Data APIs vs JSON REST APIs" title
It was displaying the dot.
2024-01-27 20:18:48 +00:00
Yarden Shoham
7e9779d49e Fix code block rendering in CH08_TricksOfThehtmxMasters.adoc
The title "Syncing two buttons" didn't render well. The dot was visible.
2024-01-27 17:19:52 +00:00
Yarden Shoham
ac42284268
Fix casing in CH05_htmxPatterns.adoc
"HTTP Request" -> "HTTP request"
2024-01-27 11:13:48 +02:00
3 changed files with 3 additions and 1 deletions

View File

@ -336,7 +336,7 @@ In the interest of keeping our application simple, we are going to omit that mor
We have updated the client-side code (if HTML can be considered code) so it now issues a `DELETE` request to the appropriate
URL, but we still have some work to do. Since we updated both the route and the HTTP method we are using, we are going to
need to update the server-side implementation as well to handle this new HTTP Request.
need to update the server-side implementation as well to handle this new HTTP request.
.The original server-side code for deleting a contact
[source, python]

View File

@ -276,6 +276,7 @@ both buttons in a `div` and eliminate the redundant `hx-target` specification by
Here is our updated code:
(((hx-sync, example)))
.Syncing two buttons
[source, html]
----

View File

@ -128,6 +128,7 @@ Note that by splitting these two APIs apart, you reduce the pressure to constant
This is the key advantage of splitting your Data API from your Hypermedia API.
((("REST API")))
.JSON Data APIs vs JSON "`REST`" APIs
****
Unfortunately, today, for historical reasons, what we are calling JSON Data APIs are often referred to as