With the rise of Facebook and Twitter we’re so used to instantly updating data and being able to judge fresh content almost instantly. Facebook for instance automatically updates how long ago someone left a comment on the fly without even refreshing the page. There’s an easy frontend solution to generating this. and here are the advantages and disadvantages. Advantages – Generating the same server side puts the strain on your server, using JavaScript means everything is handled client side – JavaScript allows for the time to be updated every minute, this wouldn’t be possible using server side technology – A […]
↧