Adaptable architecture example for web apps