sudoku at rest
Just as a little finger exercise I did a Sudoku solver. And as they say: If you have to do it, do it with style.
, I did it in REST style.
It wastes about 981 of the URLs available at my site. Yep, that expensive.
The user interface is the URL. This link is the representation of today's sudoku at my favorite German news magazine. If you examine the link, it represents empty cells with a dot, reading the cells from left to right, top to bottom. The solver behind it just calculates the URL of the solution and redirects the client there (301 of course). The rest is some xsl/css to convert the XML to HTML on the client side.
