[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: pseudo self modifying code?
- From: "Patrick Mc(avery" <spell_gooder_now@...>
- Date: Thu, 03 Feb 2011 09:15:09 -0500
On 02/03/2011 06:44 AM, Gaspard Bucher wrote:
Have you thought about LuaSQLite ? With some simple wrappers in Lua
(metatables), you can use table syntax to read and update your data:
device = db:device('device name')
-- read db
-- update db
device.name <http://device.name> = xxx
If you really need to be able to hand edit the result, YAML is a very
good choice. JSON (or Lua tables) tend to become unreadable.
Thanks very much for your post and thanks to Axel, Peter and Jerome for
theirs as well.
DBs are really powerful but are just not my style. I had heard of YAML
but did really know what it was, I think this is perfect for me, there
is even a Lua binding.