I think the framework itself minic's a back end stack closer than anything else I can think of. Smart contracts are basically accounts that can hold any kind of data on the blockchain. You write code to handle how/where this data gets stored. Then it runs and can constantly receive messages that interface with its code. The code executes if you have the permissions and it can save the data to the blockchain.
RE: EOS - Introduction to Programming/Writing Smart Contracts