The document introduces Telosys, an open source code generation tool that allows developers to quickly generate code from models using templates. It aims to improve productivity, standardization, quality and simplicity over manual coding. The document demonstrates how to define a model and templates, and then generate Python web application code including entities, services, controllers and views using Telosys.
Generate a web app in 20 minutes with Telosys code generation
1. My web application in 20 minutes
( code generation with Telosys )
https://www.telosys.org/ @telosys
2. @telosys https://www.telosys.org
By day
Senior architect
at
@ltguerin
Laurent Guérin Open Source supporter
Passionate by software engineering
and development industrialization
By night
Creator of
code generator
Who’s speaking?
3. @telosys https://www.telosys.org
• Productivity : write the templates once and reuse them many times
• Simplicity : a model brings a high level of abstraction (part of the
complexity is managed by the generator)
• Standardization & Consistency : get always the code you expect (same
principles, patterns, behaviors, conventions, coding rules, etc)
• Quality : Clean Code, Software Craftsmanship, testability, Unit Tests
generation, etc
Why should I use code generation?
But very often code generators are heavy and complicated tools :-(
That's why Telosys has been created…
5. @telosys https://www.telosys.org
A “project booster”
Light tool designed to be usable by any developers
Not a strategic choice
(you can use it and drop it after use)
Quick start (very short learning curve)
Telosys in short
6. @telosys https://www.telosys.org
no "black box"
syndrome
everything is
customizable
Customization : generate the code you want
? !
models
templates resulting code
is exactly what
you want
any file, any language, any framework