On Thu, 21 Oct 2010 10:55:14 -0400
Paul M Foster wrote:
> On Thu, Oct 21, 2010 at 04:05:50AM +0200, Rico Secada wrote:
>
> > Hi.
> >
> > I am working on a small system where I am both trying to avoid code
> > duplication and at the same time I am trying to keep the
> > presentation logic separa
On Thu, 2010-10-21 at 08:01 +0200, Peter Lind wrote:
> On 21 October 2010 04:59, David McGlone wrote:
> > On Thu, 2010-10-21 at 04:05 +0200, Rico Secada wrote:
> >> Hi.
> >>
> >> I am working on a small system where I am both trying to avoid code
> >> duplication and at the same time I am trying t
On Thu, Oct 21, 2010 at 04:05:50AM +0200, Rico Secada wrote:
> Hi.
>
> I am working on a small system where I am both trying to avoid code
> duplication and at the same time I am trying to keep the presentation
> logic separated from the application logic.
>
> I am using sessions and are avoidin
Bit late to this one, but what about an mvc framework like codeigniter? It's
perfectly acceptable to use if statements and loops in the view, which would
solve your problem. You can set a trigger variable in the controller, and in
the header view, check to see if its set and output your javascri
On 21 October 2010 04:59, David McGlone wrote:
> On Thu, 2010-10-21 at 04:05 +0200, Rico Secada wrote:
>> Hi.
>>
>> I am working on a small system where I am both trying to avoid code
>> duplication and at the same time I am trying to keep the presentation
>> logic separated from the application l
> -Original Message-
> From: David McGlone [mailto:da...@dmcentral.net]
> Sent: Wednesday, October 20, 2010 7:59 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] I need some thoughts on code duplication and separation
>
> On Thu, 2010-10-21 at 04:05 +0200, Rico
On Thu, 2010-10-21 at 04:05 +0200, Rico Secada wrote:
> Hi.
>
> I am working on a small system where I am both trying to avoid code
> duplication and at the same time I am trying to keep the presentation
> logic separated from the application logic.
>
> I am using sessions and are avoiding "heade
7 matches
Mail list logo