Summary
We have learned a lot about applying CORS in various content management systems. Let's do a recap.
You learned how to allow incoming CORS requests in WordPress, Drupal, Joomla!, and Adobe Expression Manager. You also learned that outgoing CORS requests in these frameworks should use custom code or existing plugins, apart from the fact that WordPress.com SAAS has limited CORS capability. We discussed how CORS support in other SAAS versions of these frameworks is uncertain, but it may become implemented due to demand.
We looked at two plugins for CORS in WordPress: one for adding headers, and the other enables CORS in the WordPress XML-RPC API. We also looked at adding CORS headers with custom code in the WordPress theme template.
We looked at a few Drupal modules for CORS. The CORS module adds headers mapped to paths. The CDN module supports CORS when using a Content Delivery Network. The Amazon S3 upload module implements CORS when using Amazon S3. We also looked at setting headers...