Can someone give me a basic understanding of how CF tags in Javascript work? I am trying to understand the flow of how data is requested for a webpage.
For example, when a browser requests a page, the browser makes a request to the web server. The web server loads up the page for the browser. If, there are CFML tags, the web server will first check with the CF server, convert the CFML to HTML and then send the page back to the broswer (something basically like that).
Well, how does this flow change if CF tags are located in Javascript? Will the web server make two requests to the CF server? First, when the Javascript is loaded, and secondly for the HTML? Or, does it all get converted at once.
I don't know if what I am asking makes any sense, but I am just trying to understand how the flow from the web server to the CF server is altered with Javascript, and more importantly, when CF tags are within Javascript.
Thanks!
For example, when a browser requests a page, the browser makes a request to the web server. The web server loads up the page for the browser. If, there are CFML tags, the web server will first check with the CF server, convert the CFML to HTML and then send the page back to the broswer (something basically like that).
Well, how does this flow change if CF tags are located in Javascript? Will the web server make two requests to the CF server? First, when the Javascript is loaded, and secondly for the HTML? Or, does it all get converted at once.
I don't know if what I am asking makes any sense, but I am just trying to understand how the flow from the web server to the CF server is altered with Javascript, and more importantly, when CF tags are within Javascript.
Thanks!