Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
frontendbeauty
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
31.
▲
by
frontendbeauty
14y ago
I imagine the custom styles would be hard to maintain on more rapidly-evolving products.
32.
▲
by
frontendbeauty
14y ago
Exactly.
33.
▲
by
frontendbeauty
14y ago
I'm open to that. Like I've said, there's definitely room for cleanup of the implementation. Either way, this isn't a detail that's exposed to the application developer.
34.
▲
by
frontendbeauty
14y ago
It sounds like you are really questioning the usefulness of client-side JS apps in general. Certainly not every app makes sense to be a "single-page app". But if you are creating a single-page app, then why not also allow it to render on th
35.
▲
by
frontendbeauty
14y ago
While the library (Rendr) is written in CoffeeScript, you would of course be able to write your application code in JavaScript, or anything that compiles down to it.
36.
▲
by
frontendbeauty
14y ago
Author here. So, yes, bootstrapping the JSON on initial pageload would be a lot faster than waiting for the Backbone.Router to fetch it (for the Rails + Backbone approach). But therein lies the problem I was talking about: to bootstrap the
37.
▲
by
frontendbeauty
14y ago
Agreed, the underscore in the data-attribute isn't ideal. I initially tried to use camelCase, but alas, we often forget that DOM elements are case-insensitive: http://cl.ly/image/2c113k1h1L41
38.
▲
by
frontendbeauty
14y ago
Author here (spikebrehm). Good question. Yep, you could accomplish something similar by booting up PhantomJS or node-chimera [0] and scraping yourself, but that seems hacky and hard to scale. Justin Tulloss of Rdio talked about this appr
39.
▲
by
frontendbeauty
14y ago
Author here (spikebrehm): Jeremy, I think you're mistaking this for Keith Norman's SpainJS presentation ( http://www.youtube.com/watch?v=jbn9c_yfuoM ). He proposes the same approach, but I don't know if it ever got past a demo. Although i
40.
▲
by
frontendbeauty
14y ago
The author (spikebrehm) speaking here - that's a good observation! It's possible that the user will click on a link before the JS finishes downloading. Luckily, we've taken care to use real URLs for all links, and our pages render fully o
41.
▲
Slides and video from Spike Brehm's tech talk: Building Single-Page Apps
(nerds.airbnb.com)
36 points
by
frontendbeauty
14y ago
|
4 comments
42.
▲
Airbnb Tech Talk: Spike Brehm on Backbone, Node.js, and Single-Page Apps
(airbnb.com)
64 points
by
frontendbeauty
14y ago
|
3 comments
43.
▲
by
frontendbeauty
14y ago
Awesome! This is going to help so much.
44.
▲
by
frontendbeauty
15y ago
false
45.
▲
Try the konami code on Airbnb
(airbnb.com)
10 points
by
frontendbeauty
15y ago
|
4 comments