4 ms·
- the global folder of Quicklisp works for most purposes. It is built on top of ASDF, which you can configure too. But I would not worry about that first. - fo
by junke 9y ago
- the global folder of Quicklisp works for most purposes. It is built on top of ASDF, which you can configure too. But I would not worry about that first.
- for a URL shortener, Hunchentoot is already enough. Hunchentoot comes with an "easy-acceptor" scheme, which requires only (defparameter server (make-instance 'easy-acceptor :port 8080)) followed by (start server). But maybe you will need to define you own subclass of "acceptor" instead, I don't know.
- For storage, you can use hash-tables and serialize them with cl-conspack.
(let ((hash (make-hash-table)))
(setf (gethash :name hash) "YourName")
(conspack:encode-to-file hash #P"/path/to/hash"))
Note that conspack:decode-file returns a list of values.
You can also interact with databases.