zsh-workers
 help / color / mirror / code / Atom feed
* ERP application as Zsh module -- thought?
@ 2013-10-12  5:55 William Park
  2013-10-12 16:04 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: William Park @ 2013-10-12  5:55 UTC (permalink / raw)
  To: zsh-workers

Hi all,

I am developing "ERP system for small business".  The underlying data
structure is spreadsheet (ie. 2D sparse table) where the rows act like
arrays.  Instead of shoving everything into a single spreadsheet, in my
case, each spreadsheet is a record and a file.  For example, if you have
1000 items in IV subsystem, then each item record will be one
spreadsheet file, and there will be 1000 similar files in IV directory.

I would like to embed my application as Zsh module.
Is this something you guys would like to see?
-- 
William


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ERP application as Zsh module -- thought?
  2013-10-12  5:55 ERP application as Zsh module -- thought? William Park
@ 2013-10-12 16:04 ` Bart Schaefer
  2013-10-12 21:09   ` William Park
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2013-10-12 16:04 UTC (permalink / raw)
  To: zsh-workers

On Oct 12,  1:55am, William Park wrote:
}
} I am developing "ERP system for small business".  The underlying data
} structure is spreadsheet (ie. 2D sparse table) where the rows act like
} arrays.
} 
} I would like to embed my application as Zsh module.

May I ask, why?  I don't know a lot of small business owners who know
their way around in a shell, and zsh doesn't exactly handle 2D arrays
cleanly, much less databases of them.

(Well, OK, *I* know a number of small business owners who know their
way around in a shell, but I have to assume I'm an outlier in that
respect, and I also know a number of them who would be totally lost.)

} Is this something you guys would like to see?

I'd be curious to see how you intend to go about it, but it's not likely
that I'd use it.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ERP application as Zsh module -- thought?
  2013-10-12 16:04 ` Bart Schaefer
@ 2013-10-12 21:09   ` William Park
  0 siblings, 0 replies; 3+ messages in thread
From: William Park @ 2013-10-12 21:09 UTC (permalink / raw)
  To: zsh-workers

On Sat, Oct 12, 2013 at 09:04:13AM -0700, Bart Schaefer wrote:
> On Oct 12,  1:55am, William Park wrote:
> }
> } I am developing "ERP system for small business".  The underlying data
> } structure is spreadsheet (ie. 2D sparse table) where the rows act like
> } arrays.
> } 
> } I would like to embed my application as Zsh module.
> 
> May I ask, why?  I don't know a lot of small business owners who know
> their way around in a shell, and zsh doesn't exactly handle 2D arrays
> cleanly, much less databases of them.

Why?  Well, it allows me to concentrate on data entry and processing,
which is the business side of things.  For the market in question, key
characteristic is custom business logic.  Each logic may be simple and
short, but there are so many.  And, someone has to program all these
logic.

To do this in C, you'd need to edit C code and run "make" every time.
I actually prefer this, but people may be more comfortable with short
shell scripts.  I'll be adding couple of builtins for:
    - reading/writing spreadsheet files
    - reading/writing cells
    - pattern searching along the rows
These are for "data processing", or something called "posting" and
"report".  Once business logic is set, there is no user interaction.

"Data entry" is separate but important, because most users will interact
with this menu screens.  Right now, I'm thinking ncurses window, as it's
closely related to POS (point of sale).  I'll have to see if it can also
be done as Zsh builtins.

All in all, the spreadsheet file format is ASCII, so that you can use
vi/awk as last resort.  Filesystem serves as btree database (which it
is), and shell serves as calculator and interpretor glue (which it is).
Just lazy way of doing things... :-)

>
> (Well, OK, *I* know a number of small business owners who know their
> way around in a shell, but I have to assume I'm an outlier in that
> respect, and I also know a number of them who would be totally lost.)

Owners will not do entire system themselves.  They would first get the
initial system with the business logic they need, and then customize
themselves or get someone to do it.  I personally think that editing C
code or shell script takes the same amount of effort.  Really, how
difficult is it to type "vi" and followed by "make".

Making the initial sale is the most important thing, because subsequent
customizations tend to be simple usually.  To that end, I cannot ignore
"comfort factor".
-- 
William


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-12 21:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-12  5:55 ERP application as Zsh module -- thought? William Park
2013-10-12 16:04 ` Bart Schaefer
2013-10-12 21:09   ` William Park

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).