<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Why are the tokens in Altitude urls
called RESTful? This is suggested by the handler of the three
strategy patterns listed below, which is called ALRestfulLocator.
<br>
<br>
<br>
On 2012-12-13 9:15 PM, Colin Putney wrote:<br>
</div>
<blockquote
cite="mid:CAD+=c1hzit6+=jDQHgEr2aSDY4Aam+qwXch_KZi8gA8h5qmAwA@mail.gmail.com"
type="cite">
<div><font face="courier new, monospace">ALSequentialUrlStrategy</font><font
face="arial, helvetica, sans-serif"> generates urls in a
predicable sequence: /1, /2, /3 etc. This is handy for
testing. It might also be good for something like a URL
shortening service where the shortest possible URLs are
desirable. </font></div>
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font face="courier new, monospace">ALRandomUrlStrategy</font><font
face="arial, helvetica, sans-serif"> does the opposite. It
generates pseudo-random unguessable URLs. That makes a web
application more secure</font></div>
</blockquote>
<font face="arial, helvetica, sans-serif">This produces a 24-char token
(ie </font><a class="moz-txt-link-freetext" href="http://localhost:8624/9rYxkg6HV_XCSiCbO2Z7tnFC">http://localhost:8624/9rYxkg6HV_XCSiCbO2Z7tnFC</a> )<br>
<blockquote
cite="mid:CAD+=c1hzit6+=jDQHgEr2aSDY4Aam+qwXch_KZi8gA8h5qmAwA@mail.gmail.com"
type="cite">
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font face="courier new, monospace">ALDigestUrlStrategy</font><font
face="arial, helvetica, sans-serif"> provides a middle path
between predictability and unpredictability. It creates urls
that are difficult to guess, but consistent. So, for example,
two different images running the same application would
generate the same urls for equivalent resources. (This
wouldn't be the case with random urls).</font></div>
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
</blockquote>
<font face="arial, helvetica, sans-serif">This produces a 24-char
token (ie </font><a class="moz-txt-link-freetext" href="http://localhost:8624/9rYxkg6HV_XCSiCbO2Z7tnFC">http://localhost:8624/9rYxkg6HV_XCSiCbO2Z7tnFC</a> )<br>
<br>
<br>
9rYxkg6HV_XCSiCbO2Z7tnFC does not look RESTful to me. <br>
<br>
<a class="moz-txt-link-freetext" href="http://www.youtube.com/watch?v=cv157ZIInUk">http://www.youtube.com/watch?v=cv157ZIInUk</a> looks RESTful to me. <br>
<br>
Andreas Raab criticized Seaside because SqueakSource cannot be
indexed by Google. The Altitude url tokens look extremely similar to
Seaside's. <br>
<br>
1. If they are different, how? <br>
<br>
2. Can an Altitude application be indexed by Google? If so, which
subclass of ALUrlStrategy would be employed? <br>
<br>
Chris <br>
</body>
</html>