26 ms·
Uhhh...shouldn't the site itself be built using the framework it advertises? Because the page structure and styling is all there even with JS turned off.
by balloot 13y ago
Uhhh...shouldn't the site itself be built using the framework it advertises? Because the page structure and styling is all there even with JS turned off.
- anarchy8 13y agoIt's probably pre-compiled
- evanmoran 13y agoThe site definitely was written entirely in OJ=). What you are seeing is that OJ, since it is just JS, can be run server side as well as client side. Server side it generates HTML/CSS (so it renders with JS turned off), but client side it renders directly to the DOM for faster templating, and automatic event binding. The tool for server side static site generation is available in node npm. You can install it with `npm install -g oj`. Example projects can be found here: https://github.com/ojjs/oj-examples https://github.com/ojjs/oj-examples
- thibpat 13y agoThis server side execution is a good idea ! I think this is an important/valuable point of your idea.