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; Justin Koivisto <spam@koivi.com> wrote in message news:<xXWBc.1945$m3.102320@news7.onvoy.net>... &...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2004
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: URLing schemes and elegance

Justin Koivisto <spam@koivi.com> wrote in message news:<xXWBc.1945$m3.102320@news7.onvoy.net>...
> R. Rajesh Jeba Anbiah wrote:
>
> > 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

>
> Not I. I have been sticking with mod_rewrite for all my "se friendly"
> URIs. The best part about it is the hiding of technology. Afterall, if I
> have to switch a site over to jsp, asp or coldfusion, I can still keep
> the URIs without anyone (including the SEs) knowing that I am using a
> different tech.


Thanks for your comments. You seem to suggest mod_rewrite instead of
that scheme? But, if I'm right, they also seem to use mod_rewrite as
in the case:

http:talks.php.net/index.php/Web+Services
to
http:talks.php.net/index.php?page=Web+Services

Am I wrong?

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

R. Rajesh Jeba Anbiah wrote:

> Justin Koivisto <spam@koivi.com> wrote in message
> news:<xXWBc.1945$m3.102320@news7.onvoy.net>...
>> R. Rajesh Jeba Anbiah wrote:
>>
>> > 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

>>
>> Not I. I have been sticking with mod_rewrite for all my "se friendly"
>> URIs. The best part about it is the hiding of technology. Afterall, if I
>> have to switch a site over to jsp, asp or coldfusion, I can still keep
>> the URIs without anyone (including the SEs) knowing that I am using a
>> different tech.

>
> Thanks for your comments. You seem to suggest mod_rewrite instead of
> that scheme? But, if I'm right, they also seem to use mod_rewrite as
> in the case:
>
> http:talks.php.net/index.php/Web+Services
> to
> http:talks.php.net/index.php?page=Web+Services
>
> Am I wrong?


Mod_rewrite usage doesn't even require the ".php" extension. All someone
browsing a site using mod_rewrite to rewrite the URLs would see is
www.site.com/content/whatever

The backend of the site could be php, perl, python, a CGI app, whatever, and the
URI's would stay the same even if someone switches the backend to an entirely
different programming language.
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:35 AM.


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