6163银河.net163.am

Toggle Table of Contents

CodeIgniter User Guide Version 2.2.6


Model-View-Controller

CodeIgniter is based on the Model-View-Controller development pattern. MVC is a software approach that separates application logic from presentation. In practice, it permits your web pages to contain minimal scripting since the presentation is separate from the PHP scripting.

CodeIgniter has a fairly loose approach to MVC since Models are not required. If you don't need the added separation, or find that maintaining models requires more complexity than you want, you can ignore them and build your application minimally using Controllers and Views. CodeIgniter also enables you to incorporate your own existing scripts, or even develop core libraries for the system, enabling you to work in a way that makes the most sense to you.

Previous Topic:  Application Flow Chart    ·   Top of Page   ·   User Guide Home   ·   Next Topic:  Architectural Goals

CodeIgniter  ·  Copyright © 2006 - 2014  ·  EllisLab, Inc.  ·  Copyright © 2014 - 2015  ·  British Columbia Institute of Technology

网站地图