Posted by R. Rajesh Jeba Anbiah on 02/05/06 19:52
windandwaves wrote:
> Hi Folk
>
> Can you have a look at www.lakebrunner.co.nz/_n/ and tell me what you think?
It looks like that there is no use for session, so it's better to
turn it off.
<snip>
> The actual files just look like this:
>
> <?php
>
> //setup
> require_once("_startuper.php");
>
> //get filename
> $f = str_replace(".php", "", basename(__FILE__));
>
> //create page
> go($f);
>
> ?>
>
> You can't get much shorter than that!
Front controller <http://www.onlamp.com/lpt/a/4987>?? The design
architecture is one's pure choice. Front controller designs are good
choices for CMS like Joomla (Mambo), IMHO; but may not be for other
sites. We had similar discussions lot of time here. Here is Chung's
points on the front controller
<http://groups.google.com/groups?q=php+single+entry+chung+leong> and I
agree with him.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[Back to original message]
|