StandardWebTopicAPI < Codev < TWiki

Many of the sub-functions in TWiki::*, access the webName variable via $TWiki::webName.

Obviously this is messy and makes the modularisation work difficult. I'm in the process of removing this dependancy in order to start work PackageTWikiStore.

In the progress I will define a standard API for functions related to Web.Topic access.

Initially it will be:

function($web,$topic, otherstuff)

However it's target is something like this:

function($web, @topiclist, %variables)

or even just

function(@WebTopicKey, %variables)

Note, using a hash to pass variables allows for some flexiblity. Furthermore, most of this pain will go away once something like PackageTWikiTopic is completed.

NB: None of the allow is going into TWikiReleaseSpring2001.

-- NicholasLee - 15 Mar 2001

Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r1 - 2001年03月16日 - NicholasLee
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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /