A framework for building real-time isomorphic applications