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 |
Jamie Rumbelow | 7efad20 | 2012-02-19 12:37:00 +0000 | [diff] [blame] | 19 | - Performing basic database queries using "Query Builder" |
Joël Cox | 3bf17fb | 2011-10-09 19:20:12 +0200 | [diff] [blame] | 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. |
Master Yoda | bd2a7e4 | 2015-03-25 02:36:31 -0700 | [diff] [blame] | 27 | - :doc:`Static pages <static_pages>`, which will teach you the basics |
Joël Cox | 3bf17fb | 2011-10-09 19:20:12 +0200 | [diff] [blame] | 28 | of controllers, views and routing. |
Master Yoda | bd2a7e4 | 2015-03-25 02:36:31 -0700 | [diff] [blame] | 29 | - :doc:`News section <news_section>`, where you'll start using models |
Joël Cox | 3bf17fb | 2011-10-09 19:20:12 +0200 | [diff] [blame] | 30 | and will be doing some basic database operations. |
Master Yoda | bd2a7e4 | 2015-03-25 02:36:31 -0700 | [diff] [blame] | 31 | - :doc:`Create news items <create_news_items>`, which will introduce |
Joël Cox | 3bf17fb | 2011-10-09 19:20:12 +0200 | [diff] [blame] | 32 | more advanced database operations and form validation. |
Master Yoda | bd2a7e4 | 2015-03-25 02:36:31 -0700 | [diff] [blame] | 33 | - :doc:`Conclusion <conclusion>`, which will give you some pointers on |
Joël Cox | 3bf17fb | 2011-10-09 19:20:12 +0200 | [diff] [blame] | 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 |