[thelist] can someone build a 100-page website with only HTML/CSS skill?

Jeremy Weiss eccentric.one at gmail.com
Tue Nov 11 11:12:41 CST 2008


On Tue, Nov 11, 2008 at 10:36 AM, Zhang Weiwu <zhangweiwu at realss.com> wrote:

> That's a different case. The case you listed above doesn't require PHP
> programming knowledge, but
>
> <?php include("navbar.php") ?>
> do require the person to write something in navbar.php, in PHP language
> (you can guess it involve some loop at minimum, which means I should
> teach concept of program loop).
>
> However "navbar.php" could be a specially prepared PHP script that
> doesn't need the website builder to modify it, but reads from
> configuration file that is much easier to understand and use than PHP
> language itself. Please read another email I wrote in Hassan's thread (I
> copied it here) to see what I am trying to do. I pasted it here for easy
> reading:
>

I could be wrong, but seems to me like everyone is making this more
difficult than it has to be.

I work with a couple designers who knew no PHP. They were taught to build
their navigation in a seperate file and then place a php include on the page
calling that file. When they need to update the navigation, they just modify
one file. After a couple months, they learned that if they want different
items on different pages they build a second file (nav2.php) which consists
of nothing but html and they include that file on the pages where they want
it. We started them slow and now they're including headers, footers,
navigation, sidebars, and whatever else they want on multiple pages. And the
only PHP they had to learn is <?php include("navbar.php") ?>

Just becuase we're including a file for navigation, doesn't mean we have to
have a script to build it automatically. That seems like over kill in this
situation.

$.02,
jeremy



More information about the thelist mailing list