NYCPHP Meetup

NYPHP.org

[nycphp-talk] Fwd: Parse HTML Files as PHP

Greg Rundlett (freephile) greg at freephile.com
Sun Feb 22 15:13:08 EST 2009


(sorry if this is a duplicate - I posted earlier with the incorrect
sender address)


---------- Forwarded message ----------
From: Greg Rundlett <greg_rundlett at harvard.edu>
Date: Sun, Feb 22, 2009 at 3:04 PM
Subject: Re: [nycphp-talk] Parse HTML Files as PHP
To: NYPHP Talk <talk at lists.nyphp.org>


On Sat, Feb 21, 2009 at 11:15 PM, Ajai Khattri <ajai at bitblit.net> wrote:
> On Fri, 20 Feb 2009, Peter Sawczynec wrote:
>
>> Anyone have any comment on this strategy pro or con?
>
> Not good for performance or scalability.

Why exactly?  mod_php is both performant and scalable.

> A PHP framework with routing
> should allow you use URLs with .html at the end without resorting to
> changing Apache's behavior.

You're saying that  complex framework is a better solution than a
configuration one-liner.  Why?


I've used this technique successfully before when converting a series
of websites with tens of thousands of flat html files into my own
custom CMS under the covers.


-- 
Greg Rundlett
Web Developer - Initiative in Innovative Computing
http://iic.harvard.edu
camb 617-384-5872
nbpt 978-225-8302
m. 978-764-4424
-skype/aim/irc/twitter freephile
http://profiles.aim.com/freephile



More information about the talk mailing list