PHP Programming Language - Cultural View

PHP Programming Language - Cultural View PHP Programming Language - Cultural View

culturalview.com
from culturalview.com More from this publisher
10.02.2013 Views

PmWiki 254 PmWiki Original author(s) Patrick R. Developer(s) PmWiki [2] [1] Michaud Stable release 2.2.16 / May 10, 2010 Preview release SVN only / nightly Operating system Cross platform Platform PHP Type Wiki License GNU General Public License Website http://www.pmwiki.org PmWiki is wiki software written by Patrick R. Michaud in the PHP programming language. It is free software, licensed under the terms of the GNU General Public License. Design focus PmWiki is designed to be easy to install and customize as an engine for creating professional web sites with one to any number of content authors. The software focuses on ease-of-use, so people with little IT or wiki experience will be able to put it to use. The software is also designed to be extensible and customizable. The PmWiki wiki markup shares similarities with MediaWiki (used by Wikipedia). The PmWiki markup engine is highly customizable, allowing adding, modifying or disabling markup rules, and it can support other markup languages. As an example, the Creole specifications can be enabled. [3] Features Content storage PmWiki uses regular files to store content. Each page of the wiki is stored in its own file on the web server. Pages are stored in ASCII format and may be edited directly by the wiki administrator. According to the author, "For the standard operations (view, edit, page revisions), holding the information in flat files is clearly faster than accessing them in a database..." [4] PmWiki is designed to be able to store and retrieve the pages' text and metadata on various systems and formats. It does not support databases in its default installation. However, via plug-ins, PmWiki can already use MySQL or SQLite databases for data storage. PmWiki supports "attachments" (uploads: images or other files) to its wiki pages. The uploads can be attached to a group of pages (default), individually to each page, or to the whole wiki, depending on the content needs and structure. There are PmWiki recipes allowing an easier management of the uploaded files, e.g. deletion or thumbnail/gallery creation.

PmWiki 255 Wiki structure In PmWiki, wiki pages are contained within "wiki groups" (or "namespaces"). Each wiki group can have its own configuration options, plug-ins, access control, skin, sidebar (menu), language of the content and of the interface. By default, PmWiki allows exactly one hierarchical level of the pages ("WikiGroup/WikiPage"), but through recipes, it is possible to have a flat structure (no wiki groups), multiple nested groups, or sub-pages. Special wiki groups are "PmWiki", Site, SiteAdmin and Category which contain the documentation and some configuration templates. Templates (skins) PmWiki offers a template scheme that makes it possible to change the look and feel of the wiki or website with a high degree of flexibility in both functionality and appearance. Access control PmWiki permits users and administrators to establish password protection for individual pages, groups of pages or the entire site. For example, defined zones may be established to enable collaborative work by certain groups, such as in a company intranet. Password protection can be applied to reading, editing, uploading to and changing passwords for the restricted zone. The out-of-the box installation uses "shared passwords" rather than login names, but a built-in option can enable a sophisticated user/group based access control system on pages, groups of pages or the whole wiki. PmWiki can use passwords from config files, special wiki pages, .htpasswd/.htgroup files. There are also user-based authorization possibilities and authentication via various external sources (e.g. LDAP, forum databases etc.). Customization PmWiki follows a design philosophy [5] with the main objectives of ease of installation, maintainability, and keeping non-required features out of the core distribution of the software. PmWiki's design encourages customization with a wide selection of custom extensions, known as "recipes" available from the PmWiki Cookbook. [6] Creating and maintaining extensions and custom installations is easy thanks to a number of well documented hooks in the wiki engine. System requirements Prerequisites for running the PmWiki wiki engine: • PHP 4.3 or later • Any webserver that can run PHP scripts (e.g. Apache, Microsoft IIS, Lighttpd) • Write permissions for the webserver user account in the PmWiki tree (required for off-line editing only) • No file type extension restrictions on the webserver (sometimes a problem with free web hosting providers) PmWiki has been reported to work with the following OS/webserver combinations: • Apache 1.3 or 2.2, on roughly anything (Unix, Linux, Windows, and Mac OS X) • Microsoft Internet Information Server, on Windows • Appweb [7] (a very small, php-enabled webserver) executing on a Linksys NSLU2 Network Storage Link device (running Unslung 5.5 beta, a Linux derivate for embedded systems) • x86 Linux + LiteSpeedWeb Server Standard Edition • There is a "recipe" to allow running PmWiki "Standalone", without a webserver, for example from a Flash USB stick. [8]

PmWiki 255<br />

Wiki structure<br />

In PmWiki, wiki pages are contained within "wiki groups" (or "namespaces"). Each wiki group can have its own<br />

configuration options, plug-ins, access control, skin, sidebar (menu), language of the content and of the interface.<br />

By default, PmWiki allows exactly one hierarchical level of the pages ("WikiGroup/WikiPage"), but through recipes,<br />

it is possible to have a flat structure (no wiki groups), multiple nested groups, or sub-pages.<br />

Special wiki groups are "PmWiki", Site, SiteAdmin and Category which contain the documentation and some<br />

configuration templates.<br />

Templates (skins)<br />

PmWiki offers a template scheme that makes it possible to change the look and feel of the wiki or website with a<br />

high degree of flexibility in both functionality and appearance.<br />

Access control<br />

PmWiki permits users and administrators to establish password protection for individual pages, groups of pages or<br />

the entire site. For example, defined zones may be established to enable collaborative work by certain groups, such<br />

as in a company intranet.<br />

Password protection can be applied to reading, editing, uploading to and changing passwords for the restricted zone.<br />

The out-of-the box installation uses "shared passwords" rather than login names, but a built-in option can enable a<br />

sophisticated user/group based access control system on pages, groups of pages or the whole wiki.<br />

PmWiki can use passwords from config files, special wiki pages, .htpasswd/.htgroup files. There are also user-based<br />

authorization possibilities and authentication via various external sources (e.g. LDAP, forum databases etc.).<br />

Customization<br />

PmWiki follows a design philosophy [5] with the main objectives of ease of installation, maintainability, and keeping<br />

non-required features out of the core distribution of the software. PmWiki's design encourages customization with a<br />

wide selection of custom extensions, known as "recipes" available from the PmWiki Cookbook. [6] Creating and<br />

maintaining extensions and custom installations is easy thanks to a number of well documented hooks in the wiki<br />

engine.<br />

System requirements<br />

Prerequisites for running the PmWiki wiki engine:<br />

• <strong>PHP</strong> 4.3 or later<br />

• Any webserver that can run <strong>PHP</strong> scripts (e.g. Apache, Microsoft IIS, Lighttpd)<br />

• Write permissions for the webserver user account in the PmWiki tree (required for off-line editing only)<br />

• No file type extension restrictions on the webserver (sometimes a problem with free web hosting providers)<br />

PmWiki has been reported to work with the following OS/webserver combinations:<br />

• Apache 1.3 or 2.2, on roughly anything (Unix, Linux, Windows, and Mac OS X)<br />

• Microsoft Internet Information Server, on Windows<br />

• Appweb [7] (a very small, php-enabled webserver) executing on a Linksys NSLU2 Network Storage Link device<br />

(running Unslung 5.5 beta, a Linux derivate for embedded systems)<br />

• x86 Linux + LiteSpeedWeb Server Standard Edition<br />

• There is a "recipe" to allow running PmWiki "Standalone", without a webserver, for example from a Flash USB<br />

stick. [8]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!