RadiantCasts episode 20 - Radiant Snippets
Snippets are small fragments of pages which get reused, but which do not need appear on every page. Two different layouts can share the same snippet without having to copy and paste between them. As a Rails developer you could see them as Rails partials, and in this episode you'll see how and why to use snippets to organize your code and reuse as much of it as possible.
Content
- Radiant Snippets basic usage
- using snippets to wrap content
- using snippets recursively
- Radiant Lazy Snippet Extension
Resources
- Radiant Lazy Snippet Extension - github repository
- Radiant Parameterized Snippets Extension - github repository
- Radiant RBAC Snippets - github repository
- RadiantCasts episode 20 - github repository
Cristi Duma is a software engineer at Aissac.
