|Version 8 (modified by khundeen, 7 years ago) (diff)|
Egg Cooking Tutorial
- Egg cooking
- Cook even better eggs
- Cooking high-end eggs
How to cook eggs for Trac
Since Trac 0.9 it has been possible to write plugins for Trac to extend Trac functionality. Even better, you can deploy plugins as Python eggs that really makes plugin development fun.
Trac 0.11 uses Genshi as the new template engine. I add the example of the code that will work with Trac 0.11
This three step tutorial shows how to make an egg, successfully load an egg in Trac and in advanced topics how to serve templates and static content from an egg.
I suggest that you read steps in order. If you run in difficulties to editing files you can download complete example as tarball at the end of each step.