summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-03-02 21:52:58 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-03-02 21:52:58 +0000
commit3f5de3273c9e103b4909802e339db06fe0b53312 (patch)
tree793ef66c9456665f7b472e214d79b1078fccebe8 /README
* new project: ff-luci - Freifunk Lua Configuration Interface
Diffstat (limited to 'README')
-rw-r--r--README56
1 files changed, 56 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000000..05c4eb82bc
--- /dev/null
+++ b/README
@@ -0,0 +1,56 @@
+FFLuCI - Freifunk Lua Configuration Interface
+
+This is a leightweight MVC-Webframework for small embedded device.
+It uses the the Lua programming language and relies on Haserl.
+
+It consists of several parts:
+
+MVC Dispatcher
+ Simple PATH_INFO based dispatching mechanism using Lua modules
+
+ > See src/ffluci/dispatcher.lua for a detailed description
+ > See src/ffluci/controller for example controllers
+
+
+Template engine
+ Support for plain and compiled templates, on-demand compiling support
+ Short markups:
+ <% Lua-Code %>
+ <%= Lua-Code with return value %>
+ <%:i18nkey default translation%>
+ <%+template-to-be-included%>
+ <%~uci.short.cut%>
+
+ Predefined variables for controller dir and media dir
+
+ > See src/ffluci/template.lua for details
+ > See src/view/ for examples
+
+
+i18n Translation support
+ Simple multi-language per-module internationalization support
+
+ > See src/ffluci/i18n.lua for details
+ > See src/i18n/ for examples
+
+
+UCI wrapper support
+ Lua UCI-Wrapper adapting the CLI of the uci binary
+
+ > See src/model/uci.lua for details
+
+
+Menu Building support
+ Supports menu building for modules and exported actions
+
+ > See src/ffluci/menu.lua for details
+ > See src/ffluci/view/menu.htm, src/ffluci/controller for examples
+
+
+HTTP-Abstraction and Formvalue validation support
+ HTTP-Redirect, Statuscode, Content-Type abstraction
+ Dynamic formvalue validation support including varaible type and
+ value range validation
+
+ > See src/ffluci/http.lua for details
+ > See src/ffluci/controller/public/example-action.lua for examples