#1272: Make charset configuration and init queries event based in
AgaviDoctrineDatabase
----------------------+-----------------------------------------------------
 Reporter:  david     |       Owner:  david
     Type:  task      |      Status:  new  
 Priority:  normal    |   Milestone:  1.0.4
Component:  database  |     Version:  1.0.3
 Severity:  normal    |    Keywords:       
Has_patch:  0         |  
----------------------+-----------------------------------------------------
 At the minute, we call {{{Doctrine_Connection::setCharset()}}} in
 {{{AgaviDoctrineDatabase::initialize()}}}, and also run {{{init_queries}}}
 there. Both will cause an instantaneous connect to the database (as
 Doctrine handles the opening of the connection itself).

 Should instead use [http://www.doctrine-
 project.org/documentation/manual/1_2/en/event-listeners Event Listeners].

-- 
Ticket URL: <http://trac.agavi.org/ticket/1272>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to