Simple framework for content-based web applications