Ben Furfie, North-West England, UK
BS: Yes. Building frontends using exclusively client-side code (HTML, JavaScript and CSS) and hooking them to APIs via AJAX has two clear advantages over the server-rendered-HTML model (PHP, ASP, JSP and so on).
BENEFIT 1: UBIQUITY
+ Client-side code is based on open standards and can run virtually anywhere. These days, with technologies like Cordova, React Native and Electron, ‘anywhere’ includes desktop and mobile apps too. This provides an incredible opportunity for code reuse across platforms. We see many apps taking advantage of this today, including Slack, Twitter, Medium and Facebook.
BENEFIT 2: COST
+ Static hosting is unbelievably cheap. Cloud providers like AWS, Azure and Google Cloud let you host static files (JavaScript, HTML, CSS, images and so on) on a global, distributed infrastructure…
