Hello Aaron,

Monday, May 28, 2001, 3:10:50 PM, you wrote:

AT> Do you mean you want to daisy chain a bunch of scripts or something? That
AT> would appear a bit of a nasty way to do things.
I know so I want to know how to properly construct pages. For example
I have a page where are infos about new items in the shop and also there
are daily updated news and also choice of categories an also product
descriptions (everything goes from database). It seems that everything
should be generated from one script. I think about that specialized
task will be in separate script one will run them and data from
them will be send to template (and subtemplates). I don't know if I do
it good maybe there are better concepts.

AT> The nicest way to do it would be to have handlers for each section which
AT> share a "page" object, with the handlers called from a single script,
AT> which then passes the object (or hash)  tothe template object which is
AT> then processed.
Yes, it will be fine. I'll see how it works.

-- 
Best regards,
 Mirek
 mailto:[EMAIL PROTECTED]



Reply via email to