I have just done a major AWP clean-up and BETA8 will remove
remove a lot of junk from awp.lisp which now should be handled
in external JS libraries. Now the options that AWP processes
are the following:
(defvar awp-reserved-options
'(:doctype :title :css
:pre-html
:layout :layout-width
:post-html
:js-extern :js-main))
Pandoric macros are only currently used in one place in
the AW source and this is when compiling the HTTP dispatch
function. In most cases, there are more efficient ways
to implement something than with pandoric macros but for things
like macro processing (which happens a lot when compiling
the HTTP dispatch function) we don't really care. Using a
pandoric macro lets us delay macro expansion until the last
possible moment in time. The HTTP dispatch function isn't
compiled until we've processed the worker conf file.
Compiling AWP files is similar. I would like to be able to
make them as customisable as possible. The most important
part to remember about AWP files is that they are conf
files full of xconfs:
http://hoytech.com/antiweb/manual.awp/design.html#CONFS-AND-XCONFS
I am working on a website right now that is pushing AWP to
its limits but I'm almost certain that confs and xconfs are
the right way to configure AWPs. I think perhaps we will end
up compiling to CSS positioning layouts instead of tables, and
maybe the :layout code will need to be changed, but xconfs are
the best way to configure AWPs.
You mentioned you are interested in further AWP documentation.
I will try to write more about this as well as how to extend
them once the code becomes more stable.
Doug