all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to save custom variable programmatically?
Date: Tue, 17 Nov 2020 18:07:23 +0300	[thread overview]
Message-ID: <X7PnKyHQUMjFKbDK@protected.rcdrun.com> (raw)
In-Reply-To: <875z6441e3.fsf@web.de>

* Michael Heerdegen <michael_heerdegen@web.de> [2020-11-17 15:24]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > Do you have example for:
> >
> > - client's name (to be key for below)
> >   - address line 1
> >   - address line 2
> >   - address line 3
> >   - postal code
> >   - city
> >   - country
> >   - phone
> >   - fax
> >   - mobile
> >   - email
> 
> BTW, if you actually happen to want to have a database of contacts, I
> have to add that there are special solutions for that task of course:
> BBDB, its successor EDBD, and org-contacts (I currently use the first
> one; there may be more).

Question for the structure is meant for packages that produce invoices
and quotations for customers where user does not need any outside
package or anything more sophisticated. Just entering few tables, few
items or articles or goods, pricing and creating invoice.

For contacts management I will have new package for GNU ELPA, it will
come. I am using it since quite some time for me and it comes from CRM
or Customer Relationship Management database and different web GUI.

GeDaFe - PostgreSQL Generic Database Interface
==============================================
Hyperlink: http://gedafe.github.io/doc/gedafe-sql.en.html 

Gedafe is a generic web front-end to PostgreSQL. Generic means in this
context that Gedafe does not know anything about the structure or
contents of the database it is presenting.

Over many years using Gedafe interface I have developed many various
PostgreSQL tables for various use cases. Let us say for mapping lands
and generation of maps or for planning, invoices, etc.

Contacts are of course included together with various accounts and
integrations that is way complex than BBDB. For me personally I have
contacts management that satisfied all personal needs (not public
need).

For a package to create invoices and to be very simple as Emacs is
simple for the user, I am looking how to structure data and save it
for the user.

I think that packages should support various databases:

1. Emacs based databases should be simplest

2. GDBM database, I hope to sponsor dynamic module for GDBM soon,

3. PostgreSQL, dynamic module already exists

For the option 3. I have the solution and `emacs-libpq` will come soon
to GNU ELPA: https://github.com/anse1/emacs-libpq.git

For option 1. I look for solution to make it simple for those users
who do not have many clients and do not need sophisticated database in
background.

Option 3. with GDBM will come in future and I hope it will enhance
Emacs as programming interface to databases.

So structure with EIEIO will serve for option 1.

Jean



  reply	other threads:[~2020-11-17 15:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10  7:51 How to save custom variable programmatically? Jean Louis
2020-11-10 10:43 ` Robert Pluim
2020-11-10 13:42   ` Jean Louis
2020-11-10 11:23 ` Michael Heerdegen
2020-11-10 13:55   ` Jean Louis
2020-11-10 14:36     ` Michael Heerdegen
2020-11-10 19:19       ` Jean Louis
2020-11-10 20:42         ` Marcin Borkowski
2020-11-10 21:46           ` Jean Louis
2020-11-11 21:20             ` Marcin Borkowski
2020-11-10 20:43         ` Michael Heerdegen
2020-11-10 21:52           ` Jean Louis
2020-11-11 18:00             ` Michael Heerdegen
2020-11-11 18:05               ` Jean Louis
2020-11-17 12:24             ` Michael Heerdegen
2020-11-17 15:07               ` Jean Louis [this message]
2020-11-10 21:15         ` Michael Heerdegen
2020-11-10 21:55           ` Jean Louis
2020-11-11 10:55             ` Michael Heerdegen
2020-11-17 15:44           ` Jean Louis
2020-11-17 16:38             ` Michael Heerdegen
2020-11-17 21:30               ` Stefan Monnier
2020-11-10 16:24 ` Drew Adams
2020-11-10 19:23   ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X7PnKyHQUMjFKbDK@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.