- search engines won't see js-rendered content
Matt Cutts: "For a while, we were scanning within JavaScript, and we were looking for links. Google has gotten smarter about JavaScript and can execute some JavaScript. I wouldn't say that we execute all JavaScript, so there are some conditions in which we don't execute JavaScript. Certainly there are some common, well-known JavaScript things like Google Analytics, which you wouldn't even want to execute because you wouldn't want to try to generate phantom visits from Googlebot into your Google Analytics. We do have the ability to execute a large fraction of JavaScript when we need or want to. One thing to bear in mind if you are advertising via JavaScript is that you can use NoFollow on JavaScript links"
it also means the server side is no longer just returning json, but should also be able to render html
Agree- but I think its not one or the other. my point is- we should not build single page apps at the expense of Conversely, we mustn't get entrenched at the lowest common denominator. Which can get really low.. Boon Kiat |
--
You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
To post to this group, send email to singap...@googlegroups.com.
To unsubscribe from this group, send email to singapore-rb...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.
3. a) Intercept clicks on pushState-supported browsers, basically IE ≤ 9 (GOTO #2)
--
tom
This discussion inspired me to explore 2 options: PJAX and Backbone.js
with PushState.
Writeup: http://cclow.github.com/Programming/2012/03/22/crazy-fast-web-app-with-pushstate/
Code: https://github.com/cclow/PushState-Demo-w-PJAX-and-Backbone
I think the PJAX solution addresses Pete's remaining concerns.
Honest feedbacks are welcomed. Hope it's helpful.
Codeschool has this really good beginner tutorial on backbone.js As previous, pushstate or client MVCs are "good to have", to me, but not material to single page app Boon Kiat |
|
From: Chin Chau Low ; This discussion inspired me to explore 2 options: PJAX and Backbone.js Writeup: http://cclow.github.com/Programming/2012/03/22/crazy-fast-web-app-with-pushstate/ I think the PJAX solution addresses Pete's remaining concerns. Honest feedbacks are welcomed. Hope it's helpful. |
On Feb 20, 11:26 pm, Pete wrote: |
-- |
As previous, pushstate or client MVCs are "good to have", to me, but not material to single page app
To unsubscribe from this group, send email to singapore-rb+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.
To unsubscribe from this group, send email to singapore-rb+unsubscribe@googlegroups.com.
non-public-facing app: backbonepubilc-facing app: rails local templates
--
Chin Chau Low
@siong, u were talking about routing and multiple routes on 1 page, etc
sounds a like reinventing what angular knows by default anyway.
i understood ming's worries about it. it was a very young framework a yr ago.
it indeed went thru a couple of major changes (~3 times in a yr).
however a conversion to a newer major version might have taken a few hours,
it's negligible compare to the days of work it has saved.
it's going thru a major change right now, before they release v1.0 in a few weeks,
but i was using it all the time for almost a year now and it was truly awesome.
what i would explore deeper about crawling is using phantomjs.
it can run angular perfectly (v0.9.6 was fine at least)
and can spit out the resulting html,
(which u can cache in files for minimizing server load,
however u introduce the dared cache invalidation problem…)
this way there is no need for dual maintenance of template code
on front and backends.
--
tom
--
You received this message because you are subscribed to the Google Groups "Singapore Ruby Brigade" group.
To post to this group, send email to singap...@googlegroups.com.
To unsubscribe from this group, send email to singapore-rb...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/singapore-rb?hl=en.