We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Connecting to Openedge Progress database

Hi There,

In one of my application, I need to connect to Openedge progreess database from Phalcon framework. I was looking for ODBC connection or ORM wrapper to the database.

Is there any plug-in/adapter avalilable for this task?

edited Sep '16

Use plain PHP for connecting with ODBC:

https://knowledgebase.progress.com/articles/Article/000031743

and services declare this connection:

$di->setShare('db', function(){
    //connecting with obdc
    return $connection;
});

If you want to use it with ORM and phalcon then im not sure but it's need to be SQL based ? Is it ? If yes then just implement adapter - https://docs.phalcon.io/pl/latest/api/Phalcon_Db_AdapterInterface.html