From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Org-mode to feed a database Date: Tue, 30 Dec 2014 22:15:53 +0100 Message-ID: <2014-12-30T22-14-51@devnull.Karl-Voit.at> References: Reply-To: Karl Voit Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y649I-0006uR-B8 for emacs-orgmode@gnu.org; Tue, 30 Dec 2014 16:16:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y649F-0006l5-1O for emacs-orgmode@gnu.org; Tue, 30 Dec 2014 16:16:16 -0500 Received: from plane.gmane.org ([80.91.229.3]:47157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y649E-0006kk-Rt for emacs-orgmode@gnu.org; Tue, 30 Dec 2014 16:16:12 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y649D-00019H-9n for emacs-orgmode@gnu.org; Tue, 30 Dec 2014 22:16:11 +0100 Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Dec 2014 22:16:11 +0100 Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Dec 2014 22:16:11 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * Vikas Rawal wrote: > This is, in all likelihood, a crazy idea. Please excuse me for that. Hehe. > I often need to get a number of people enter complex survey data > into a database using some kind of forms. The forms I need are > fairly complex (with several nested grids, for example). I need > radio-buttons and drop-down menus-equivalents. > > I was thinking if it would be worth it to use Org-mode for data > entry. > > The idea would be something like this. We have a template org file > that is copied for each survey respondent. The template contains > “blank” org tables and some source blocks. Responses are filled > into the org tables, and then the source blocks are evaluated to > feed the data into the database. You can version-control the whole > thing so that different people can create these records and push > it to a centralised git repository. Never done this. But if I'd do this, I'd definitely take a look at yasnippet and using it for default values, dropdowns, ... -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github