KeymanHosts is currently overly complex. However there are a number of challenges around determining which URLs to be using by various parts of the sites -- for example handling overrides for development (as we may not want to be running e.g. api.keyman.com locally).
- Use a table-based structure rather than constructing URLs, so that we have explicit references to each tier's possible URLs.
- Allow for overrides on DEVELOPMENT tier from a localenv.php? file
- Use the same table to generate javascript constants for scripts -- and always use the constants and don't guess
- Ensure TIER_TEST overrides.