Chapter 3. Navigating Your Site
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:
- How MVC helps to organize a dynamic website
- The process by which CI analyzes an incoming Internet request and decides which part of your code ...
Get CodeIgniter 1.7 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.