O'Reilly logo

CodeIgniter for Rapid PHP Application Development by David Upton

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

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