The problem for the mass of developers is, that they "fall in love" with their CMS and that make them blind for obvious things.
We shift away from CMS as central point for web and web-application. CMS is only a tool to maintain simple static data in various languages for many people.
For everything else (like shops) we use other systems, that are NOT a integrated part of a CMS.
If interaction between CMS and ohter systems is needed, implement a separate and clean API.