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, […]
Is it better to use already build plugins/extensions or code your own in programming projects [duplicate]
Sometimes it’s hard to do little bit customization if we want some extra behavior. In past I used some extension it work ok to start with.
Then I wanted to do something else which i was not able to figure out and in the end i had to code my own. It was not as efficient but I had full control.
Is it better to use already build plugins/extensions or code your own in programming projects [duplicate]
Sometimes it’s hard to do little bit customization if we want some extra behavior. In past I used some extension it work ok to start with.
Then I wanted to do something else which i was not able to figure out and in the end i had to code my own. It was not as efficient but I had full control.
Is it better to use already build plugins/extensions or code your own in programming projects [duplicate]
Sometimes it’s hard to do little bit customization if we want some extra behavior. In past I used some extension it work ok to start with.
Then I wanted to do something else which i was not able to figure out and in the end i had to code my own. It was not as efficient but I had full control.
Is it better to use already build plugins/extensions or code your own in programming projects [duplicate]
Sometimes it’s hard to do little bit customization if we want some extra behavior. In past I used some extension it work ok to start with.
Then I wanted to do something else which i was not able to figure out and in the end i had to code my own. It was not as efficient but I had full control.
Is it better to use already build plugins/extensions or code your own in programming projects [duplicate]
Sometimes it’s hard to do little bit customization if we want some extra behavior. In past I used some extension it work ok to start with.
Then I wanted to do something else which i was not able to figure out and in the end i had to code my own. It was not as efficient but I had full control.
Is it better to use already build plugins/extensions or code your own in programming projects [duplicate]
Sometimes it’s hard to do little bit customization if we want some extra behavior. In past I used some extension it work ok to start with.
Then I wanted to do something else which i was not able to figure out and in the end i had to code my own. It was not as efficient but I had full control.
Is it really possible to have libraries not depend on other libraries?
I often see the advice that you should try to make each library independent. And yet in reality I can never seem to achieve this. Is this BS advice or is it actually possibly in any realistic way?