Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Design Lobby > Web Usability

Web Usability Discuss and review websites for better usability.


Reply
 
LinkBack Thread Tools Display Modes
Old 01-05-2006, 01:03 PM   #1 (permalink)
Junior Member
 
Join Date: 01-05-06
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

CkJj is liked by many
Hundreds of "real" pages or just one php page?

What is the best method if you wish to make a huge content database on your site? Surely using one php page that gets all info from a database is a much faster method, and you only need to edit one page instead of hundreds of html pages if you for example wish to change the layout some day.

Rumors has it however that not all search engies will count all of these different "database pages" on a php page, and your search results would then be much worse than if you would have chosen the other, longer method. I think this sounds very logical and I would think it's much better to have 100 solid, real pages on a server filled with content, rather than having just one page......?

Wouldn't the best solution be maybe to use this method and use some php script or something on all pages so that you can change the layout and so on in one click?

Also, I have read that it's possible to program a script to actually create html pages for you...How does one learn this and is it hard? Is it even practical to use these days?

I would really, really want some more opinions on these questions. Thanks in advance!
CkJj is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-05-2006, 05:35 PM   #2 (permalink)
v7n Mentor
 
Thanol's Avatar
 
Join Date: 10-13-03
Location: Central Ohio (Dublin)
Posts: 820
iTrader: 0 / 0%
Latest Blog:
None

Thanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web proThanol is a highly respected web pro
Send a message via AIM to Thanol Send a message via MSN to Thanol Send a message via Yahoo to Thanol
You can do a mod-rewrite which will make "fake" html pages from that one php file.

see: http://www.modrewrite.com/ for more info.


Example code that goes in your htaccess file:
Code:
Options +FollowSymlinks RewriteEngine On RewriteRule ^neopets/([A-Za-z0-9-]+).shtml?$ neopets/files.php?id=$1.shtml [L]
www.cnwcentral.com/neopets/ all the pages appear to be shtml files but they aren't. The files don't actually exist on the server.

Rather they "exist" as part of files.php, which calls up all the information from the database.

Example:
Code:
http://www.cnwcentral.com/neopets/files.php?id=index.shtml
__________________
-Scott
Build a Website : Other site

Last edited by Thanol; 01-05-2006 at 05:39 PM..
Thanol is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-06-2006, 08:33 PM   #3 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,468
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to beholdLazyJim is a splendid one to behold
Send a message via MSN to LazyJim
If you want to change the layout some day, code tha layout in CSS, save it to a file (or a few), reference it in the web pages and they alll get that style/layout. Update the CSS and every page reads the updated style/layout!!!
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-22-2006, 12:50 PM   #4 (permalink)
Member
 
aboyd's Avatar
 
Join Date: 04-16-05
Location: USA
Posts: 49
iTrader: 0 / 0%
Latest Blog:
None

aboyd is a jewel in the roughaboyd is a jewel in the roughaboyd is a jewel in the roughaboyd is a jewel in the roughaboyd is a jewel in the roughaboyd is a jewel in the rough
Send a message via AIM to aboyd
I have a database of magazine dossiers. I created one PHP page to display whatever magazine you select. I don't know if links are allowed, but I'm sure JohnScott will remove this if it's out of place. So see here:

http://www.publisherdatabase.com/market_view.php?id=32

Same page, different ID:

http://www.publisherdatabase.com/market_view.php?id=339

Google actually indexes about 400 of the 1100 magazine dossiers. It might be more now, because I took some steps to make the other 700 visible to Google's spider. So it seems that using a single PHP page is viable. And if you use URL rewriting, it's even better.

I can't imagine making 1100 pages individually. What a chore that would be.

-Tony
aboyd is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-22-2006, 12:54 PM   #5 (permalink)
Senior Member
 
WorldwideTrading's Avatar
 
Join Date: 01-22-06
Location: Exeter, East Devon, England, UK
Posts: 564
iTrader: 0 / 0%
Latest Blog:
None

WorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really niceWorldwideTrading is just really nice
Quote:
Originally Posted by aboyd
I have a database of magazine dossiers. I created one PHP page to display whatever magazine you select. I don't know if links are allowed, but I'm sure JohnScott will remove this if it's out of place. So see here:

http://www.publisherdatabase.com/market_view.php?id=32

Same page, different ID:

http://www.publisherdatabase.com/market_view.php?id=339

Google actually indexes about 400 of the 1100 magazine dossiers. It might be more now, because I took some steps to make the other 700 visible to Google's spider. So it seems that using a single PHP page is viable. And if you use URL rewriting, it's even better.

I can't imagine making 1100 pages individually. What a chore that would be.

-Tony

You could definatly benefit from learing how to use mod rewrite and linking to the pages via the titles. No to mention the page titles.
WorldwideTrading is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Web Usability

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is blogging for business "real" or calculated? AmySueN Blog Promotion 4 11-07-2007 06:00 PM
How to solve duplicate page from "home page" and "index.html" suwan SEO Forum 7 07-30-2007 01:55 AM
Home page with "latest news", "news archive" and "update" tekitouni Web Design Lobby 1 09-19-2006 08:39 PM
Who offers Sponsored Links on "Parked Domain Pages"? Michel Z. Marketing Forum 1 02-04-2006 02:38 PM
Real Estate Agents: "Getting the Word Out" cyberken Marketing Forum 0 08-11-2004 02:46 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 08:23 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.