Short description Form Editing of Structured Data

I want to put up structured database records that people can edit. In my particular case, it's aviation data to supplement or replace the Digital Aeronautical Flight Information File (see http://navaid.com/dafif.html). Doing a simple database editing form is easy, but I'd like to leverage the trust and history rollback ability of a wiki. I don't know if this possible, and I don't know if anybody else could use it.


Wiki Form Feature

Twiki has such a feature: Wiki Forms, which makes TWiki as an enterprise level wiki.

Reference: http://twiki.org/cgi-bin/view/TWiki/TWikiForms

FormCreate and FormSubmit

There are two interesting plugins can do form editing, handle form data.

But lack some feature, which TWiki forms have. If the following features implemented, 80% of twiki's form features moin will have.

Parser: FormData

Define a FormData filed in page

If a page contains a FormData data.

{{{#!FormData form_define_page=FormDefinePageName
field1; data 1
field2; "data 2
continue ..."
field3; data 3
}}}

Display of the FormData page

If user has edit permission for the page, show an editable form.

If user has no edit permission, display a read-only form table.

The form action is a pre-defined action, and from defination comes from <FormDefinePageName>.

Submit of the form will change data of the FormData filed in the page.

Macro: FormSearch

Add a FormSearch macro in page

Search data in pages which have certain FormData.
<<FormSearch(form_define_page=FormDefinePageName, fields=all, ...)>>

Display of the FormSearch macro

Display a search form against a from defined in <FormDefinePageName>.

The pages contain the structure data which is matched will display as the search result.

-- JiangXin 2008-09-21 03:52:43


CategoryFeatureRequest

MoinMoin: FeatureRequests/FormEditing (last edited 2008-09-21 03:52:44 by JiangXin)