Clean Code Django Templating Web Web General
See in schedule: Wed, Jul 28, 13:45-14:15 CEST (30 min) Download/View SlidesHYPERTAG (http://hypertag.io) is a full-featured standalone language for HTML templating and document generation. Inspired by indentation-based template languages (Slim, Haml, Shpaml, Pug), it provides clean, readable syntax and multiple original features that enhance code reuse and modularity: native custom tags, DOM manipulation, Python-like granular imports, control blocks, compound expressions, and more.
Hypertag can be called directly from Python code, or be plugged as a template backend into Django. Hypertag scripts can utilize all of Django's filter functions out of the box. Hypertag is not limited to HTML alone, but can be adapted to produce different markups.
Docs: http://hypertag.io
GitHub: https://github.com/mwojnars/hypertag
PyPI: https://pypi.org/project/hypertag-lang/
During the talk, Hypertag's syntax will be presented with particular focus on original features not found elsewhere (custom native tags, DOM manipulation, granular imports). The talk will be illustrated with examples, and a comparison with existing template languages will be shown.
Type: Talk (30 mins); Python level: Beginner; Domain level: Intermediate
Marcin is an experienced data scientist and a seasoned Python developer. Medalist of the International Mathematical Olympiad, prize winner in the EU Contest for Young Scientists, founder of academic websites: Paperity (www.paperity.org) and TunedIT. He has 19 years of track record in a wide range of ML/AI-related applications and technologies. Author of 15 academic papers, 2 patent applications, and several special-purpose programming languages (Redex, DAST; see https://github.com/mwojnars/nifty).