Here are some guidelines and examples for developing against SkyVault repositories.
SkyVault repository extension points
Building custom content-driven web applications involves modeling semantic content inside the repository and then wrapping business logic around the content to provide lifecycle, rendering, and, eventually, publication to a website.