[squeak-dev] SMServer beta update
Göran Krampe
goran at krampe.se
Sun May 11 08:58:37 UTC 2014
Hey!
On 05/09/2014 05:34 PM, Chris Cunnington wrote:
> On May 9, 2014, at 10:19 AM, Frank Shearar <frank.shearar at gmail.com
> <mailto:frank.shearar at gmail.com>> wrote:
>
>> On 9 May 2014 14:52, Chris Cunnington <brasspen at gmail.com
>> <mailto:brasspen at gmail.com>> wrote:
>>> http://oopfile.com
>>
>> I am liking! Nice clean-looking UI.
>>
>> Is there any chance of using guessable URLs?
>>
>
> I'm going to have to punt on this question. I'll have to think about it.
>
> Goran's URLs use UUIDs like this.
>
> http://map.squeak.org/account/package/50cf04ed-626d-4f58-b444-e7878b72149d
>
> Not really guessable. But consistent. Google likes them better than what
> SqueakSource does.
Well, that is actually the URLs used when you are *logged in* - all
those URLs begin with "/account/". A common mistake to share those URLs,
because they only work "for you".
If you remove the "/account/" part the URL works though (but you get a
readonly view):
http://map.squeak.org/package/50cf04ed-626d-4f58-b444-e7878b72149d
The decision to use UUIDs was because I wanted:
- URLs that never change
- Ability to rename package
BUT!... you can also use:
http://map.squeak.org/packagebyname/greenneon
http://map.squeak.org/packagebyname/gree
...although: "gre" matches Grease first so "gree" is the shortest match. :)
I should have made these URLs visible somewhere because people seem
generally quite unaware of these URLs, although I have used them all the
time when posting URLs to the mailinglist trying to build awareness :)
Which approach is "the best" for a new system, well, one can wonder.
There are definitely arguments for having name based URLs only - that
are listed somewhere so they get googled up. And if someone renames,
fine, so be it, the old URL "dies".
regards, Göran
More information about the Squeak-dev
mailing list
|