diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2011-10-10 20:27:10 +0200 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2011-10-10 20:27:10 +0200 |
commit | 77a8c1fbae04389be9a524ce565bb09b51ffec3e (patch) | |
tree | 1782681196e84a7291e9dc03495884226925d044 /user_guide_src/source/tutorial/index.rst | |
parent | bdbe6d222c15e9d1b42a8ee3a3e7fe04b753c1ba (diff) | |
parent | c2b48812b1e1c3457ddaffb2fbbfcccb45554694 (diff) |
Merge pull request #266 from joelcox/feature/tutorial
User guide tutorial
Diffstat (limited to 'user_guide_src/source/tutorial/index.rst')
-rw-r--r-- | user_guide_src/source/tutorial/index.rst | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/user_guide_src/source/tutorial/index.rst b/user_guide_src/source/tutorial/index.rst new file mode 100644 index 000000000..eb6f11e34 --- /dev/null +++ b/user_guide_src/source/tutorial/index.rst @@ -0,0 +1,47 @@ +######## +Tutorial +######## + +This tutorial is intended to introduce you to the CodeIgniter framework +and the basic principles of MVC architecture. It will show you how a +basic CodeIgniter application is constructed in step-by-step fashion. + +In this tutorial, you will be creating a **basic news application**. You +will begin by writing the code that can load static pages. Next, you +will create a news section that reads news items from a database. +Finally, you'll add a form to create news items in the database. + +This tutorial will primarily focus on: + +- Model-View-Controller basics +- Routing basics +- Form validation +- Performing basic database queries using "Active Record" + +The entire tutorial is split up over several pages, each explaining a +small part of the functionality of the CodeIgniter framework. You'll go +through the following pages: + +- Introduction, this page, which gives you an overview of what to + expect. +- `Static pages <static_pages.html>`_, which will teach you the basics + of controllers, views and routing. +- `News section <news_section.html>`_, where you'll start using models + and will be doing some basic database operations. +- `Create news items <create_news_items.html>`_, which will introduce + more advanced database operations and form validation. +- `Conclusion <conclusion.html>`_, which will give you some pointers on + further reading and other resources. + +Enjoy your exploration of the CodeIgniter framework. + +.. toctree:: + :glob: + :hidden: + :titlesonly: + + index + static_pages + news_section + create_news_items + conclusion
\ No newline at end of file |