Website From Scratch - Part 17 - Services

Published

Services are just a way to implement 3rd party library to our framework. If you wanted to add an image processing library, or Markdown, you want them to depend on your application not the whole framework.

We use the ArrayAccess feature of PHP to allow us to use an Array like object to access different services.

Read More: http://php.net/manual/en/class.arraya...

This will prep our framework to be used in different projects without depending on any particular project.

Download files here

Timelapse from videezy
Music: "Your Call" Kevin MacLeod (incompetech.com)