[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Web API
- Subject: Re: Web API
- From: Chris Bennett <..hidden..>
- Date: Tue, 11 Sep 2012 10:45:32 -0500
On Tue, Sep 11, 2012 at 05:03:14AM -0700, Chris Travers wrote:
>
> Yeah. First what language are you using?
>
> if it's Perl the simplest thing to do is to patch into the existing object
> model. In other languages I think the best thing to do is to help modify
> LedgerSMB at the db level to provide some of the API;s you are looking at
> doing if they are not supported right now. The advantage is simply that
> you put your code where more people will use it that way. Then it is a
> matter of writing query mappers in whatever your language is, if not
> supported yet (currently support Perl and PHP, hope to have Java coming
> soon). I can help with that.
>
> I think Hugh Esco is also looking at doing something similar in Perl. Even
> if you are using a different language it might be worth collaborating on
> common components.
>
> Best Wishes,
> Chris Travers
I am also working on integrating what I have into LedgerSMB.
I am very pleased with my own interfaces for inserting, viewing and
updating my own customer, vendor and parts/assemblies data and I want to
use that to work into LSMB.
I happen to use mod_perl for that, but I don't see why that can't be
attached into LSMB from a handoff into existing web commands after
processing.
But doing it with some help would be great.
I also have something similar for labor, which I am still fiddling with
to get just right. With my business, all labor is done at an external
jobsite, often with subcontractors. I always handle materials myself.
I have set up a git at
https://github.com/cpbennett/LedgerSMB-Labor-Materials-Custom
and a working copy at:
http://forums.ledgersmb.org/perl/VP/pg.pl
and an autodoc at:
http://forums.ledgersmb.org/vp.html
Chris Bennett