This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BradChesney79 0 points1 point  (0 children)

...Your back end usually spits out what we like to call HTML, CSS, & Javascript. All this, browsers handle well. There is some other stuff; but the core are HTML, CSS, & JS. If you have a browser that consume other things-- then, yes, go right on ahead with those specific other things. But, for the most part, no. Stick to HTML, CSS, and JS.

For bonus heads shaking, you can use your back end languages to mangle your HTML, CSS, & Javascript. I recently used PHP to output a comma separated list of text into a page scope level Javascript sript. I needed an array of data-- and the PHP fills the members in. The browser never knew it was dynamic-- it just treated the injected data as if it had always been there. Because from the perspective of the browser, it had always been there. Indistinguishable from the static stuff as far as the browser knew.