Web Development Blog

Latest from Rapid Web

Search for:

Coding methods and principles (part 3)

By Mark Jones 19th June 2015


Inversion of Control (IoC) In the previous article (part 2), we talked about using Dependency Injection and Programming to an Interface to make your code more modular. However, we realised that we still had an issue with confusion and complexity whenever we needed to instantiate a class that requires a lot of arguments to be passed to it. Also if any of the classes arguments needed changing, then we would have to go through all our code and mod...

Read Article