[plt-scheme] pretty URLs

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Sun Dec 28 12:35:29 EST 2008

A note on Dispatch:

Dispatch's defaults are oriented towards someone using Instaweb or  
Instaservlet. These packages are being retired: they only work with  
PLT 4.1.2 and earlier. In PLT 4.1.3 and up youi'll want to use the web  
server's built-in serve/servlet procedure instead.

It's pretty simple to get Dispatch to work with serve/servlet, but you  
have to add a couple of lines to the config. I've attached some sample  
code to get you up and running. You'll still have to look at the  
Dispatch docs to see what it offers, how it works, and whether it's  
right for you.

  
    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serve-servlet-dispatch-example.ss
Type: application/octet-stream
Size: 2411 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20081228/0cf86ac0/attachment.obj>
-------------- next part --------------


I'll tweak Dispatch's defaults in the next release.

Hope this helps,

-- Dave

> Take a look at the dispatch package on PLaneT.
>
> HTH,
> N.
>
> On Sun, Dec 28, 2008 at 12:34 AM, maxigas <maxigas at anargeek.net>  
> wrote:
>> hi!
>>
>> so now i have a blog engine (based on the Continue... tutorial)  
>> that can also handle tags of
>> posts.  i want to use it for different personal projects as a  
>> blogfarm engine.  one requirement
>> for that is that i need something that is i think called "pretty  
>> URLs":
> ...

Posted on the users mailing list.