Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: PerlMonks site design

by kimmel (Beadle)
on May 17, 2012 at 01:01 UTC ( #970962=note: print w/replies, xml ) Need Help??


in reply to Re: PerlMonks site design
in thread PerlMonks site design

Am I correct in assuming this has to do with how PerlMonks stores things in the database (I read in another post about the issues around setting up a PM clone) or is the page output straight up hardcoded in?

Replies are listed 'Best First'.
Re^3: PerlMonks site design
by jdporter (Canon) on May 17, 2012 at 16:24 UTC

    The former. The Everything engine (upon which PerlMonks is based) is primarily code driven. At the page top level, Everything does use an ASP/JSP-like template format. But a typical template as used here consists of a bunch of calls to code and very little (often zero) HTML. For example, the Perl Monks Discussion page's template looks like this:

    [{get_sitedoclet}] [{votehead}] [{newlistapproved:monkdiscuss,monkdiscuss approved linktype,PerlMonks +Discussions,15,navbaron,showunapproved}] [{votefoot}] [{newmoderatelist:monkdiscuss,monkdiscuss approved linktype,Unapproved + Discussions}] [{addnewform:monkdiscuss,Discussion Item,Give us your input}]

    Each one of those is a call to code. And yes, everything is stored in the database.*

    * The exceptions are the scripts that actually handle the web request (index.pl) and the common modules, such as CGI.pm, and a few cron scripts, such as Vote Fairy.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://970962]
help
Chatterbox?
[Tanktalus]: I'm sure it'll make perfect sense once we figure it out :)
[Lady_Aleena]: marioroy, not a quoting error. I can't run it on the command line. It is when I put it in qx() where it falls apart.
Discipulus hired to use Perl in Eataly? haired maybe
[choroba]: We're hiring
[Discipulus]: wow praha!
[Tanktalus]: choroba: do I have to move? :)
Discipulus has too much roots in a 2770 yo town
[marioroy]: I want a job after completing MCE in about a week. But feel that I've moved to the wrong place.
[choroba]: I fear so. We have offices in Prague, Brno, Saigon and San Francisco.
[Discipulus]: choroba if let your company to hire Tanktalus and marioroy ... what a big fishing!

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-04-23 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.