client and server view as mixin