O'Reilly logo

CodeIgniter 1.7 by David Upton, Jose Argudo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required