Differences between revisions 1 and 2
Revision 1 as of 2005-06-11 10:38:17
Size: 390
Editor: ZoomQuiet
Comment:
Revision 2 as of 2005-06-11 10:47:34
Size: 3629
Editor: ZoomQuiet
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
= 文章大标 =
''简述''
== 章标题1 ==
The Quixote Cookbook provides a set of small recipes and tips for using Quixote.
Line 12: Line 10:
=== 小节标题1 ===
{{{
#!python
Python code
}}}
= General web interactions =
Line 18: Line 12:
==== 次节标题1 ====
xxx
 * SettingCookies -- Set cookies
 * ReadingCookies -- Read cookies
 * DeletingCookies -- Delete cookies
 * BrowserRedirection -- Redirecting the client to different URLs
 * ReadingEnvVars -- Reading environment variables
 * ReadingFormVars -- Reading form variables
 * ReadingConfigVars -- Reading configuration variables
 * XmlRpcInterface -- Providing an XML-RPC interface
 * SoapInterface -- Providing a SOAP interface
 * BrowserDetection -- Examining the characteristics of the HTTP client
 * StreamingOutput -- Sending large amounts of output to the browser
 * CompressingOutput -- Saving bandwidth by providing compressed HTTP output
 * CheckingForCookieSupport -- Verifying that the client supports cookies
 * Profiling HTTP requests
 * IllegalPythonNames -- Getting around the Python-URI legal names mismatch
 * XmlHttpUsingJsolait -- A demo of an Ajax (XMLHttp) based interface
Line 21: Line 29:
== 章标题2 == = Sessions =
Line 23: Line 31:
=== 小节标题2 ===
{{{
其它
代码引用
}}}
 * UsingSessions -- Setting a unique ID for users
 * StoringSessionsInDatabase -- Using a database to store sessions
 * Creating session-specific URLs
Line 29: Line 35:
==== 次节标题2 ====
yyy
= Authentication =

 * HttpBasicAuthentication - Using HTTP basic authentication


= Templating =

 * PTL
   * ["PTL/EscapingText"] -- escaping special characters in text
   * making links
   * ["UsingPTLForTemplating"] -- PTL without Quixote.
 * TemplatingWithZpt -- using Zope Page Templates under Quixote
 * TemplatingWithCheetah
 * ["QuixoteAndSimpleTal"] -- helper code for using TAL templates.
 * Nevow

= Error handling =

 * ExceptionEmail -- Having errors sent to you
 * HidingExceptions -- Providing an error page for the user
 * Logging debugging output

= Forms =

 * Validating user input
 * Multiple options
 * Indicating errors
 * CustomFormRendering -- Customizing the appearance of a form
 * Recording hidden fields
 * Multi-page forms
 * Varying forms with OptionSelect
 * UploadingFiles -- Processing uploaded files

= Form2 Framework =

 * Form2 GettingStarted -- a simple example

= Design Patterns =

 * UrlAsInterface -- Design your application's URLs carefully.
 * SeparateDomainObjectsAndInterface -- Don't mix domain logic with HTML rendering and other webbish details.
 * LongRunningProcesses -- Starting lengthy tasks from a Quixote handler

= Graphics =

 * StaticDirectory, StaticFile: Returning files (images, PDF, CSS) from the filesystem
 * Creating images with PIL
 * Creating PDF with ReportLab
 * Creating graphs with Chaco

= Internationalization =

 * Listing available locales
 * Choosing a locale
 * Localizing messages
 * Localizing dates/times
 * Localizing currency

= Server-related tasks =

 * RejectUnwantedRequests -- How to ignore unwanted/illegal requests when running as a Medusa server.
 * Tips for running QuixoteAndMedusaAsWin32Service. (Needs the service info added. I'm not familiar with that part.)
 * GettingFastCgiToWork : Specifically with the demo.
 * ScgiConfiguration : Common pitfalls with SCGI (especially mod_scgi on Apache)

= Unclassified =

 * StandaloneApp -- Writing a standalone application
 * Sending an e-mail message
 * Sending MIME e-mail
 * ReusingConnections -- Reusing database connections, proxies, and other resources.
 * DulcineaCookbook -- tips for using site management tools and ready-made classes in Dulcinea

----
CategoryCookbook

含有章节索引的中文 文章模板

::-- ZoomQuiet [DateTime(2005-06-11T10:38:17Z)] TableOfContents The Quixote Cookbook provides a set of small recipes and tips for using Quixote.

General web interactions

Sessions

Authentication

Templating

Error handling

Forms

  • Validating user input
  • Multiple options
  • Indicating errors
  • CustomFormRendering -- Customizing the appearance of a form

  • Recording hidden fields
  • Multi-page forms
  • Varying forms with OptionSelect

  • UploadingFiles -- Processing uploaded files

Form2 Framework

Design Patterns

Graphics

Internationalization

  • Listing available locales
  • Choosing a locale
  • Localizing messages
  • Localizing dates/times
  • Localizing currency

Server-related tasks

Unclassified

  • StandaloneApp -- Writing a standalone application

  • Sending an e-mail message
  • Sending MIME e-mail
  • ReusingConnections -- Reusing database connections, proxies, and other resources.

  • DulcineaCookbook -- tips for using site management tools and ready-made classes in Dulcinea


CategoryCookbook

QuixoteCookbook (last edited 2009-12-25 07:10:32 by localhost)