NYCPHP Meetup

NYPHP.org

[nycphp-talk] include "<?php" in data

Phil Powell soazine at erols.com
Thu Nov 6 22:59:16 EST 2003


I never wonder why you give me a hard time.  I just wonder why you can't
provide solutions as your name suggests.

Phil

----- Original Message ----- 
From: "Analysis & Solutions" <danielc at analysisandsolutions.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Wednesday, November 05, 2003 11:59 AM
Subject: Re: [nycphp-talk] include "<?php" in data


> On Wed, Nov 05, 2003 at 10:01:21AM -0500, Michael Southwell wrote:
> > At 10:35 PM 11/3/2003, you wrote:
>
> You being who?
>
> > So then I thought:  this
> > should be just one page with variable data; instead of ten pages each
2K,
> > have one page 10K.  Smaller and faster.
>
> It's bigger and slower.  PHP now has to parse 10k of code instead of 2.
> Plus editing the content in such a way seems unwieldy.  I find it far
> more direct to manage items by file name.
>
> Whatever is common between the pages should get templated.  Then, there
> are two options:  1) have the template include the content, or 2) have the
> content include the templates.  The approach you want depends on what
> you're doing.
>
> --Dan
>
> -- 
>      FREE scripts that make web and database programming easier
>            http://www.analysisandsolutions.com/software/
>  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
>  4015 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list