Internals

Internally, Sculpin uses an event-driven architecture to perform its tasks. These events are fed into Sculpin's Converters, Formatters, and Generators at various stages of the lifecycle.

Converters

Converters convert incoming markup to something else, generally HTML. Sculpin ships with two converters, Markdown and Textile.

Formatters

Formatters are responsible for formatting sources. This can be considered a view or template layer.

Sculpin ships with one formatter, Twig.

Generators

Generators are used to fabricate new virtual sources based on an existing concrete source (e.g., content type). Sculpin ships with a Pagination generator.