Re: [SMARTY-DEV] Bringing the {insert} functionality to other tags

From: Date: Thu, 12 Sep 2002 07:41:37 +0000
Subject: Re: [SMARTY-DEV] Bringing the {insert} functionality to other tags
References: 1 2 3 4 5 6 7  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-268@lists.php.net to get a copy of this message
That depends on the flexibility you want to supply. If it's possible a dynamic nuumber of stages (which each define how the output should be saved etc) would be really usefull. A lot of advanced implementations would benefit from the possibility to add new stages to the process to, for example, partially render the document or for multi-lingual use. But using constants as names doens't sound nice. Anyway, to implement a full-featured multi-stage parser we need to rewrite a lot of code. Someone should work this out thoroughly, but I think it's a _realy_ good idea. Monte Ohrt wrote:
sounds good to me. It really is a multi stage parser, it just isn't laid out so obviously in the code (yet). I wouldn't name them stage1/stage2/... though, just name them appropriately. Monte Ivo Jansch wrote:
Hi Monte, Ivo Jansch wrote:
Another thing I've been thinking about is a 'multistage parser'.
Monte, what did you think of my multistage parser proposal? Greetings, Ivo
-- Bram v. Leur The Netherlands Proud to PHP!

« previous php.smarty.dev (#268) next »