Re: Re: [Bx-bugs] [Bug 899] doctypes

Christian Stocker <[email protected]> Mon, 30 Jan 2006 11:13:16 +0100
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 30.1.2006 10:54 Uhr, qMax wrote:
> This looks very interesting, since it adds scalability,
> and cleans up interfaces.
> If i get right, this could generalize all of
> collection::getPipelineNameByRequest()
> collection::getPipelineNameById()
> collection::getStylesheetNameByRequest()
> collection::getFiltersByRequest()
> plugin::getPipelineName()
> plugin::getStylesheetNameById()
> into just 2 methods of bx_plugin and bx_collection.

Didn't think about that, but you're basically right

it still needs 2 methods
collection::getPipelineParametersById()
and
collection::getPipelineParametersByRequest()

since the parameters are differernt.

chregu

> 
> Sunday, January 29, 2006, 6:38:07 PM, Christian Stocker wrote:
> CS> Hi again
> CS> I had some idea, about the getStylesheetNameByRequest method.
> CS> Why not add another method like $collection->>getPipelineParametersByRequest($filename,$ext)
> CS> and the plugins can return a whole array of pipeline parameters, the
> CS> xmldoc would then
> CS> return array("stylesheet" => "mystylesheet.xsl");
> CS> and the bxcms action puts them into the pipeline.
> CS> This would make it more flexible to add any parameter to the pipeline
> CS> and not just one called "stylesheet".
> CS> chregu
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms