Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: thoughts on creating modular perl for web application

by dragonchild (Archbishop)
on Mar 15, 2005 at 01:29 UTC ( #439520=note: print w/replies, xml ) Need Help??


in reply to thoughts on creating modular perl for web application

You might want to check out Apache::ASP, Embperl, and possibly even PHP. A lot of places use PHP as a glorified rendering layer on top of a Perl backend.

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

  • Comment on Re: thoughts on creating modular perl for web application

Replies are listed 'Best First'.
Re^2: thoughts on creating modular perl for web application
by punkish (Priest) on Mar 15, 2005 at 04:03 UTC
    A lot of places use PHP as a glorified rendering layer on top of a Perl backend.
    I am curious, but why? Why use a hammer to bang a 3" nail in most of the way, and then use a screwdriver to hit on the nail head to drive it the last quarter inch? Why not just use the hammer all the way?

    Or, just throw away the hammer and turn the screwdriver around and make it into a hammer. Would justify the adage, "No pain, no gain."

    --

    when small people start casting long shadows, it is time to go to bed
      Because PHP started life as a Perl templating module. :-)

      Being right, does not endow the right to be rude; politeness costs nothing.
      Being unknowing, is not the same as being stupid.
      Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
      Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

        Because PHP started life as a Perl templating module
        Interesting. I had no idea. The funny thing is, afaik, Perl has way more templating options than PHP. I know of only one in the PHP world -- Smarty. Other than that, PHP code ends up being a mess of logic and display all munged together, much like Cold Fusion or ASP code does.

        --

        when small people start casting long shadows, it is time to go to bed

      The rap is that PHP is very easy to embed in HTML and it has a reputation of being "easier" for non-programmers to use. Whether or not that's true is up for interpretation, but that's the rap.

      One example that I'm extrapolating is MacWorld.com because it's listed as a Bricolage site but has some deeper pages (like this one) with PHP extensions. Extensions don't mean much because you can tweak apache to do whatever you want, but that's my theory and I'm sticking to it.

      -Any sufficiently advanced technology is
      indistinguishable from doubletalk.

      My Biz

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2021-06-14 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (64 votes). Check out past polls.

    Notices?