Learn
Resources for learning the fundamentals of the Air web framework.
- Quickstart - Build and serve a minimal Air app.
Concepts
Why and how Air works.
- Air Tags - An exploration of Air's Tag HTML generation system
- Escaping HTML - How Air handles escaping HTML to prevent XSS attacks
- Forms - How to create and validate forms in Air
- Jinja - How to use Jinja templates in Air
- Layouts - Tools for building layouts in Air along with two simple layout systems
- SQL - How to use SQL databases in Air apps
Cookbook
A handy Air-themed list of recipes for common web app tasks.
This section contains short recipes. See the topic pages for details:
- app.page decorator - how to use the
@app.page
decorator to quickly create web pages - Authentication - how to handle login and authentication in your application
- Bigger applications - how to structure larger applications
- Charts - Examples of using charts in Air
- Minimal app - The smallest possible Air app
- Forms & validation - how to create forms and validate user input
- Static files - how to serve static files like CSS and JavaScript
If you'd like to contribute a recipe, open a PR with a new file under docs/learn/cookbook
.