pdo transport type

Discussion in 'PHP Toolkit' started by Jason, May 13, 2016.

Tags:
  1. Jason

    Jason New Member

    Hello all,
    We have been migrating our PHP code to an Linux/NGINX server setup. We have legacy applications that reside on our iSeries and would like to use the PHP toolkit to handle the program calls. We are using PDO as our DB connection. I see that there are drivers for PDO and the likes on YiP, but I cannot see where the Toolkit supports it. Am I missing it, or is it planned?

    I am looking here: http://yips.idevcloud.com/wiki/index.php/XMLSERVICE/PHP
     
  2. Alan

    Alan Administrator Staff Member

    Hi, Jason, it wasn't in our plans, but we're deciding on next priorities now. Please add an issue here: https://github.com/zendtech/IbmiToolkit/issues

    How many programs (RPG, I assume) do you plan to call? I might have another suggestion for you.

    Sorry for taking a week to answer but most of us were at the COMMON conference.

    Best,
    Alan
     
  3. Jason

    Jason New Member

    Thank you for your response Alan. I am not exactly sure how many we have (probably a few dozen). We are in the process of moving PHP code to a linux server. Our framework is using PDO as its sql abstraction layer. Any help or ideas would be greatly appreciated.

    -Jason
     
  4. Alan

    Alan Administrator Staff Member

    If the calls are simple then you might be able to use stored procedures. More work to set up but not too bad.

    Again, also please add "PDO transport" as an issue on the toolkit issue tracker.

    Alan
     
  5. Alan

    Alan Administrator Staff Member

  6. Ross Levi

    Ross Levi New Member

    good one ..
     

Share This Page