title: Laravel: Making a Real Time Application using Angular
body: <p>I am starting to work with angular and am fascinated by the bi-directional data-binding capabilities and by its $http method, which lets me save changes in to my mysql database, without refreshing the page.</p>
  
  <p>Another thing I am currently fascinated by is the real time capability across multiple clients using firebase. Here all clients are updated in REAL TIME, when the database receives any changes. I'd probably like to use firebase, but I would have to drop Laravel and MySql as a persistence layer entirely, which I would like to keep for the moment, since my application is already working in Laravel, just not in real time.</p>
  
  <p>How would I go about having a Real Time application, which updates every client, without refreshing the view, in Laravel using MySQL and Angular?</p>
  
  <p>If I am not mistaken, Pusher and PubNub, are providing this necessary open connection with the server using websockets, so when the server has something to share, angular will now and render it.</p>
  
  <p>Since I would like to use Laravel and MySQL as a persistence layer, I am not sure, what the best way would be. I am not even sure, if I understood everything correctly, which I wrote above, since I am new to angular and real-time applications.</p>
  
  <p>What would be the next necessary steps, to get some Real-Time capability into a PHP/MySQL application?</p>