Friday, 4 January 2019

are node functions supposed to be called right from the webpage, or from a clientside javascript function?

I almost didn't post this but quite frankly, you're all much much smarter than I, so if anyone can remedy this, it's the people here.I've checked stackoverflow and other resources, but I am, in a word, stuck.Here's how I visualize the movement of information to and from a webpage. Crude, but so am I.So as I was thinking about this, I wondered, do you call clientside and serverside functions directly? Like, if you want the server to do something, do you invoke it directly? Or does it work as indicated in my awesome drawing?Long time ago I worked on a project that had clearly defined functions and classes, some were for manipulating data, and others were just for the dbconnection. Not sure if this holds true for node programming.

Submitted January 04, 2019 at 04:27PM by orksaredorks

No comments:

Post a Comment