Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2005-06-11 10:47:34
Size: 3629
Editor: ZoomQuiet
Comment:
Revision 6 as of 2009-12-25 07:10:32
Size: 3787
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
含有章节索引的中文 文章模板 Quixote 食谱!
Line 5: Line 5:

::-- ZoomQuiet [[[DateTime(2005-06-11T10:38:17Z)]]]
[[TableOfContents]]
<<TableOfContents>>
||[[self:QuixoteQuickIn|快速进入“堂吉诃德”]]||[[http://quixote.ca/qx/QuixoteCookbook|QuixoteCookbook(原文)]]||
Line 12: Line 11:
 * 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
 * /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
Line 26: Line 25:
 * IllegalPythonNames -- Getting around the Python-URI legal names mismatch
 * XmlHttpUsingJsolait -- A demo of an Ajax (XMLHttp) based interface
 * /IllegalPythonNames -- Getting around the Python-URI legal names mismatch
 * /XmlHttpUsingJsolait -- A demo of an Ajax (XMLHttp) based interface
Line 31: Line 30:
 * UsingSessions -- Setting a unique ID for users
 * StoringSessionsInDatabase -- Using a database to store sessions
 * /UsingSessions -- Setting a unique ID for users
 * /StoringSessionsInDatabase -- Using a database to store sessions
Line 37: Line 36:
 * HttpBasicAuthentication - Using HTTP basic authentication  * /HttpBasicAuthentication - Using HTTP basic authentication
Line 43: Line 42:
   * ["PTL/EscapingText"] -- escaping special characters in text    * [[PTL/EscapingText]] -- escaping special characters in text
Line 45: Line 44:
   * ["UsingPTLForTemplating"] -- PTL without Quixote.
 * TemplatingWithZpt -- using Zope Page Templates under Quixote
 * TemplatingWithCheetah
 * ["QuixoteAndSimpleTal"] -- helper code for using TAL templates.
 * Nevow
   * [[UsingPTLForTemplating]] -- PTL without Quixote.
 * /TemplatingWithZpt -- using Zope Page Templates under Quixote
 * /TemplatingWithCheetah
 * [[QuixoteAndSimpleTal]] -- helper code for using TAL templates.
 * /Nevow
Line 53: Line 52:
 * ExceptionEmail -- Having errors sent to you
 * HidingExceptions -- Providing an error page for the user
 * Logging debugging output
 * /ExceptionEmail -- Having errors sent to you
 * /HidingExceptions -- Providing an error page for the user
 * /Logging debugging output
Line 59: Line 58:
 * 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
 * /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
Line 74: Line 73:
 * 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
 * /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
Line 80: Line 79:
 * StaticDirectory, StaticFile: Returning files (images, PDF, CSS) from the filesystem
 * Creating images with PIL
 * Creating PDF with ReportLab
 * Creating graphs with Chaco
 * /StaticDirectory, StaticFile: Returning files (images, PDF, CSS) from the filesystem
 * /Creating images with PIL
 * /Creating PDF with ReportLab
 * /Creating graphs with Chaco
Line 87: Line 86:
 * Listing available locales
 * Choosing a locale
 * Localizing messages
 * Localizing dates/times
 * Localizing currency
 * /Listing available locales
 * /Choosing a locale
 * /Localizing messages
 * /Localizing dates/times
 * /Localizing currency
Line 95: Line 94:
 * 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)
 * /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)
Line 102: Line 101:
 * 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
 * /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
Line 110: Line 109:
::-- ZoomQuiet [<<DateTime(2005-06-11T10:38:17Z)>>]

Quixote 食谱!

快速进入“堂吉诃德”

QuixoteCookbook(原文)

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 ::-- ZoomQuiet [2005-06-11 10:38:17]

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