So now that we have a basic understanding of what the different parts of CodeIgniter are, we can get down to writing our first controller. The login controller. As we don’t want just anyone being able to access our site.
CodeIgniter approaches web development with MVC in mind. MVC is a way of presenting data that keeps programme logic and presentation separate from each other. This means that there is little PHP scripting in your presentation pages, keeping them clean and focused on looks.