There is a doc at http://wiki.alpinelinux.org/wiki/ACF_core_principlesthat
describes the cfe. Of course, the doc hasn't been updated since 2008.
The cfe is designed so we have a standard data structure for passing things
around. The type field was designed to match (pretty closely) to HTML input
types, so it's a pretty easy transition from cfe to HTML.
Most examples in ACF display forms, but a few will just display cfe values (for
example, take a look at /usr/share/acf/app/status-html.lsp). The
viewfunctions.lua file contains the view helper code to display forms and
non-form cfes. It's located at /usr/share/acf/lib/viewfunctions.lua. Also,
/usr/share/lua/5.1/html.lua contains the code that generates the HTML.
Hope that information helps.
----- Original Message ----
From: Jerry Jacobs <xor.gate.engineering_at_gmail.com>
Sent: Wed, May 11, 2011 4:35:54 AM
Subject: [acf] Architecture of ACF and example
I started some time with ACF and liked the idea very much, now I
started to create a ACF plugin for Config Server Firewall on my Debian
VPS but I get a bit lost about the usage of the cfe (table of values)
and how to get the variables into the html. Maybe a experienced
developer can extend the documentation with some more examples and a
architecture diagram is much appreciated.
Received on Wed May 11 2011 - 13:41:25 GMT