Hacker News new | past | comments | ask | show | jobs | submit login

You couldn't do that before. Combining a PHP backend and a frontend framework meant you had two different html templates.



Thats 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.


What are you event talking about? Are you aware that any touring completel language can output JSON... what two different html templates?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: