in reply to Embeding Perl in HTML the PHP way
However ...
Generally speaking, Perl does not pursue this objective in (what you call) “the PHP way,” and in my experience: these days, neither does PHP(!).
The Perl language clearly espouses the notion of “separation of concerns,” where the logic of the application is studiously separated from the presentation. Typically, a Perl-driven (and a modern-day PHP-driven ...) web-site is viewed as being: “a program that takes a URL-string and possibly POST-data as input, and which generates an HTML string as output ... using a template to do so.”
If you are still “embedding programming_language into HTML,” then I cordially advise you that you should re-consider that approach. Even though the PHP language started-out in this direction, it has since shifted away from it ... and, so should you.
P.S.: I speak as someone equally conversant and up-to-speed in both language systems, not-to-mention many others. “This is not my first rodeo.” (As, as you will find, is the case for most of us around here.)
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Embeding Perl in HTML the PHP way
by davido (Cardinal) on Sep 11, 2012 at 19:58 UTC | |
by locked_user sundialsvc4 (Abbot) on Sep 12, 2012 at 00:05 UTC | |
by aaron_baugher (Curate) on Sep 13, 2012 at 07:54 UTC | |
|
Re^2: Embeding Perl in HTML the PHP way
by GrandFather (Saint) on Sep 12, 2012 at 10:32 UTC | |
by tobyink (Canon) on Sep 12, 2012 at 20:08 UTC | |
|
Re^2: Embeding Perl in HTML the PHP way
by heatblazer (Scribe) on Sep 11, 2012 at 19:51 UTC |