So I know that in the theme.xml files in Community 1.9 or Enterprise 1.14 you can specify the theme fallback but while upgrading a customer from Enterprise 1.13 to 1.14 I noticed that there are also layout updates in this file. These only appear in the rwd theme file in the enterprise version. What are these for? I guess they are to update the files for certain modules layout and if so in this case what advantages to they have?
<theme> <parent>rwd/default</parent> <layout> <updates> <enterprise_catalogsearch> <file>enterprise/catalogsearch.xml</file> </enterprise_catalogsearch> <enterprise_checkout> <file>enterprise/checkout.xml</file> </enterprise_checkout> <enterprise_cms> <file>enterprise/cms.xml</file> </enterprise_cms> <enterprise_customer> <file>enterprise/customer.xml</file> </enterprise_customer> <enterprise_newsletter> <file>enterprise/newsletter.xml</file> </enterprise_newsletter> <enterprise_oauth> <file>enterprise/oauth.xml</file> </enterprise_oauth> <enterprise_page> <file>enterprise/page.xml</file> </enterprise_page> <enterprise_review> <file>enterprise/review.xml</file> </enterprise_review> </updates> </layout> </theme>
So on the official Magento article about the rwd theme I have found the following snippet. It appears that this allows you to simply update some layout items to add the enterprise features rather than have complete copies with extra items added. I still do not full understand what is going on here.
Using the New Theme/Layout Structure—Magento EE only
If you've worked with a previous version of Magento EE, you're aware that the enterprise/default theme contains copies of many of the layout and template files from base/default—some with very minor changes. This is not an optimal approach because as it results in duplicated content.
The Magento EE responsive theme's rwd/enterprise directory includes only template and layout files that contain Magento EE-only features.
Instead of copying layout files as the enterprise/default theme does, rwd/enterprise isolates changes in their own layout files in [your Magento install dir]app/design/frontend/rwd/enterprise/layout/enterprise
The rwd/enterprise theme replaces the enterprise/default theme and contains far fewer files than its predecessor (156 compared to 280). This new approach makes it easier for you to see what functionality is unique to Magento EE.