Request for Question Clarification by
sycophant-ga
on
06 Aug 2006 04:13 PDT
Hi,
The URI format there is simply a logical one that many devices are likely to use.
It is sensible to make the story display page called "story.php" and
the story ID in the database is also likely to be passed as "id" or
"storyid" or similar.
This is simply for simplicity as programmers tend to name variables
and files in a logical way to make it easy to remember what thigs are
called later.
You'll notice in the examples you included, the two sites are actually
quite different. While both use 'story.php' as the file, the id is
passed as 'storyId' and 'story_id'. In the NPR example, the story ids
are a much lower number (and would probably be stored in a different
datatype in the database than the large number used by the Tribune).
Also, the resulting HTML code is very different between those sites.
They do not appear to be even remotely similar.
It's impossible to know for sure, but again, I believe that neither of
these sites use the same content management systems, and that neither
system is likely to be a readily-availabe off the shelf CMS. The
similarity in URL structure is simply a byproduct of fairly common
programming practices.
Regards,
Sycophant