in reply to Re: The REAL reason for why they choose PHP over Perl.
in thread The REAL reason for why they choose PHP over Perl.
vs PHP's:m <% print "Hi!" %>
Mason lets you embed in an identical style to PHP, the barrier to entry is due to installed code base with most shared webservers. You want popular forum software? VBB and PHPBB are both PHP. You want a Bloggity blog blog blog? Wordpress,<? print "Hi!" ?>
The header included in above site:<& ../check_auth &> <& ../header, title => "Welcome ".ucfirst(lc($user)) &> <& tabrow, active => 'main' &> <& ../iconcol, active => 'user' &> <div class="content"> Woo! Lookit me! I have content! (User/Main) </div> <& ../footer &>
Damnit, now I have to go play with this stuff again. :/<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=IS +O-8859-1"> <TITLE><% $basetitle %></TITLE> <& css &> </HEAD> <BODY> <%args> $css => "main.css" $cssinclude => 0 $title => "" </%args> <%init> my $basetitle = "MasonTest"; $basetitle .= ": $title" if $title ne ""; </%init>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: The REAL reason for why they choose PHP over Perl.
by exussum0 (Vicar) on Jun 15, 2006 at 04:32 UTC | |
by Azhrarn (Friar) on Jun 15, 2006 at 15:30 UTC | |
by exussum0 (Vicar) on Jun 15, 2006 at 15:53 UTC | |
by Azhrarn (Friar) on Jun 15, 2006 at 17:04 UTC | |
Re^3: The REAL reason for why they choose PHP over Perl.
by iguanodon (Priest) on Jun 15, 2006 at 15:08 UTC | |
by Azhrarn (Friar) on Jun 15, 2006 at 15:18 UTC | |
Re^3: The REAL reason for why they choose PHP over Perl.
by brd (Acolyte) on Jun 16, 2006 at 00:49 UTC |