Everything2
Near Matches
Ignore Exact
Full Text
Everything2

superdoc

created by eclip5e

(thing) by nate (3.3 d) (print)   ?   (I like it!) 1 C! Thu Dec 16 1999 at 23:25:05

A "Superdoc" is a document that has Everything's embedded perl functionality. Something that looks like this:

[%

    "hello $$USER{title}!";
%]

Would print out "Hello nate!" on my screen... or whoever was browsing the site. These chunks of embeddible perl behave like perl functions -- usually they concatenate a string that is then returned and embedded in the document.

Superdocs are a great way to write CGI scripts, because it allows us to create nodes like Page of Cool or Everything's Best Users... and I can code them up and debug them right in my browser.

Superdocs also have the ability to call chunks of htmlcode -- these are nodes which are reusable chunks of embeddable perl and can optionally take parameters:

[{textfield:title}]

would create a textfield that would let you edit the current node's title -- provided (of course) that you had the correct permissions.


(thing) by sabre23t (3.1 y) (print)   ?   (I like it!) 1 C! Thu Mar 23 2000 at 10:55:38

Updated Wed Apr 26 2000 at 11:46 utc

At first I thought superdoc are PerlScript documents. But that just showed I am very windows centric and have bad memory. PerlScript uses <%...code...%> whereas Apache web server Mod_Perl uses [%...code...%].

Other than providing the power to call CGI, superdoc also allows the blessed E2 noder to:

You can list the superdocs on E2 using Everything Document Directory. The list indicated that Everything 2 Editors (such as pi and bozon) also have the powers to create superdoc not just the gods and best users of E2 Castes. You could also see that many of the older superdocs below Everything Time Search are really due to the size limitation of E1 nodes.


printable version
chaos

Everything2 Easter Eggs Two Golden Rules of Being a Woman How Pac-Man and Ms. Pac-Man have sex Blessed
Everything 2 Editors E1 Everything2 URL Interface Komm, Gib Mir Deine Hand
Images mod_perl Everything2 Civil War pi
EDB E2 h2g2 XP
bless node_id perlscript Lou Reed
Apache memory leak The Wanderers Daisuke Matsuzaka
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
Leonard Koan
Black, not Hispanic
apostrophe
Eggnog
Indian Removal Act
English As She Is Spoke
Civilization
Love letter of housekeeping
A community without shame has no future
Astrophotography
Trieste
This program has performed an illegal operation and will be shut down
How to smoke a cigar
New Writeups
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
stainedglass
1(fiction)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
This page courtesy of The Everything Development Company