Joël Cox | c2b4881 | 2011-10-10 20:24:46 +0200 | [diff] [blame] | 1 | ######## |
| 2 | Tutorial |
| 3 | ######## |
Joël Cox | 3bf17fb | 2011-10-09 19:20:12 +0200 | [diff] [blame] | 4 | |
| 5 | This tutorial is intended to introduce you to the CodeIgniter framework |
| 6 | and the basic principles of MVC architecture. It will show you how a |
| 7 | basic CodeIgniter application is constructed in step-by-step fashion. |
| 8 | |
| 9 | In this tutorial, you will be creating a **basic news application**. You |
| 10 | will begin by writing the code that can load static pages. Next, you |
| 11 | will create a news section that reads news items from a database. |
| 12 | Finally, you'll add a form to create news items in the database. |
| 13 | |
| 14 | This tutorial will primarily focus on: |
| 15 | |
| 16 | - Model-View-Controller basics |
| 17 | - Routing basics |
| 18 | - Form validation |
| 19 | - Performing basic database queries using "Active Record" |
| 20 | |
| 21 | The entire tutorial is split up over several pages, each explaining a |
| 22 | small part of the functionality of the CodeIgniter framework. You'll go |
| 23 | through the following pages: |
| 24 | |
| 25 | - Introduction, this page, which gives you an overview of what to |
| 26 | expect. |
| 27 | - `Static pages <static_pages.html>`_, which will teach you the basics |
| 28 | of controllers, views and routing. |
| 29 | - `News section <news_section.html>`_, where you'll start using models |
| 30 | and will be doing some basic database operations. |
| 31 | - `Create news items <create_news_items.html>`_, which will introduce |
| 32 | more advanced database operations and form validation. |
| 33 | - `Conclusion <conclusion.html>`_, which will give you some pointers on |
| 34 | further reading and other resources. |
| 35 | |
| 36 | Enjoy your exploration of the CodeIgniter framework. |
Joël Cox | c2b4881 | 2011-10-10 20:24:46 +0200 | [diff] [blame] | 37 | |
| 38 | .. toctree:: |
| 39 | :glob: |
| 40 | :hidden: |
| 41 | :titlesonly: |
| 42 | |
Joël Cox | c2b4881 | 2011-10-10 20:24:46 +0200 | [diff] [blame] | 43 | static_pages |
| 44 | news_section |
| 45 | create_news_items |
| 46 | conclusion |