View factory