Bring on the pain :) I modified insoshi to use mysite.com/steve but I can't remember exactly what I did. I'll try to lovdize it and see if it fits. I think I added a column with a sanitized version of the name. (Actually I just had a quick look and I didn't get around to managing name clashes but it's not insurmountable.) I don't reckon you can go on forever with addresses like mysite.com/profile/8765839-my- name-is-this, when you could have mysite.com/mynameisthis or mysite.com/mynameisthis2008 or whatever do get over name clashes...for what it's worth. I'll be workin' on it personally anyway as a high priority.
Jason :) On Jul 22, 12:24 am, "Steven A Bristol" <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 11:49 AM, Victor <[EMAIL PROTECTED]> wrote: > > The main point is if we can use de facto standard components (which > > represent the best practices) then we all evolve together with the > > standard components. There used to be a bunch of pagination plugins. > > Now people seem to standardize on mislev-will-pagination. This is a > > good example. > > I fully support doing things the rails way except when they clash with > the steve way, like in the auth stuff. :) > > > > > Regarding to 4), URLs like lovd.com/steve is much cleaner than > > lovd.com/profiles/steve, from users point of view. Of course, the > > developers will have to deal with the name clash. I don't have a > > solution yet. What is the best practice on issue? I hope that more > > people will contribute on this topic. > > I would love to have them be prettier, but the name clashes is too > high to pay (IMO). My own Less apps have renamed the profiles > controller to people so the urls are now /people/1-steve. In these > terms /people/steve is perfectly acceptable. We can do the same thing > in lovd without renaming, just by modifying the route. This would be a > breaking change because profile_path would no longer work (person_path > would work) and I'm not sure it's worth the pain. > > I would be fine with /profiles/steve, but I'd like to hear the > preference of others, what level of change/pain are they up for? > > steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lovd by Less" 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/lovdbyless?hl=en Who loves ya baby? -~----------~----~----~----~------~----~------~--~---
