star
10-19-2003, 06:46 PM
Hi, Chris asked me to publish our short email
communication to the benefit of all readers in
the forum :
"Hi, Chris
Well, first of all I must say that your site is
a very useful resource. Now to my issue, I would
like to create a database driven site, looked at
your literature site and finally learned that
you are only using about half a dozen php files
to create 13.000 "pages".
Is it not still an enormous task to fill all
those 13.000 database records or is there any
automated job involved (or just a few hundred
database records) ?...."
He gave a pretty enlightening explanation then:
"Databases are scalable. It doesn't matter if you have
1000 records or 30000, the programming is the same.
When thinking of a database driven site think of HTML
like an empty glass. You can fill that empty glass with
grape juice, wine, water, soda, it doesn't matter, you
only need one glass.
So with a single HTML file (or PHP file in this case) you can
make a page about grapes, oranges, apples, bananas, it
doesn't matter.
What you do is pass an argument to the file telling it
what information to display.
http://www.example.com/script.php?fruit=banana
So you're telling your script to pull the information
on the fruit "banana" from the database, which it
then displays...."
Thanks
communication to the benefit of all readers in
the forum :
"Hi, Chris
Well, first of all I must say that your site is
a very useful resource. Now to my issue, I would
like to create a database driven site, looked at
your literature site and finally learned that
you are only using about half a dozen php files
to create 13.000 "pages".
Is it not still an enormous task to fill all
those 13.000 database records or is there any
automated job involved (or just a few hundred
database records) ?...."
He gave a pretty enlightening explanation then:
"Databases are scalable. It doesn't matter if you have
1000 records or 30000, the programming is the same.
When thinking of a database driven site think of HTML
like an empty glass. You can fill that empty glass with
grape juice, wine, water, soda, it doesn't matter, you
only need one glass.
So with a single HTML file (or PHP file in this case) you can
make a page about grapes, oranges, apples, bananas, it
doesn't matter.
What you do is pass an argument to the file telling it
what information to display.
http://www.example.com/script.php?fruit=banana
So you're telling your script to pull the information
on the fruit "banana" from the database, which it
then displays...."
Thanks