Now that we've installed CI, we need to understand how it works.
Readers familiar with design patterns will 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 look briefly 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? How is a site structured? And how does CI navigate around it?
This chapter looks at:
How MVC helps to organize a dynamic website
The process by which CI analyzes an incoming ...