Make the database queries independent from Doctrine Query Builder, add wrappers and dependency injection to support several rdb access interfaces including PDO and possably Zend_Db.
Be aware that eventually there will be more tables. Some of them will be short term (RequestCounts, PasswordCounts), orhers longer (Releases, ReactivationTokens). Maybe some will want to store the short term ones in some sort of memory DB but leave the others in a relational DB.
PDO is now supported without DBAL. Not sure about what other rdb access libraries to support. Leaving the issue open for now. If you need to use any other popular rdb acess layer, please react.
Make the database queries independent from Doctrine Query Builder, add wrappers and dependency injection to support several rdb access interfaces including PDO and possably Zend_Db.
Be aware that eventually there will be more tables. Some of them will be short term (RequestCounts, PasswordCounts), orhers longer (Releases, ReactivationTokens). Maybe some will want to store the short term ones in some sort of memory DB but leave the others in a relational DB.