[luci] sqlite connection to luci

Pau hakais at gmail.com
Tue Jun 4 12:02:08 CEST 2013


I'm not a LUCI expert either but I'll try to help you.

1) LUCI and OpenWRT are using UCI system [1] as database to store the
information. I think you can use it for your own pourposes.

2) Check /usr/lib/lua/luci/controller files to understand how it works.
There are a couple of how-tos in the Luci web page [2]

3) I'm not sure of that but as far I understand it does not (it only
provides a single "stok").

Cheers

[1] http://wiki.openwrt.org/doc/uci
[2] http://luci.subsignal.org/trac/wiki/Documentation

--
./p4u


On Mon, Jun 3, 2013 at 4:14 PM, Deepak Agasibagil <deepak at relysys.co.in>wrote:

> Hello,
>        I am newbie to this community.
> I have router with OpenWrt running on it and  i am able to access router
> through LUCI interface.
>
> Please guide me on below things
>
> 1) How to associate LuCI with a database.( I didn't found any document on
> this in luci homesite).
>      My intention is to provide form on 'view' when a user fills form and
> hit submit button, the data should be stored in database
>     and later i can query the database to retrieve the data stored and
> represent on web page.
>
> 2) How to run lua code or functions inside a 'Controller' in LuCI.
>
> 3) And the last one is that, Does LuCI framework supports multiple user
> login?
>
> Thanks,
> Deepak
>
> _______________________________________________
> luci mailing list
> luci at lists.subsignal.org
> https://lists.subsignal.org/mailman/listinfo/luci
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsignal.org/pipermail/luci/attachments/20130604/b3faefa2/attachment.html>


More information about the luci mailing list