* swedebugia [2020-09-14 09:09]:
> Den Sun, 13 Sep 2020 14:09:30 +0300
> skrev Re: Lisp:
>
> > Hello,
> >
> > It is not in the simple configuration, it is in various files.
> >
> > Which particular action you wish to review?
>
> I'm interested in the SMS solution (do you use e.g. twilio?) and how
> you linked that together.
For SMS:
- I have used Twilio and I can also use local phone number
- For Twilio, only simple functions, I have posted it here:
http://ix.io/2xCi -- those were working for me and still do.
- For Termux functions it is here: http://ix.io/2xCj and many may not
be related to SMS.
- If you enable F-Droid historical repositories in F-Droid, you may
get Termux API application version 0.31 that one works with the
current termux-api package, so that SMS can be sent, as Termux
disallowed sending SMS due to Google rules, which is stupid, but you
can still use older app version, not inside package version, if you
get me. Then you can use termux-sms-send command.
- otherwise I have found application ShellMS, that one works well or
better, it is in F-Droid
In background I am using the PostgreSQL database, first I have used
SugarCRM software, it was kind of fancy and well looking, but
definitely not reliable due to numerous new releases that broke the
older versions, then I have been using Gedafe or Generic Database
Frontend, https://gedafe.github.io/index.en.html -- it allowed me to
rapidly develop PostgreSQL tables for which I got immediate web
interface, and I have 195815 contacts. After some time I lost my
patience in clicking and waiting, so I have developed one by one
functions to replace my browser based workflow, and now I almost do
not need to use the browser. So access to my database goes through
Emacs now, even though it could be also through browser.
In general when there is need for relational data, I am using
relational database in the background. So I am using the excellent
module emacs-libpq https://github.com/anse1/emacs-libpq as since
upgrades of Emacs, those Emacs Lisp functions stopped working, but
module works without problems.
Database and Emacs I am using for all those functions that are common
in business, for Website Revision System, which means for editing,
organization and publishing of web pages, and it is all in the
database, then for Customer Relationship Management, which means
taking their profiles, accounts or groups where they belong, notes
about them, sending them information and tracking which information I
have sent, and I also use it for sales funnel systems, that may work
alone, for marketing, for business administration of anything, for
example I am managing basic profiles of mining sites and their
descriptions.
Dolibarr seem nice, also other similar systems, yet I cannot agree
with some underlying principles:
- systems are normally written for remote servers. I do not agree that
my data should be on remote servers, for example my contacts which
are valuable should not be in the remote database. Databases can be
compromised if they are online. One way one could distribute
databases to other workers, without online public webserver is using
Virtual Private Network, that way data going over Internet is
encrypted, and database is not stored on public server. In general,
sales process should be done in one office and not remotely as well,
people risk with data so much today and I am not in agreement with
such.
- systems like Dolibarr, look nice, but me as user I cannot easily
extend them, this may not be general principle, it is because I did
not write those programs, and then such programming is oriented also
on Interface making, and I think interface shall be set before a
function.
The Gedafe software is such a nice and good example. It asks the user
only to define the database table.
My contacts table may seem complex here: http://ix.io/2xCq and yet it
could be defined anyway one wants, then the Emacs interface to
database tables is same, I can edit any field or search for data, and
I am using Helm for that.
I think that first version was just based on SugarCRM:
http://ix.io/2xCr
Then if you wish I can help you to rapidly develop your database to
make it how you wish, and then you just invent your workflow and work
by the workflow.
> Also storing business information, generating invoices, etc.
For invoices there are tables:
- simpleinvoices, defining invoices
- addtosimpleinvoice, defining which products or services are added to
simpleinvoices
- goodsandservices
The concept of SQL is shown here: http://ix.io/2xCt
I could export quickly all the empty tables, and those pre-filled
tables, you could import the database and then adjust to whatever you
think it should be, then you use those other functions that I am using
for search or editing and similar.
> I currently use Dolibarr in my business but I'm not that happy with the
> UI which involves A LOT of clicking.
It is interesting to talk