Now that we've installed CI, we need to understand how it works.
Readers familiar with design patterns would have recognized by now that CI implements the Model-View-Controller (MVC) pattern. This is a method of organizing the files that make up a website or if you like, of splitting the site into sensible parts rather than having one huge lump of code.
In this chapter, we'll briefly look at the theory behind MVC, and then at the way CI organizes itself internally. In particular, what goes in those different folders and how do they communicate?
In this chapter we will look at: