Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: PerlMonks site design

by jdporter (Paladin)
on May 16, 2012 at 21:35 UTC ( [id://970928]=note: print w/replies, xml ) Need Help??


in reply to PerlMonks site design

Can someone post the templates that generate the pages

I had to upvote this just because it gave me a much needed laugh on this long weary day.

I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

Replies are listed 'Best First'.
Re^2: PerlMonks site design
by kimmel (Scribe) on May 17, 2012 at 01:01 UTC
    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?

      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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://970928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found