Talk

Backend-First: Revolutionizing Front-End Development with Django and HTMX

Saturday, May 31

12:25 - 12:55
RoomLasagna
LanguageEnglish
Audience levelIntermediate
Elevator pitch

Revolutionize web development with a Backend-First approach! Learn how Django and HTMX streamline the process by moving logic to the server, eliminating complex front-end state management. Faster prototyping, enhanced security, and simpler code—build smarter, not harder.

Abstract

In the evolving landscape of web development, the separation of backend and frontend has often introduced unnecessary complexity. With the rise of client-heavy frameworks like React and Vue, developers face challenges in managing state, maintaining code, and ensuring security. The Backend-First approach, powered by Django and HTMX, offers a refreshing alternative by simplifying application architecture and focusing on server-driven logic.

This presentation explores how Django, a robust Python-based web framework, and HTMX, a lightweight JavaScript library, can together create a seamless development experience. By leveraging the power of HTML-over-the-Wire, HTMX eliminates the need for JSON APIs and complex JavaScript frameworks, enabling developers to build dynamic, responsive interfaces directly from the backend. This paradigm shift reduces front-end state management challenges and streamlines the development process.

Attendees will learn how HTMX integrates effortlessly into traditional Django workflows. With features like partial DOM updates, progressive enhancement, and AJAX requests defined through HTML attributes, HTMX simplifies the creation of interactive user experiences without requiring heavy client-side code. Django complements this by efficiently handling the server-side logic, rendering, and security.

Key benefits include faster prototyping, reduced maintenance overhead, and improved security. By consolidating logic on the server, developers can focus on building reliable, scalable applications while delivering a modern user experience. The Backend-First approach also bridges the gap between backend and frontend, making development more cohesive and productive.

This session provides an in-depth look at the practical advantages of Django and HTMX. Whether you’re building prototypes or full-fledged applications, the Backend-First methodology can transform how you approach your projects.

TagsBest Practice, Web Frameworks, Applications
Participant

Gianluca Romanin

I am currently a Software Architect at CERIC, a European Research Infrastructure Consortium focused in material science. I am a passionate engineer with expertise in cross-platform software development and managing software teams. As a developer, I have a strong background in web technologies and multiple programming languages. As a manager, I have led software teams primarily in desktop and embedded projects. I have a keen interest in Zen philosophy, the Kaizen method, psychology, ethics, behavioral analysis, and personal development.