Relative Content

Tag Archive for third-party-libraries

Two components offering the same functionality, required by different dependencies

I’m building an application in PHP, using Zend Framework 1 and Doctrine2 as the ORM layer. All is going well. Now, I happened to notice that both ZF1 and Doctrine2 come with, and rely on, their own caching implementation. I’ve evaluated both, and while each has its own pro’s and cons, neither of them stand out as superior to the other for my simple needs. Both libraries also seem to be written against their respective interfaces, not their implementations.

Two components offering the same functionality, required by different dependencies

I’m building an application in PHP, using Zend Framework 1 and Doctrine2 as the ORM layer. All is going well. Now, I happened to notice that both ZF1 and Doctrine2 come with, and rely on, their own caching implementation. I’ve evaluated both, and while each has its own pro’s and cons, neither of them stand out as superior to the other for my simple needs. Both libraries also seem to be written against their respective interfaces, not their implementations.

Unit-testing code that relies on untestable 3rd party code [duplicate]

This question already has an answer here: Is wrapping a third party code the only solution to unit test its consumers? (1 answer) Closed 10 years ago. Sometimes, especially when working with third party code, I write unit-test specific code in my production code. This happens when third party code uses singletons, relies on constants, […]