Created
January 7, 2010 22:40
-
-
Save felideon/271664 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in-package #:ucw) | |
(defun make-orders-backend () | |
(make-backend :httpd :host "localhost" :port 8080)) | |
(defclass orders-server (standard-server) | |
()) | |
(defun make-orders-server () | |
(make-instance 'orders-server :backend (make-orders-backend))) | |
(defvar *orders-ucw-server* (make-orders-server)) | |
(defclass orders-application (basic-application) | |
() | |
(:default-initargs :url-prefix "/orders/")) | |
(defparameter *orders-ucw-application* | |
(make-instance 'orders-application)) | |
(register-application *orders-ucw-server* *orders-ucw-application*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment