Calculate attributes on server, less data passed between server and client