il.com]
Sent: June-18-09 3:35 AM
To: CakePHP
Subject: Re: Slug instead of ID
The id shouldnt even be in the url of the edit profile page, you should just
grab it from Auth.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
The id shouldnt even be in the url of the edit profile page, you
should just grab it from Auth.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegrou
-
From: Miles J [mailto:mileswjohn...@gmail.com]
Sent: June-17-09 7:47 PM
To: CakePHP
Subject: Re: Slug instead of ID
In a typical structure, you would still use id for everything. The only time
a slug is really used is when creating a URL to link to their profile
In a typical structure, you would still use id for everything. The
only time a slug is really used is when creating a URL to link to
their profile.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To p
certainly
not want my url to be that so they have the option to be site/jeffsplace/ if
they so want
Dave
-Original Message-
From: brian [mailto:bally.z...@gmail.com]
Sent: June-17-09 2:36 AM
To: cake-php@googlegroups.com
Subject: Re: Slug instead of ID
On Tue, Jun 16, 2009 at 11:33 PM
On Tue, Jun 16, 2009 at 11:33 PM, phpcurious wrote:
>
> why do you have to use slugs, why not try using their usernames the
> users provided or assigned to them by the system?
A slug is merely any string that's been modified to be both useful and
readable in a URL. So, the slug may very well be b
why do you have to use slugs, why not try using their usernames the
users provided or assigned to them by the system?
On Jun 17, 7:24 am, "Dave Maharaj :: WidePixels.com"
wrote:
> I am using custom slugs that the user creates when they sign up.
>
> USER:
> id
> slug
> .
>
> When a User m