Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Yeah, I know, a rite of passage in Perl hackerdom is to write your own: 1) CMS (content management system), 2) templating engine, and 3) wiki. I want to throw my hat into the ring too. Therefore, I present to you...

sk - a (very) simple wiki. There are three main ideas going on here. First, I hate how every different wiki has it's own markup syntax. HTML is the language of the web, no? So, use HTML in the wiki. (And yes, I know that means you can embed some nasty JavaScript...see the disclaimer.) Or use no formatting if you like.

Second, I wanted to be able to deploy the wiki in a single file (minus CSS, JavaScript, and images) and that had the "minimal set" of module dependencies. This requires only CGI. No HTML::Template (though I like it), no Class::DBI, nothing. (In fact, it's probably easier to install on Windows than *nix.) (Update: Oh, I forgot it also uses IO::File and File::Spec, but the point was to have a small set of standard-distribution-only module dependencies.)

And third, I hate how textboxes aren't resizable by default. With a little bit of JavaScript help, there's no longer that limitation. So give it a try and let me know what you think.


In reply to Another wiki!? Yes... by t'mo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-05-27 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found