[Catalyst] CatalystSites.org

Oleg Pronin syber.rus at gmail.com
Sat Apr 12 08:31:25 BST 2008


>>/tag/name/<name>
>>/tag/id/<id>

NOT <name> !     - <transcription>, because tag names might be in different
languages.

2008/4/12, Christopher H. Laco <claco at chrislaco.com>:
>
> Ashley wrote:
>
> > On Apr 11, 2008, at 1:10 PM, Stephen Sykes wrote:
> >
> > > Ashley wrote:
> > >
> > > > On Apr 11, 2008, at 11:55 AM, Stephen Sykes wrote:
> > > >
> > > > > Chisel - What is so odd in passing the tag id to the controller
> > > > > for the "by_tag" feature?
> > > > >
> > > >
> > > >
> > > > I think this is the issue: "Other users also tagged this 27." The
> > > > tag is the human readable part of the record. :)
> > > >
> > > >  I'm still not getting this. :-\
> > >
> > > Once a new tag is added to the database the tag id will never change,
> > > only the tag weight. Tag id is unique and is primary. I suppose the t=
ag
> > > description could be used with an index on that column for performanc=
e. That
> > > would make sense, if that is your concern.
> > >
> >
> > It's that http://mysite.com/tag/1232 is meaningless to the user. Not
> > that it's programatically incorrect; which, as you know, it's not.
> > http://mysite.com/tag/pangolins is better UI.
> >
>
> Well, I'm going to channel for the black part of my heart that mst is
> responsible for.... :-)
>
> This is much like the quandry:
>
> /users/146     for admin purposes vs.
> /users/claco   for humans on a browse
>
> choosing one or the other always seems to lead to problems.. so taking a
> tip from RHOX, do both...
>
> /tag/name/<name>
> /tag/id/<id>
>
> The greatness of future possibilities is expanded to much happiness.
> Chained/sub instance() make all the code behind either option JustWork.
>
> -=3DChris
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080412/b598e=
ff1/attachment.htm


More information about the Catalyst mailing list