I hope some of my colleagues come in on this thread since they will be able to put forward slightly different perspectives.
Here are some points in response:
* User Generated Content - being able to pull back UGC from a runtime environment is something we know would be useful and discuss from time to time. Its one of the feature candidates for the next version of the transfer service in 3.4. Let's see how priorities shape up.
* I agree that the typical pattern is for all web content to be assembled within alfresco and then deployed out to the web runtimes. It's a good strong pattern. But we do already have senarios where only part of the content is controlled via Alfresco. And you can also have automatic information feeds into alfresco which is then deployed out. That's another strong pattern.
* In addition to flat files being deployed, Alfresco also allows deployment of content to support a web site. This could be part of what you were getting at by talking about the "associated database". With 3.3 we are expecting people to start using Alfresco as a CMIS runtime to support their dynamic websites.
* And finally deployment targets can already execute "predefined commands", so you can deploy a dumpfile to your your database already.