> No, it is a complete component I derived from OVL example (remember:
> I didn't programmed for a lot of time, I'm not used to oop, and my
> approach is non conventional: I begin by picking what I need, trying
> to understand it, so I'm in a blur for "some" time and one day, like
> a puzzle, everything's fine:)
Same here, most of the time still pretty "blury" but making progress -
for me all this is just a hobby but still like to get things to be done
"correctly".
Yesbutno: as I answered Robin (about flickering) my 1st goal is
to have this important widget behave exactly the way I want it to,
even the ugly way - then I'll fix minor issues.
> No: from my own experience (and softwares tests, a lot:) and the
> observation/questioning of other, it must stay simple and ergonomic.
> As it'll be used a the central part of an ERP, 95% of researches are
> standalone ones (you search the name of the client OR its number but
> not both, etc); the remainder 5% (essentially stats& accounting)
> will be treated differently.
ERP, that is pretty big stuff, I believe there is at least one
OpenSource one out there did you consider/looked at it.
Nié? If you mean some other ERP could have fit, that a no.
I tested a lot of them for years, some are easy but lack functions
or even good, but with a scurvy client' service (apisoft was like
that: almost 3 months to patch a bug that kept the same cost price
when you copied and modified a composed item:(
Some needs you to read 5 tons of docs before being used (sage: I
spent 3.5 hours on it and never succeed to create an invoice, just
because the commands were absolutely non-intuitive.)
I don't like web ERPs, they're easy to maintain because there's no
client, but they lack all the heavy client power & flexibility (and
most of them are written with the feet, and more ugly: they use
almost exclusively mysql, which is a piece of shit).
Also, my approach comes from my former activity: computer shop, that
needs some specific process (such as RMA).
99% of them use the wrong architecture: they leave the base data
accessible from the client, which is an heresy and terribly
dangerous.
This is also a self formation to DBA and some programmation skills.
In my own stuff I do a lot of these look ups with a control which is a
"textctrl" with a combobox arrow to the right, a popup is opened when
one clicks on the arrow or if one types into the TC. The popup contains
a search control which receives the text one typed or was in the
textctrl when one clicked on the arrow and it has an OLV with whatever
number of columns. The search is done over all the columns as this
works for my use case.
In the ERP case this is not what is needed, as I told you, you
search for a client's name ou client's number, but not both of them.
This would also lead to too many queries as my DB follows the
atomicity standards: 99.999% isn't redondant (except taxes and grand
total because rates can change in time and you need your old
invoices to stay "frozen" at the time they were made).
ie: even names and firstnames are in a table and just integrity
references against clients/suppliers.
Guess what this control is used in ..., I am sure you guessed by now.
It is in libui.searchctrl and how one uses it can be seen in
controllers.d_book for e.g. self.authorSc or self.publisherSc. While
working with Mike on this I have added the ability to add/modify an
entry from the search control by passing in an appropriate dialog (could
still do with some clean up) which allows to maintain e.g. publishers
(could be suppliers, producers, accounts .....).
I try to not confuse the user, IMHO search capabilities should always
be visible as they're kinda first aid.
As I have used/tested many softwares of all qualities, I try to see
both sides of the problem: the conceptor one but also (and mainly)
the user's one.
If I can have most of users use my ERP almost without reading the
docs, then I'll consider it a win.
> Your email address says you live in france: you should know we like
> to split hair °<;-)
Where in France are they doing that;-) . Lucky we get some good food
and wines and not only split hear down in the South West:-) .
Yeah, france could be a terrific country... without poliotics nor
bureaucracy that plants idiotic laws and rules to make you mad
and reap more and more taxes (even juges are now obliged to
specialize to cover the text diarrhea).
···
On Wed, 28 Dec 2011 18:09:09 +0100 werner <wbruhin@free.fr> wrote:
--
* JHM wonders what Joey did to earn "I'd just like to say, for the
record, that Joey rules."-- Seen on #Debian