Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Daz
Daz
@daz@floss.social  ·  activity timestamp 23 hours ago

I've started writing up a coding guide for hypermedia-driven application architectures. #htmx
It's very much a work in progress. Some bits not started yet. But I'm quite happy with some of it...
https://hda.daz.is/architecture/why-hypermedia-driven-architecture/
More to come some!
#React is an obsolete tech and hopefully my guide, when done, will help people who want to switch to #HDA architecture from #spa
Hopefully the #Rust won't put people off.

Hypermedia-Driven Applications with Rust

Why Hypermedia-Driven Architecture

The architectural argument for building web applications where HTML is the API.
  • Copy link
  • Flag this post
  • Block
The Fulcrum 🏴‍☠️ ⛓️‍💥 🛠️ boosted
#! code
#! code
@hashbangcode@fosstodon.org  ·  activity timestamp 5 days ago

From the archive! A Look At HTMX With PHP

In this article we will look at how to get HTMX working with a vanilla PHP backend. With a few examples of the two systems working together.

https://www.hashbangcode.com/article/look-htmx-php

This ties into a package just released that shows a lot of different examples of HTMX working with a PHP backend.

https://github.com/hashbangcode/htmx-php-examples

#htmx #php #hashbangcode

GitHub

GitHub - hashbangcode/htmx-php-examples

Contribute to hashbangcode/htmx-php-examples development by creating an account on GitHub.
#! code

A Look At HTMX With PHP

HTMX is a JavaScript library that can be used to issue AJAX requests, create CSS transisions, and set up web sockets using HTMLThe power of HTMX is that it can be used without writing any custom JavaScript code. It works by looking for attributes in HTML tags using that information to set up events, user interaction, and send requests to a back end. The system is backend agnostic and so will essentially work with any system that can accept, interpret, and respond to the requests.
  • Copy link
  • Flag this post
  • Block
#! code
#! code
@hashbangcode@fosstodon.org  ·  activity timestamp 5 days ago

From the archive! A Look At HTMX With PHP

In this article we will look at how to get HTMX working with a vanilla PHP backend. With a few examples of the two systems working together.

https://www.hashbangcode.com/article/look-htmx-php

This ties into a package just released that shows a lot of different examples of HTMX working with a PHP backend.

https://github.com/hashbangcode/htmx-php-examples

#htmx #php #hashbangcode

GitHub

GitHub - hashbangcode/htmx-php-examples

Contribute to hashbangcode/htmx-php-examples development by creating an account on GitHub.
#! code

A Look At HTMX With PHP

HTMX is a JavaScript library that can be used to issue AJAX requests, create CSS transisions, and set up web sockets using HTMLThe power of HTMX is that it can be used without writing any custom JavaScript code. It works by looking for attributes in HTML tags using that information to set up events, user interaction, and send requests to a back end. The system is backend agnostic and so will essentially work with any system that can accept, interpret, and respond to the requests.
  • Copy link
  • Flag this post
  • Block
Steve Bate
Steve Bate
@steve@social.technoetic.com  ·  activity timestamp 6 days ago

@smallcircles To follow up on the discussion from yesterday, @evan has created a proposal for another kind of “event stream” that is not necessarily associated with *any* AP collection type (see Example 1). This is more aligned with my mental model of an event feed/stream, where a timeline^1 is the history of the feed after optional filtering and content materialization. (^1 However, the terms are often used interchangeably in the Fedi.)

https://swicg.github.io/activitypub-api/sse

Server-Sent Events For the ActivityPub API

🫧 Social coding commons
🫧 Social coding commons
@smallcircles@social.coop  ·  activity timestamp 6 days ago

@steve @evan

Oh, that is very interesting. I will queue this up for inclusion in the delightful fediverse development curated list.

#Datastar may be a great library to check out here, and goes further in #hypermedia approach, where #HTMX considers itself feature-complete. Datastar uses #SSE to keep the connection to the client open. The client-side JS lib that is needed is super small. In datastar apps most of the business logic lives in the backend, and it lends itself very well for #EventSourcing. The original author/co-maintainer uses it with #NATS which also serves as the event store.

https://data-star.dev

  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire social · 1.0.2-alpha.34 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Code of Conduct