I have tried to learn Shiny for R
It seems to me the Shiny can achieve lots of web functions using R. They have done a lot of built-up to make it work. But it is pretty tricky if you don't know internet knowledge.
It is a very expensive server if you want to put it in production mode. And I don't know about security yet.