diff --git a/aspen.png b/aspen.png new file mode 100644 index 0000000..de0b0d5 Binary files /dev/null and b/aspen.png differ diff --git a/bg.png b/bg.png new file mode 100644 index 0000000..6ac5b35 Binary files /dev/null and b/bg.png differ diff --git a/bg2.png b/bg2.png new file mode 100644 index 0000000..0557b66 Binary files /dev/null and b/bg2.png differ diff --git a/django.png b/django.png new file mode 100644 index 0000000..7196dce Binary files /dev/null and b/django.png differ diff --git a/django.svg b/django.svg new file mode 100644 index 0000000..1538f08 --- /dev/null +++ b/django.svg @@ -0,0 +1,38 @@ + + + + +]> + + + + + + + + + + + + diff --git a/flask.png b/flask.png new file mode 100644 index 0000000..f98ce46 Binary files /dev/null and b/flask.png differ diff --git a/index.html b/index.html index 30ab508..c2080fe 100644 --- a/index.html +++ b/index.html @@ -1,42 +1,167 @@ -

Aspen provides filesystem routing for Python web frameworks.

+ + +
+ +

What is filesystem dispatch?

+ +

Path in address bar → Path on filesystem. Done.

+ + +

Why should I care?

+ +

You should care about filesystem dispatch if using regular expressions + or decorators or object traversal for HTTP dispatch makes your brain + hurt.

+ + +

What about variable path parts?

+ +

Capture URL path parts with filesystem paths like + www/%year/index.spt.

+ + +

What the heck is a *.spt file?

+ +

Aspen files are simplates + (*.spt), templates with a Python header. Here's an + example:

+ +
import random
+
+[----]
+program = request.qs['program']
+excitement = "!" * random.randint(1, 10)
+
+[----] text/html via stdlib_format
+<h1>Greetings, {program}{excitement}</h1>
+
+[----] text/plain via stdlib_format
+Greetings, {program}{excitement}
+
+[----] application/json via json_dump
+{ "program": program
+, "excitement": excitement
+ }
+ -

Say goodbye to regular expressions!

+ -

Pick your flavor:

+
- -

django-aspen

-

plugin for Django

-
+ diff --git a/pando.png b/pando.png new file mode 100644 index 0000000..8750f66 Binary files /dev/null and b/pando.png differ diff --git a/prociono b/prociono new file mode 120000 index 0000000..e0f6fb6 --- /dev/null +++ b/prociono @@ -0,0 +1 @@ +../../theleagueof/prociono/webfonts \ No newline at end of file diff --git a/spartan b/spartan new file mode 120000 index 0000000..c0fe884 --- /dev/null +++ b/spartan @@ -0,0 +1 @@ +../../theleagueof/league-spartan/_webfonts \ No newline at end of file