You can just urlencode the names. I didn't say it should be the default method, 
just that it should be an option. A lot of people seem to prefer doing it this 
way for many reasons, including SEO, not to mention it can make the URL easier 
to read.

Brandon


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL 
PROTECTED]
Sent: Thursday, December 28, 2006 9:12 AM
To: Cake PHP
Subject: Re: Suggestion about bake



So for example, a link to view the information for user devbanana might look
like /users/view/devbanana instead of /users/view/1.

think about all the special chars that users are using while submiting
data and think about what conversions you might need to make to allow
everything works smoothly :) for example some baltic chars that are not
allowed in URL -s:        and think how many charsets there are
with different chars and possibilities. So it's pretty "simple" to
achive while there-s no unicode support in URL -s and DNS


afcourse you can urlencode almost anything but that makes it even
harder for the users to type in the url.

rgds




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to