1 Web application frameworks, or simply "web frameworks", are the de facto way to build web-enabled applications.
2 The important thing to realize, however, is that at the end of the day, all a web application really does is send HTML to browsers.
3 The server (web server, that is) has no way of initiating a connection to you and sending your browser unsolicited data.