Tags:
create new tag
, view all tags

Feature Proposal: Allow adding PHP code to Wiki pages

Motivation

Server-side scripting facilities would make Twiki much more powerful.

Description

I am considering using Twiki as a simple content management system. However, with completely static content, it is not that well suited. I could include PHP pages from the Wiki pages, but adding direct support for PHP to Twiki would be much nicer. Additionally, it won't be a lot of work - you just need to pipe Twiki's output through the php4 binary.

-- RichardAtenrou - 29 Jun 2005

Impact and Available Solutions

WhatDoesItAffect: Rendering, Performance, Security
AffectedExtensions:  
HaveQuickFixFor:  

Note: Patch is attached as http://www.twiki.org/p/pub/Codev/EmbedPHPScripts/twiki-foo-bar-patch.diff. The patch is against the TWikiAlphaRelease of 15 Feb 2004.

Documentation

If necessary, user documentation of new features introduced by this proposal.

Examples

Example uses of features introduced by proposal.

Implementation

Any comments on how the feature is implemented or could be improved


Discussion:

Topic revision: r1 - 2005-06-29 - RichardAtenrou
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.