From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Cross Subject: Re: OT: TUI applications Date: Thu, 19 Oct 2017 09:05:47 +1100 Message-ID: <87o9p4f6x0.fsf@gmail.com> References: <20171018132338.GA29427@volibear.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4wTM-000355-5s for emacs-orgmode@gnu.org; Wed, 18 Oct 2017 18:05:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4wTL-00078Q-0a for emacs-orgmode@gnu.org; Wed, 18 Oct 2017 18:05:56 -0400 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:50627) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4wTK-00077Q-Qv for emacs-orgmode@gnu.org; Wed, 18 Oct 2017 18:05:54 -0400 Received: by mail-pf0-x22c.google.com with SMTP id b6so4961066pfh.7 for ; Wed, 18 Oct 2017 15:05:53 -0700 (PDT) In-reply-to: <20171018132338.GA29427@volibear.adamsinfoserv.com> 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" To: Russell Adams Cc: emacs-orgmode There is actually lots of these frameworks and libraries in many different languages, so it really depends on what you are most comfortable working in. I have used both Emacs forms and widgets in the past. For example, I've used forms as an intermediate step between emacs and a backend store where I have 'batch' commands which retrieve the data into a file which forms use as input and then after editing the data using Emacs forms, write the data back to the backend store (making the forms a sort of 'batch' processor). For shell scripts, whiptail, zenity and dialog usually work and if I need something a little more, I've used Tcl/Tk or perl/Tk. However, I am now trying to reduce my level of context switching between different languages. As I'm doing more and more in the web environment, I'm now playing with electron (atom shell), which allows me to easily do a desktop app just using html, CSS and javascript (actually, my intention is to use Clojurescript). I've actually found that even with basic TUI libraries, there is still too much low level stuff I don't want to worry about. Being able to use a JS library I'm familiar with and avoid all the web server, browser differences etc is much faster and simpler, plus the more I use it, the easier it gets as I build up my own modules etc. Tim Russell Adams writes: > Given the unique user base of Org, I wanted to ask a question. > > Has anyone seen any modern development libraries for TUI (console / character cell) applications? Ncurses the library is > not an answer as you have to start from scratch. There are thousands of web frameworks, and yet console is infinitely > simpler than a LAMP stack, but there are no prepackaged libraries for working with it (ie: forms, widgets, etc). > > I frequently find myself in the position to need a small custom database application for this or that (contacts, > invoicing, recipes!). Python (or similar) + SQLite seems like a no brainer, except I don't want webapps or a giant GUI > program like libreoffice Base. I'd use something that was text forms based like an old dBase product. > > I've looked at Emacs forms, but they appear to be only for editing CSV data. > > Any ideas? > > Thanks. > > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -- Tim Cross