|
Revision 813
(checked in by lawouach, 3 years ago)
|
started from scratch Chapter 3
|
| Line | |
|---|
| 1 |
<?xml version='1.0'?> |
|---|
| 2 |
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3b2/docbookx.dtd"> |
|---|
| 3 |
<section xml:id="buildingblog" xmlns:db="http://docbook.org/docbook-ng" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|---|
| 4 |
|
|---|
| 5 |
<title>A real case application : A blog</title> |
|---|
| 6 |
|
|---|
| 7 |
<section> |
|---|
| 8 |
|
|---|
| 9 |
<title>Overview</title> |
|---|
| 10 |
|
|---|
| 11 |
<para>In this section we will be working around a blog system in |
|---|
| 12 |
order to have an overview of how to build applications with |
|---|
| 13 |
CherryPy. Of course we do not pretend to define the unique way to |
|---|
| 14 |
layout an application with CherryPy, this is a practical |
|---|
| 15 |
introduction to CherryPy.</para> |
|---|
| 16 |
|
|---|
| 17 |
<para>We will cover the following topics:</para> |
|---|
| 18 |
|
|---|
| 19 |
<para> |
|---|
| 20 |
|
|---|
| 21 |
<itemizedlist> |
|---|
| 22 |
|
|---|
| 23 |
<listitem> |
|---|
| 24 |
|
|---|
| 25 |
<para>Layout of the package. In that section we will see how |
|---|
| 26 |
to setup a generic structure for the package.</para> |
|---|
| 27 |
|
|---|
| 28 |
</listitem> |
|---|
| 29 |
|
|---|
| 30 |
<listitem> |
|---|
| 31 |
|
|---|
| 32 |
<para>Backend support. In that section we will discuss the |
|---|
| 33 |
different backend once can use for an application and the |
|---|
| 34 |
implication of such choices.</para> |
|---|
| 35 |
|
|---|
| 36 |
</listitem> |
|---|
| 37 |
|
|---|
| 38 |
<listitem> |
|---|
| 39 |
|
|---|
| 40 |
<para>Template support. That section will explain how |
|---|
| 41 |
CherryPy works with templating systems.</para> |
|---|
| 42 |
|
|---|
| 43 |
</listitem> |
|---|
| 44 |
|
|---|
| 45 |
</itemizedlist> |
|---|
| 46 |
|
|---|
| 47 |
</para> |
|---|
| 48 |
|
|---|
| 49 |
</section> |
|---|
| 50 |
|
|---|
| 51 |
<section> |
|---|
| 52 |
|
|---|
| 53 |
<title>Requirements</title> |
|---|
| 54 |
|
|---|
| 55 |
<para>We will be describing the product opkee! in its version 1.0. |
|---|
| 56 |
You will therefore need to download it at |
|---|
| 57 |
<link>http://www.defuze.org/oss/opkee/</link>.</para> |
|---|
| 58 |
|
|---|
| 59 |
</section> |
|---|
| 60 |
|
|---|
| 61 |
<section> |
|---|
| 62 |
|
|---|
| 63 |
<title>Layout of the package</title> |
|---|
| 64 |
|
|---|
| 65 |
</section> |
|---|
| 66 |
|
|---|
| 67 |
</section> |
|---|
| 68 |
|
|---|