What do javascript frameworks offer?
AngularJS, Ember.js, Backbone.js, and other javascript frameworks have taken off because they let you have your javascript and eat it too. With modern javascript techniques, it is possible to load data and render it quickly as the user interacts with the site. This is a huge advantage over the old click-and-wait websites of the past, and we're just scratching the surface of what is possible.
All this interactivity is achieved by building the html in the client instead of on the server. As the users interact with the webpage, logic on the page is morphing the very structure of the page. This allows you to refresh part of a page without reloading the rest of the page, or rearrange data without making any requests to the server.
They left you with a new set of problems.
This new problem is actually the flip side of the benefit. These frameworks are using the browser to build the actual content of the page. When Google crawls your site, it just reads the raw pages. It doesn't open them in a browser and it doesn't run the javascript. So, it doesn't see the content, it just sees an empty page. Obviously, this isn't good for your Google rankings. Google can't direct users to your page if it can't even tell what your page is about.
Partager