3 ms·
Heh, right. And if you've got something nested like a quote, a list, an aside etc etc, how do you represent that as a flat stream of chunks? I suppose you coul
by jaffathecake 10y ago
Heh, right. And if you've got something nested like a quote, a list, an aside etc etc, how do you represent that as a flat stream of chunks?
I suppose you could implement some kind of SAX-like thing expressed as ND-JSON…
…orrrrrr avoid all that by streaming HTML.
- RubyPinch 10y agowell, blockquote, ol, ul, aside, etc etc, are all flows, and as such are not permitted inside of p, which can only have phrasing content right?
- jaffathecake 10y agoRight, but they can all have paragraphs (and many other elements) as a descendant.
- iainmerrick 10y agoWell, personally I'd say "keep the styling and scripting to a minimum, don't make it a single-page app at all, and just load the whole page when you need it." But if I were charge of a magazine and ran it that way, it would quickly die from lack of ad revenue, oh well. :/