On Wednesday 29 August 2007, Kore Nordmann wrote:
> On Wed, 2007-08-29 at 13:50 +0200, Raymond Bosman wrote:
> > > 1) Use Structs / Objects
> > >
> > > You may combine lots of information in some structs or objects
> > > representing logical objects in your application, and pass nothing more
> > > but them, like a $request-Struct containing all request information.
> > >
> > > You are probably already dooing this, but the logical seperations still
> > > result in too many variables?
> >
> > Something like?:
> >
> > {use $send}
> > {$send->a}
> > {$send->b}
> >
> > And $send is a default object send to each Template?
>
> Hmm, nice idea. :)
It's basically a global variable... but how do you know which global variables 
are available in a template?

Frederik
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to