Re:Show HN: A ncurses CRM system (and accounting)
by jamestomasino on Tuesday April 04, 2017 @06:26AM
(#14031118)
This is lovely. There have been a few projects floating around HN aimed at personal CRM lately, and I could see this being an excellent interface for such a thing. I'd love to know more: how is the data being stored / how configurable do you plan on it being (custom objects, fields )
[ Parent
| on HN ]
Re:Show HN: A ncurses CRM system (and accounting)
by iveqy on Tuesday April 04, 2017 @06:37AM
(#14031184)
Thanks for your support. The data is stored in a sqlite3 database. The next two big features will be network awareness (that is, you can have multiple databases sync with eachothers) and custom data fields where I was planning doing something like http://backchannel.org/blog/friendfeed-schemaless-mysql to get a fully customable configurations.
Re:Show HN: A ncurses CRM system (and accounting)
by dotancohen on Tuesday April 04, 2017 @07:15AM
(#14031388)
Instead of multiple databases in sync, why not use a real RDBM such as Postgres and have the clients sync to the master. The distributed databases-in-sync idea feels a bit like Git, which I love for code but would hate for production customer data. Those types of things need a canonical representation.
Re:Show HN: A ncurses CRM system (and accounting)
by iveqy on Tuesday April 04, 2017 @07:23AM
(#14031417)
I single database would require a constant internet connection and would be much slower.
I aim for 0.1s feedback, and that's hard going over the network. See https://www.nngroup.com/articles/response-times-3-important-...
I don't think it's such a bad idea for production customer data. Actually I think it's a great idea and wrote my master thesis about that: http://fileadmin.cs.lth.se/cs/Personal/lars_bendix/Teaching/...
I would love to hear why you think it's a bad idea! Would you care to elaborate?
Re:Show HN: A ncurses CRM system (and accounting)
by dotancohen on Tuesday April 04, 2017 @03:48PM
(#14036515)
I definitely agree that you should continue to use sqlite as a local cache and read from it for initial display. But I believe that on save writing back to a central server and occasionally polling it for updates would provide many benefits, the most obvious of which is decoupling the UI from the data. See my reply to self in which I mentioned a possible HTTP interface.
Re:Show HN: A ncurses CRM system (and accounting)
by iveqy on Wednesday April 05, 2017 @12:43AM
(#14039707)
To get a reasonable real world working application I believe I've to do something like that. Thanks =)
Re:Show HN: A ncurses CRM system (and accounting)
by dotancohen on Tuesday April 04, 2017 @07:18AM
(#14031399)
Reply to self. Another advantage of having a master database would be to allow rodent-dragging hipsters to write their own web client using a dozen Javascript libraries and get the latency that they would otherwise miss!