Mail Archives: geda-user/2015/09/13/14:43:53
On Sun, 13 Sep 2015 09:55:25 -0800
"Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]"
<geda-user AT delorie DOT com> wrote:
> Obviously i'ts possible, the question is how hard is it for the
> majority of users. If you look at DBI.pm I think you cannot honestly
> say that the example I give above will be easier via SQL than it is
> now.
The majority of users don't really care what is going on behind the scenes.
Unfortunately, we are software guys, and we do. :-)
> > I don't think xml/yaml is a better choice. They get very, very
> > ugly. I
>
> True, but so does SQL once things get complicated. As it happens I've
> done a lot of SQL so you can't fool me here :)
I don't want to fool you. I'm happy that you are a kind of person, who
actually does something, and not just hang around.
> > don't see any reason why not use SQLite.
>
> Because many, possibly most people aren't familiar with it. Give
> yourself credit for what you've learned about SQL, and acknowledge
> that it isn't going to be instantaneous for others to get that
> knowledge.
I don't have much knowledge on SQL. And I don't really feel that I'm
something special. I just browsed the gEDA/PCB code and I get a feeling
that life would be much easier if we had that SQL thing as the data
structure.
In the other hand, I don't think the vast majority of users actually would
hack an xml. It is pain.
I see no difference here.
> There are actually only two reason *to* use SQL. One is parse speed,
> which is not significant for most use cases.
> The other is the additional work for you (or someone) to put it in a
> readable format. But its easy work and I hereby
> volunteer to do it.
Okay. Don't get me wrong. I don't care if it is SQL, or not. I just state
that if we use SQLite, we pull in lots of work. Your work has a value! I
suggest we concentrate on the PCB part, and not doing something which is
already done.
That is all I say.
BTW, what is your recommendation? Would you use xml? Would you roll your own
file format?
Lev
--
73 de HA5OGL
Op.: Levente
- Raw text -