Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

How to organize an Output-Class?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
Dummkopf
Smarty Rookie


Joined: 19 Apr 2003
Posts: 23

PostPosted: Sun May 25, 2003 3:42 pm    Post subject: How to organize an Output-Class? Reply with quote

Hi,

I still need an idea in order to build a flexible Output-Class for my project.

The structure of the output-page is always the same table, but with different (static) contents - mainly graphics - depending on the style chosen by the user.

The generated output of the executed function has to be printed in the content-cell of that table. This output is suppost to consist of some (many?) template-snipplets, which have to be brought into the right order for displaying. (Tables, Form-Elements, Function-Messages, Error-Messages, and so on.)

Because there will be many graphics on the page, the users will be supposed to load a graphic-package onto their computer in order to minimize the server-traffic.

My question is how to organize such a class. It should only use one Smarty-object, has to be flexible regarding to the main-template and the content-cell and also has to manage the graphic-packages.

IŽd be thankful for any suggestions!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP