html - What logic goes where: express + jade/ejs + html5 + css + websockets -
ok. i'm trying learn node.js/express , want clarify how jade/ejs, html, , css fit together. correct me if i'm wrong:
- application logic done in node.js/express
- some of logic/variables passed jade/ejs html engine dynamically serve html
- css still formats served html depending on requesting device.
forgive me, seems lines starting blur js; it's hard tell logic should done in node.js/express , logic should done in jade/ejs.
this gets blurrier when using websockets, since there logic going on client-side. there's display control logic going on @ 5 different places.
you pretty have it! here tutorial think clear confusion if have time take @ it. uses of modules mentioned , job explaining role of each element is.
Comments
Post a Comment