Files
Andros Fenollosa c457778710 Add Django Reactor and update benchmark naming
- Add Django Reactor (v5.3.0b0) as fifth framework in comparison
- Rename HTMX to django-htmx throughout for clarity
- Update plots: change "Network Requests" to "HTTP Requests"
- Regenerate all performance plots with 5 frameworks
- Update navigation across all templates to include Reactor
- Add Reactor component (XAlertList) and WebSocket configuration

Performance results (5 frameworks):
- LiveView: 9.35ms (WebSocket)
- Reactor: 12.00ms (WebSocket)
- django-htmx: 16.48ms (AJAX)
- Unicorn: 26.76ms (AJAX)
- SSR: 47.25ms (Full reload)
2025-12-27 20:24:57 +01:00

53 lines
2.1 KiB
HTML

{% load static %}
{% load liveview %}
<!DOCTYPE html>
<html lang="en" data-room="{% liveview_room_uuid %}" data-theme="light" data-controller="page">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home - Alert System</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css">
<script src="{% static 'liveview/liveview.min.js' %}" defer></script>
</head>
<body class="has-background-white">
<nav class="navbar is-light" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<div class="navbar-item">
<strong>Alert System Demo</strong>
</div>
</div>
<div class="navbar-menu">
<div class="navbar-start">
<a href="/" class="navbar-item is-active has-background-primary has-text-white">
Django LiveView
</a>
<a href="/ssr/" class="navbar-item">
SSR
</a>
<a href="/htmx/" class="navbar-item">
HTMX
</a>
<a href="/unicorn/" class="navbar-item">
Django Unicorn
</a>
<a href="/reactor/" class="navbar-item">
Django Reactor
</a>
</div>
</div>
</nav>
<div id="notifications" class="notifications-container" style="position: fixed; top: 20px; right: 20px; z-index: 1000; width: 300px;"></div>
<div id="modal-container"></div>
{% block content %}{% endblock %}
<footer class="footer mt-6">
<div class="content has-text-centered">
<p>
Built with <a href="https://django-liveview.andros.dev/" target="_blank" rel="noopener noreferrer"><strong>Django LiveView</strong></a>
| <a href="https://github.com/Django-LiveView/demo-alarms" target="_blank" rel="noopener noreferrer">Source Code</a>
</p>
</div>
</footer>
</body>
</html>