a simple prototype for abstracting HTML views