How To Design A Good API and Why it Matters

How To Design A Good API and Why it Matters

Looking for a new simple way to plan your day? Get organized with Five.Today

I have been working on my own API (Application Programmer Interface) for the Alpha Framework for a few years now. It is a difficult thing to get right, because invariably you will write it to your taste, which may be at odds with the expected behaviour of the consumers of your API.

Josh Bloch, author of the seminal Effective Java and several of that language's core APIs gives an excellent presentation on API design principals to his colleagues at Google:

How To Design A Good API and Why it Matters

Josh believes that at some stage, all programmers will write an API whether they realise it or not, but if like me you are deliberately writing an API via a framework implementation, this video is particularly worth watching.

The only disappointment is that the sound is not synced with the video correctly :-(

Looking for a modern PHP framework to build your new project? Please consider using the Alpha Framework

John Collins

I have been writing about web technology and software development since 2001. I am the developer of the Alpha Framework for PHP, and the Five.Today personal productivity app. I love open source, technology, and economics.