V
V
Vitaly Kirenkov2014-11-03 21:33:01
JavaScript
Vitaly Kirenkov, 2014-11-03 21:33:01

What is the scope of Ember.js?

I took up a detailed study of this framework. Looks interesting and easy to use. But here the whole site turns out, in theory, lives on one page, since all the templates lie on it.
Or can they be worn through the pages? That is, some basic ones, a la header / footer?
I’m also interested in how SEO-friendly sites on ember are, given that all urls come after the hash?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Artur Smirnov, 2014-11-06
@artursmirnov

EmberJS is a framework for building SPAs (Single Page Applications). I would advise you to look directly towards the Ember CLI , since Ember is moving towards abandoning the classical architecture towards ES6 Modules.
As far as SEO goes, spiders aren't very good at indexing client-side rendered apps yet, but this can be easily fixed with tools like prerender.io . As far as URLs go, it's very easy to enable Ember to use the History API instead of #. Just keep in mind that the web server that serves your application must also support this (proxy all requests to index)

M
My joy, 2014-11-03
@t-alexashka

Amber for SEO is not very good. It's not even about the hashes, it's about the templates themselves. Since there, without substitutions, it turns out crap that it is undesirable to start indexing, and substitutions go at the js level, so search robots do not see the final text. In general, either use it for non-indexed parts of the site (admin panel, etc.), or for specific tasks that do not interfere with the main function of the site (chat, sse, etc.)

A
Anton Shamanov, 2014-11-03
@SilenceOfWinter

There is such a test on business management - they give you a pencil and ask you to find 50 ways to use it in 15 minutes ... I really liked ember, but I rarely use it - I made backends for two sites. As for the frontend - a matter of taste, as for SEO - Yandex / Google have already learned how to work with similar sites tolerably, for safety net you can make a static version for the site map

T
theaidem, 2014-11-03
@theaidem

Ember is difficult for me, after several attempts to make something intelligible, my head is spinning from JSa, and even CoffeeScript does not save. Look for Andrey Listochkin's reports on youtube, he talks about Ember interestingly

K
Konstantin Kitmanov, 2014-11-04
@k12th

Client-side rendering sites are not suitable for SEO unless you are willing to manually move all the logic to the server as well. Ember is not for websites, but for applications. Is search engine optimization necessary for, for example, Gmail? No.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question