metaclass-nl / tresholds-governor

Tresholds Governor, aims to facilitate the protection of authentication against brute force and dictionary attacks
2 stars 1 forks source link

support several rdb access interfaces #2

Open metaclass-nl opened 10 years ago

metaclass-nl commented 10 years ago

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.

metaclass-nl commented 8 years ago

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.