I'd like to get an opinion on loading pages to sites based on convetion.
If we were to enforce a directory structure (and namespace) like this:
- PageObjects
- SiteName
- PageName
and a config structure like this:
{
"sites": {
"siteName": {
"pageName": "https://url.of.page.com"
}
}
}
we could then rely on the fully qualified namespace PageObjects.SiteName.PageName to add pages to a site and also look up the URLs for the site.