O'Reilly logo

Programming with CodeIgniter MVC by Yehuda Zadik, Eli Orr

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

Understanding and using CI naming conventions

The CI naming conventions are essential to understand and use, in order to properly develop with CI. They enable you to write minimal code using a strict and concise set of rules.

The full CI naming conventions and style guide can be found at http://codeigniter.com/user_guide/general/styleguide.html.

The naming conventions refer to the naming of parameters, functions/methods, class-related PHP file name storing code, project resource paths, and so on. Here are the specific issues we will review:

  • Extending CI resources such as the CI controller or model in our project resources (class extends class fashion—for example, extending CI_controller or CI_model; see the examples discussed in the Controller definition ...

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