Server and client side approach.