[racket] Racket documentation for web development is just awful!
But, if you would like to have more traditional URLs in addition to the
continuation/cryptic ones, you can use the web-server/dispatch library:
http://docs.racket-lang.org/web-server/dispatch.html
It starts with a bit of guide to orient you before the reference manual.
It allows you to create URLs like
/posts/456
and if during the generation of that page you hit a continuation operation,
the URL will be something like
/posts/456;gobbledygook
where the last "clean" URL is inside of the current "ugly" URL.
I find that most people want to mostly use web-server/dispatch but
occasionally use continuations for the sequential computations in their Web
app.
Jay
On Sat, Dec 17, 2011 at 11:39 AM, Shriram Krishnamurthi <sk at cs.brown.edu>wrote:
> Hi R. Noob,
>
> > Do the URLs of pages that use continuation
> > mechanism have to look ugly and cryptic?
>
> Yes they do. The URLs are ugly *because* they are cryptic. They are
> cryptic because it is a route to system security. If they were
> pretty, people could guess them, and that would adversely affect
> security in a huge way.
>
> Incidentally, this is something we stressed from the very beginning
> (~late 2000). It meant that certain kinds of Web attacks over which
> people and Web sites spent a great deal of time (such as CSRF attacks)
> could simply never occur for systems built atop the PLT Web server.
>
> This idea is also incorporated into Google's Belay project:
>
> https://sites.google.com/site/belayresearchproject/
>
> If you look at the list of features they state, essentially every
> single one of these maps onto "ugly and cryptic" URLs.
>
> Shriram
>
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111217/ded6fc58/attachment.html>