Pages

Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts
Stardate 2011.8669, USS Pure Storage

I'm quite pleased with the simplicity of Xataface.  Except for a couple minor bugs discovered with selection lists (doesn't allow using zero as an option value), had it up and running in a matter of minutes.  The structure of the fields.ini and valuelists.ini optional files just plain makes sense:

# more cpu/fields.ini 
[active]
widget:type = select
vocabulary = yesno


[oem_id]
widget:type = select
vocabulary = oem_id


[hyperthreading]
widget:type = select
vocabulary = yesno
#
# more cpu/valuelists.ini 
[oem_id]
__sql__ = "select id,name from oem where active=1 order by name"

[yesno]
1 = "Yes"
2 = "No"
#