Bare bones View implementation on PHP