code

Dependency Injection

Chances are you have used dependency injection without even knowing it! It sounds quite complicated, but in reality it is quite simple. It is a design pattern that causes a greater degree of decoupling and makes testing easier. It also allows for greater flexibility in your system by externalizing dependencies.

Read

API Keys Part II: Securing Keys in Environmental Variables

Don't hardcode API Keys into code and upload to Github!

Read

API Keys Part I: Accidental Key Exposure Risks

It's way too easy to grab free API keys off the web. You would assume that you have to go through some elaborate hack or even some ruse to gather someone else's API keys, but it is actually extremely easy to grab API keys.

Read