4 ms·
You couldn't do that before. Combining a PHP backend and a frontend framework meant you had two different html templates.
by robertoandred 3y ago
You couldn't do that before. Combining a PHP backend and a frontend framework meant you had two different html templates.
- omnimus 3y agoWhat are you event talking about? Are you aware that any touring completel language can output JSON... what two different html templates?
- tacker2000 3y agoThats not true. You had one .php file (or more, if you use includes) where everything was located: the HTML, if necessary any JS via <script> and interspersed with <?php … ?> depending on what dynamic stuff you wanted to output. And this is parsed to one output file that is sent back to the browser.