Re: URLing schemes and elegance

This is a discussion on Re: URLing schemes and elegance within the PHP Language forums, part of the PHP Programming Forums category; anytime I see "index.php" or "index.html" in a URL I think their web guy ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-22-2004
Brad Kent
 
Posts: n/a
Default Re: URLing schemes and elegance

anytime I see "index.php" or "index.html" in a URL I think their web
guy must be a doofus.
But specific to your question.. I'm using something like:
http://talks.php.net/?page=Web+Services

and back to my peeve.. what's with urls like
/information/information.html
/calendar/calendar.html
/contact-us/contact-us.html
etc..
morons!

ng4rrjanbiah@rediffmail.com (R. Rajesh Jeba Anbiah) wrote in message news:<abc4d8b8.0406220312.385015b5@posting.google. com>...
> Bit OT, but PHP oriented style issue...
>
> Just curious to know how many of you really use the URLs like
> http://talks.php.net/index.php/Web+Services
> And how many of you really liked or found it elegant? TIA

Reply With Quote
  #2 (permalink)  
Old 06-22-2004
Chung Leong
 
Posts: n/a
Default Re: URLing schemes and elegance

"Brad Kent" <bkfake-google@yahoo.com> wrote in message
news:7ad3d45b.0406221221.20d5d0c6@posting.google.c om...
> anytime I see "index.php" or "index.html" in a URL I think their web
> guy must be a doofus.
> But specific to your question.. I'm using something like:
> http://talks.php.net/?page=Web+Services
>
> and back to my peeve.. what's with urls like
> /information/information.html
> /calendar/calendar.html
> /contact-us/contact-us.html
> etc..
> morons!


Err, have you developed in a team before? Keeping the filename in the URL,
as well as using unique names for files, make it easier for others to
understand your code. If there's a problem in a page, all they have to do is
take quick glance at the URL to find the right file to examine.

Filtering all page requests through a single script is stupid. You are
basically just replicating what the web server does, which is resolving a
URL to the correct page. At the same time you create a single point of
failure.



Reply With Quote
  #3 (permalink)  
Old 06-23-2004
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: URLing schemes and elegance

bkfake-google@yahoo.com (Brad Kent) wrote in message news:<7ad3d45b.0406221221.20d5d0c6@posting.google. com>...
> anytime I see "index.php" or "index.html" in a URL I think their web
> guy must be a doofus.
> But specific to your question.. I'm using something like:
> http://talks.php.net/?page=Web+Services
>
> and back to my peeve.. what's with urls like
> /information/information.html
> /calendar/calendar.html
> /contact-us/contact-us.html
> etc..
> morons!


Thanks for your comments. I see your points. URLs like
/information/information.html are becoming popular because of some SEO
papers.

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Reply With Quote
  #4 (permalink)  
Old 06-25-2004
Brad Kent
 
Posts: n/a
Default Re: URLing schemes and elegance

"Chung Leong" <chernyshevsky@hotmail.com> wrote in message news:<2--dnRQp_OboLEXdRVn-gg@comcast.com>...
> "Brad Kent" <bkfake-google@yahoo.com> wrote in message
> news:7ad3d45b.0406221221.20d5d0c6@posting.google.c om...
> > anytime I see "index.php" or "index.html" in a URL I think their web
> > guy must be a doofus.
> > But specific to your question.. I'm using something like:
> > http://talks.php.net/?page=Web+Services
> >
> > and back to my peeve.. what's with urls like
> > /information/information.html
> > /calendar/calendar.html
> > /contact-us/contact-us.html
> > etc..
> > morons!

>
> Err, have you developed in a team before? Keeping the filename in the URL,
> as well as using unique names for files, make it easier for others to
> understand your code. If there's a problem in a page, all they have to do is
> take quick glance at the URL to find the right file to examine.
>
> Filtering all page requests through a single script is stupid. You are
> basically just replicating what the web server does, which is resolving a
> URL to the correct page. At the same time you create a single point of
> failure.



having unique filenames makes perfect sense.. but since they're
unique what's with all the separate dir names of the same name holding
a single html file?
/path/information.html
/path/calendar.html
/path/contact-us.html
works just as well.
part of the problem I see with sites using my peeve is that they tend
to bork up on their navigation as well.. forgetting to use a
relative or absolute path to get to the other pages.
here's a site I just visited this morning that illustrates many of
these peeves/issues... http://www.fullmoonrun.com/
* a directory for each page..
* including "index.php" in their urls.
* not knowing how to link to the other pages once they're in their
directory mess
Reply With Quote
  #5 (permalink)  
Old 06-26-2004
Lāʻie Techie
 
Posts: n/a
Default Re: URLing schemes and elegance

On Tue, 22 Jun 2004 13:21:28 -0700, Brad Kent wrote:

> and back to my peeve.. what's with urls like /information/information.html
> /calendar/calendar.html
> /contact-us/contact-us.html
> etc..
> morons!


Having worked for an online mall, we were told that such repetition is one
way to force a higher ranking in some search engines. Some designers at
that mall likewise have paragraphs full of key words, using CSS to hide
this nonsense from the end user.

La'ie Techie

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0