blob: 91f99c7cddb42a89ad5c8f024c3f9198524efd13 [file] [log] [blame]
Joël Coxc2b48812011-10-10 20:24:46 +02001########
2Tutorial
3########
Joël Cox3bf17fb2011-10-09 19:20:12 +02004
5This tutorial is intended to introduce you to the CodeIgniter framework
6and the basic principles of MVC architecture. It will show you how a
7basic CodeIgniter application is constructed in step-by-step fashion.
8
9In this tutorial, you will be creating a **basic news application**. You
10will begin by writing the code that can load static pages. Next, you
11will create a news section that reads news items from a database.
12Finally, you'll add a form to create news items in the database.
13
14This tutorial will primarily focus on:
15
16- Model-View-Controller basics
17- Routing basics
18- Form validation
Jamie Rumbelow7efad202012-02-19 12:37:00 +000019- Performing basic database queries using "Query Builder"
Joël Cox3bf17fb2011-10-09 19:20:12 +020020
21The entire tutorial is split up over several pages, each explaining a
22small part of the functionality of the CodeIgniter framework. You'll go
23through the following pages:
24
25- Introduction, this page, which gives you an overview of what to
26 expect.
Master Yodabd2a7e42015-03-25 02:36:31 -070027- :doc:`Static pages <static_pages>`, which will teach you the basics
Joël Cox3bf17fb2011-10-09 19:20:12 +020028 of controllers, views and routing.
Master Yodabd2a7e42015-03-25 02:36:31 -070029- :doc:`News section <news_section>`, where you'll start using models
Joël Cox3bf17fb2011-10-09 19:20:12 +020030 and will be doing some basic database operations.
Master Yodabd2a7e42015-03-25 02:36:31 -070031- :doc:`Create news items <create_news_items>`, which will introduce
Joël Cox3bf17fb2011-10-09 19:20:12 +020032 more advanced database operations and form validation.
Master Yodabd2a7e42015-03-25 02:36:31 -070033- :doc:`Conclusion <conclusion>`, which will give you some pointers on
Joël Cox3bf17fb2011-10-09 19:20:12 +020034 further reading and other resources.
35
36Enjoy your exploration of the CodeIgniter framework.
Joël Coxc2b48812011-10-10 20:24:46 +020037
38.. toctree::
39 :glob:
40 :hidden:
41 :titlesonly:
42
Joël Coxc2b48812011-10-10 20:24:46 +020043 static_pages
44 news_section
45 create_news_items
46 conclusion