implement basic single page view compilation