I'm not a pmdevil -- I'm vaguely interested in the Everything engine, but don't really have much of a reason to get to know it, and as I understand Perl Monks runs on a rather heavily modified Everything codebase. About my only regular contributions to the smooth daily running of the site are regular visits to Nodes to Consider.
The e2 engine is not heavily modified at all. See that's the beauty of e2, the engine doesn't change (well it does, but it's transparent to the everyday e2 developer), you just tackle on little bits of code (perl and html) here and there to add new features.
Here is an example, a little chunk from the approval nodelet
[%
use Everything::Experience;
my $isGod= isGod($USER);
return unless $isGod || getLevel($USER) > 5;
my $SETTING = getVars( getNode('approval nodelet settings','setting'
+) );
my $type = $NODE->{type}{title};
my %types;
{
my @types = split /,/, $SETTING->{types};
@types{@types} = (1) x @types;
}
return unless $types{$type} or grep $_ eq $type,
qw/modulereview bookreview note sourcecode snippet perltutorial pe
+rlnews/;
my $nid = getId($NODE);
Looks interesting doesn't it. Interested?
update:
zdog informs me that
"There is no such thing as an e2 engine. It's called Everything or ebase. E2 is just another site running on it like PM. And secondly, the 0.8 engine that PM runs on is quite heavily modified. The interface is the same but there are changes."
That's all correct ofcourse, and I do have a tendency to refer to the everything engine as e2, cause after all, e2 is everything2, but nonetheless, from the perspective of a pmdever, it doesn't matter one bit (if you're a god it might, but its not likely you'll become one anytime soon ;)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.