You cannot post messages because only members can post, and you are not currently a member.
Description:
Cl-Terrace is the VC part of a hypothetical MVC web framework written in Common Lisp.
|
|
|
why are variable names symbols?
|
| |
Hi, It seems to me that Djula is assuming that variable names are symbols. The function returned by COMPILE-TEMPLATE expects keyword arguments that define the 'top level' variables in the template, so that's how the top level variables got their symbol names. The requirement of symbol names continues into deeper variables.... more »
|
|
Making it work with Lispworks
|
| |
Hi, Bordeaux threads don't seem to work with Lispworks. I've modified logv by taking a similar approach as Hunchentoot (the ediware version) has taken. Basically this involves wrapping the bordeaux-thread stuff with something in the logv package and defining that stuff differently for lispworks and otherwise.... more »
|
|
logv installation and library dependency issues
|
| |
is there a Trac or similar site for this project? It might be more
appropriate to report the following there but since I am not aware of
another way to report issues I will go ahead and post this here...
the logv page on cl-user does not list any library dependencies but
the system definition lists the following:... more »
|
|
Safe subset?
|
| |
Hi, Is there a way to ensure that only the safe subset of Djula is allowed in a template? For example, turn off the evaluation of arbitrary lisp expressions? Cheers, Bob
|
|
Indirect access of variable names
|
| |
Hi, Let's say you had a general list of things, for the sake of simplicity, lets say 'users'. And each user had, at least, a name, so this works: {% for user in users %} {{ user.name }} {% endfor %} Let's say you also have a variable 'the_user' that contained one of users contained in users.... more »
|
|
SYNC-TERRACE is fixed, CLEAR-TERRACE-FILE-FUNCTION no longer exists
|
| |
SYNC-TERRACE now always updates the right files when templates that
are "used" by other templates via the {% extends %} or {% include %}
tags. also SYNC-TERRACE now knows how to handle deleted files. so
CLEAR-TERRACE-FILE-FUNCTION no longer serves any purpose and has been
deleted
|
|
new dictionary API
|
| |
Djula's internationalization API has been overhauled in the darcs repo
past 0.1.1 and the new api will be included in any new djula releases
dictionary variables are now completely separate from normal variables
[those supplied by the programmer or devel dictionaries] and have
their own syntax and namespace. dictionary variables are no longer... more »
|
|
fixed asdf-install
|
| |
it recently came to my attention that f-underscore, djula, and cl-
terrace weren't actually asdf-installable due to problems ranging from
improperly packed tarballs to screwy .asd files.
I've fixed all 3, reving djula to 0.1.1 and cl- terrace to 0.1.1 in
the process, I apologize for any confusion or inconvenience this may... more »
|
|
you know have to type one less character
|
| |
the symbols that name terrace projects now evaluate to themselves
so you can
(def-terrace 'my-project "/home/me/my-project/site/")
(!start-server my-project)
(sync-terrace my-project)
instead of
(!start-server 'my-project)
(sync-terrace 'my-project)
...it's the little things in life, marv...... more »
|
|
|