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

Re: [jfw] Joomla PDO Database Driver

I didn't know that I should use the PDO versions for DBAL connection, so I just passed the same as I have configured for Joomla\DatabaseDriver, it worked and I moved along :)

However, options are limited: https://github.com/doctrine/dbal/tree/master/lib/Doctrine/DBAL/Driver so using sqlite would work for Joomla DatabaseDriver, but DBAL probaly requires pdo-sqlite so I guess I should create separate branch in configuration just for doctrine ('system.doctrine.driver').

BTW: for simple tasks (listing application extensions) I'm thinking about using generic PDO trough PdoServiceProvider , so folks don't have to require either Joomla\Database nor Doctrine.

On Sunday, April 6, 2014 5:06:12 PM UTC+2, Herman Peeren wrote:
eh, typo, sorry for extra confusion. The first codeline in my last posting (how I always used pdo) was intended to be
     'driver' => 'pdo_mysql',
    'driver' => $joomlaConfig->'pdo_mysql',

Framework source code: https://github.com/joomla/joomla-framework
Visit http://developer.joomla.org for more information about developing with Joomla!
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-framework+unsubscribe AT googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-framework.