4 ms·
I believe you misunderstand, I'd rather distance myself from the NodeJs ecosystem and use standard UNIX tools for developing web sites. I believe sh is great as
by adriangrigore 5y ago
I believe you misunderstand, I'd rather distance myself from the NodeJs ecosystem and use standard UNIX tools for developing web sites. I believe sh is great as a templating language.
- cxr 5y agoI didn't say anything about NodeJS. (In fact, that would be adding a different dependency, not reducing the count by one.)
- adriangrigore 5y agoSo how would you interpret the ES6 backtick strings?
- cxr 5y agoThe "obvious" way. (The same runtime that you're planning to use for the JS you mentioned in your original comment. <https://news.ycombinator.com/item?id=28349504 https://news.ycombinator.com/item?id=28349504>)
- adriangrigore 5y agoAnd do the generation on the client side?
- cxr 5y agoIf by "client side" you mean in the web browser of you, the author of a new piece of content, then yes—a site that is "capable of generating itself". (If you mean templates that are evaluated in the browser of every site visitor every time they refresh the page, then no.)
- adriangrigore 5y agoAh, yeah, finally got your "capable of generating itself" idea. Pretty cool, interesting to experiment on it. I guess it would be something like a site that downloads itself also.
- deleted 5y ago[deleted]
- adriangrigore 5y agoBut then you would have a Js dependency.