[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thoughts on Voiding Invoices

On 9/25/06, Chris Travers <..hidden..> wrote:
On 9/25/06, Tony Fraser <..hidden..> wrote:
> I can't remember if it is posted in a public place or not but I did
> write/propose the start of a OO Perl interface to SQL Ledger that used
> HTTP::Mechanize in the background... The idea went right over the heads
> of the other project members and didn't go anywhere.

Well, I think there are two better options at the moment.  I know
Chris Murtagh is looking at creating an XML inerface.  It might be
worth collaborating with him on this sort of thing.

 I think that an XML interface will greatly help integrate LedgerSMB
into other applications, and also might help us separate presentation
and business logic with LedgerSMB itself. My more immediate needs are
that I need to be able to get POs into LedgerSMB from two very
different sources 1)my client's EDI VAN and 2) my clients web store. I
figure that writing an XML interface will already save work for these
two cases, and the interface will be much more likely to be re-usable
by others.

 I don't think I'll go the WWW::Mechanize route though. I haven't
used it before, but it seems like glue on top of the existing web UI,
whereas I'm more interested in replacing the current UI altogether -
at least bypassing it for the moment (if I'm missing something about
WWW::Mechanize, please feel free to enlighten me). This would make the
XML API somewhat of a standalone app, as it wouldn't necessarily
interact with any other LegerSMB code, just with the database
(although, I will use LegerSMB modules if/wherever possible).