[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Fwd: Parts DB API: the story so far



On Dec 20, 2007, at 9:57 AM, DJ Delorie wrote:

>
>> Because then we have to agree on an RDB and how to use it. Why not
>> just use a text editor to start with?
>
> We talked about databases at one of the freedog meetings.  I proposed
> an API like this:
>
> Connect to some backend.
> Feed it attributes whose value you know.

But the value in the schematic may just be a default/placeholder.

> Feed it a list of attributes whose value you want.

But that should be driven by something in the BOM universe, not the  
schematic.

> It returns a list of valid values for each of those attributes.
>
> Example:
>
> [send]
> symbol=resistor
> value=1000
> footprint=0603
> vendor?
> manufacturer?
>
> [result]
> vendor=3
> "digikey"
> "mouser"
> "jameco"
> manufacturer=2
> "rohm"
> "panasonic"
>
>
> As the user defines more attributes, further queries are made with
> those, to get more options back.
>
> This just begs for a plug-in, too.  CGIs, RDBs, flat files, etc.
>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd@xxxxxxxxx




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user