Re: Re: [PEPr] Comment on Console::Console_Getargs

From: Date: Thu, 29 Apr 2004 08:48:16 +0000
Subject: Re: Re: [PEPr] Comment on Console::Console_Getargs
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28539@lists.php.net to get a copy of this message
Stephan Schmidt wrote:
Could you give me some examples of what you have in mind, I am not sure I understand :)
I guess he's talking of: pear -f foo === pear.php?f=foo
not sure if this ties in with what I have in my framework essentially i have a set of classes for parameter parsing/reading. you simply define they type of parameter parsing used to initiate the core script (shell, www, soap etc). then it parses the parameters and returns an array with all parameters i have the same for the other direction .. that means it can generate the necessary parameters. this can be quite cool. for example my www parser can handle mod_rewrite as well as get/post. with a single change in my config file i can make my entire system use mod_rewrite for parameter passing. this why i can execute all of my modules the same way regardless of the context in which they are called. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.dev (#28539) next »