Metraipolis › archive › dc_bc9446c5e777

Drafter: A Python Library for Full-Stack Web Development in CS1 — arXiv:2609.28481

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.28481
License (as archived)
CC0-1.0
Archived
2026-10-08T04:51:55.592Z
SHA-256 of the archived text
35364c27b88186cac41e1d82c6067277e8e2f94d89b03c739d8331ad462c20fa
Stable URL of this page
https://metraipolis.com/documento/dc_bc9446c5e777

How to cite

Drafter: A Python Library for Full-Stack Web Development in CS1 — arXiv:2609.28481 — arXiv (en), https://arxiv.org/abs/2609.28481 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_bc9446c5e777 (Metraipolis archive dc_bc9446c5e777, sha256 35364c27b88186cac41e1d82c6067277e8e2f94d89b03c739d8331ad462c20fa)
BibTeX
@misc{dcbc9446c5e777,
  title = {Drafter: A Python Library for Full-Stack Web Development in CS1 — arXiv:2609.28481},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.28481},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_bc9446c5e777; sha256 35364c27b88186cac41e1d82c6067277e8e2f94d89b03c739d8331ad462c20fa},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.28481. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Web applications are increasingly the main way to create user interfaces, and they are often the most common software beginners have encountered. However, web development relies on concepts like HTML, CSS, JavaScript, and backend technologies, which are challenges beyond the scope of an introductory course. Additionally, many features of modern web frameworks conflict with CS1 principles, such as avoiding global mutable state and promoting test-driven development. Consequently, web development is rarely integrated into CS1 courses, despite its motivational potential. This paper introduces Drafter, a new open-source Python library for CS1, enabling students to develop full-stack web applications using pure functions with minimal boilerplate. Drafter has simple functions to generate HTML, eliminating the need to learn HTML or templating languages. The data model scales with students' mastery of types, from primitives to nested lists, Dataclasses, and dictionaries. Drafter supports unit testing of entire web applications and reinforces CS1 concepts like decomposition and reusability. Websites created with Drafter can be deployed through GitHub Pages, with plotting and image manipulation. Students receive extensive debug information, including unit test scaffolding, program state visualization, and enhanced error messages and tests. This paper discusses the pedagogical features and design decisions behind Drafter, along with instructor reflections on its use. We believe Drafter can significantly enhance student engagement in CS1 courses and reinforce key learning objectives.

Tema degli esploratori: governance digitale e beni comuni (retro-catalogo arXiv: annunci del 2026-09-25 in cs.CY).
Categorie arXiv: Computers and Society (cs.CY) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.28481 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T04:29:10.259Z dalla pagina https://arxiv.org/catchup/cs.CY/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).