Question:
What does this mean in an "every day" language?
?
2011-09-26 04:03:09 UTC
parses templates and compiles them into PHP scripts (parses -> compiles)
Five answers:
BARON'S
2011-09-26 04:16:37 UTC
Parse means to analyze and check the code. Compiles means to convert from one code or language to another.



For the above, basically it analyze and check the templates and convert them into php code or runtime code.
AnalProgrammer
2011-09-26 11:22:50 UTC
To parse some text or a text file is to split parts of the text out as required.

To compile is to convert from text to executable form, to convert into a machine language.



PHP is written to sit in the middle of HTML and javascript text. PHP is only executed on the server machine.

So what that means is that you send a request to a web page. Say Yahoo.

The request is received by the Yahoo server and the text in the requested page is parsed to separate out the PHP. This is all done in one process so the code is not actually separated and shuffled and then put back together. The PHP is then compiled and executed which will result in HTML and possibly JavaScript being produced. The final text file is sent back to your computer to be viewed. What you get and see is produced only from HTML and JavaScript. You do not see any PHP.



Have fun.
Raysor
2011-09-26 11:26:39 UTC
We're gonna rip you off because you don't inderstand what you are doing and we are going to confuse you with gobbledegook.
?
2011-09-26 11:06:56 UTC
You can't "everyday-ize" that. It's just too technical, and besides, that's the simplest way to express that concept.



And remember that, for quite a lot of people, this IS everyday language.
mak
2011-09-26 11:16:19 UTC
you must be looking for this

http://www.sitepoint.com/smarty-php-template-engine/

good explanation too.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...