# About & Credits

Interlace is an HTML-over-the-wire component framework for Django: you write reactive UIs in Python,
the server renders HTML, and the client morphs the DOM. If that sounds familiar, it should, Interlace
stands squarely on the shoulders of the people and projects below.

## A short history

HTML-over-the-wire is not new. Long before the current wave, GitHub was swapping server-rendered
fragments with [pjax](https://github.com/defunkt/jquery-pjax); Basecamp shipped Turbolinks and later
gave the idea its name with [Hotwire](https://hotwired.dev) ("HTML Over The Wire"); patterns like AHAH
(Asynchronous HTML and HTTP) were returning HTML partials over XHR as far back as the mid-2000s; and
[intercooler.js](https://intercoolerjs.org), now [htmx](https://htmx.org), carried the hypermedia
torch. Interlace stands on all of it.

What changed the *developer experience* was the arrival of declarative, server-driven **component**
models: **[Phoenix LiveView](https://github.com/phoenixframework/phoenix_live_view)** (Chris McCord)
in Elixir, and **[Laravel Livewire](https://livewire.laravel.com)** (Caleb Porzio) in PHP. Livewire in
particular nailed an ergonomic directive API, your state and logic stay on the server, in the language
you already write, and Interlace's `lace:` directives (`lace:model`, `lace:click`, `lace:ignore`, and
friends) deliberately echo Livewire's `wire:` surface so the ideas carry across. Thank you, Caleb, and
thank you to everyone above.

## Where Interlace started

Interlace grew out of time spent in the [django-unicorn](https://www.django-unicorn.com) world, which
deserves real credit for bringing reactive components to Django first. Our earliest prototype started
there, then matured closed-source inside enterprise teams, where our goals for the developer
experience and the shape of the API diverged enough that Interlace became its own framework, with its
own internals and its own trade-offs.

## Built on

Interlace would not be possible without:

- **[Django](https://www.djangoproject.com)**, the framework it extends and whose ORM, templates, and
  forms it leans on.
- **[Alpine.js](https://alpinejs.dev)** and its `morph` plugin, for the sprinkle of client-side
  interactivity and the surgical DOM diffing that applies each server update.

## License

Interlace is released under the MIT License. See the
[LICENSE](https://github.com/wrabit/interlace/blob/main/LICENSE) file for details.
