Source lines of code: 61
A GSD web app is defined by subclassing gsd.App. There are no explicit URL mappings. Instead, methods that begin with 'GET' will be called based on the URL. For example, http://localhost/foo/bar will call the 'GET_foo_bar()' method. Templates are defined by simply using '<?...?>' to contain pure Python code. The code snippets are evaluated in a specified scope when the template is rendered. To start serving the application, instantiate the class and call the instance's 'Serve()' method. GSD servers are multi-threaded.