for installation script I cannot use ORM but I should use dbal. right?
please confirm if I am correct?
At this time I am using dbal to check whether db is installed, if not,
redirect them to /install/ folder and install db using dbal, so in every
request of my pages, it connects to db twice. once via orm, once via dbal,
now for zend/log if I need to use their DB adapter, there are three
connections on every page. Is it still wise? or bad practice? if bad
practice, I am thinking of two solutions:

1) Drop dbal completely and use zend/db for both installation and for
zend/log.
2) Use their Mock option
http://framework.zend.com/manual/2.3/en/modules/zend.log.writers.html#testing-with-the-mock
to get the log as an array then with that array prepare a sql then insert
it with dbal.

However this is not directly related to doctrine but I appreciate your
opinion what is the best solution?

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to