r7 - 28 Feb 2008 - 20:58:12 - DovKatzYou are here: TWiki >  AjaxCookbook Web > WebHome

Welcome to the AJAX Cookbook!

Submit recipes for any library you want!

Search the Cookbook

Feel free to browse using the links or use the search box to try and find a more specific example

  - advanced search

Recently Updated Recipes

Contribute a recipe!Contribute a recipe!

Create a new Cookbook Recipe

(please see the below guidelines on contributing)
  • Recipe Title:   e.g. How do I create an XML file?
  • WikiName for recipe:   e.g. HowToCreateXMLFile

Contributing

Cookbook entries should be named in the format [ShortDescription]. Try to keep description to 3-5 words max.

Please follow similar style to that used in other entries (including note boxes, code boxes etc).

Tagging a Recipe

I have tried to make this as painless as possible so that people start tagging recipes more. When you create your recipe there should be a form at the bottom which allows you tag a recipe based on keywords relevant to it. Please make good use of these to enable people to find recipes more easily. To add additional tags click on the links for the tag list on the left of the table and edit that page.

Writing a Recipe

  • Give a few sentences explaining the use-case and outline the problem
  • Try to provide sufficient context in code/config snippets
    • Don't just give the 1-line xml config, show how it fits into the bigger picture
  • However, keep snippets concise and relevant
    • Avoid excessive //comments
    • Don't need imports
    • Don't need class/method context if just showing API call
  • Try to show before/after output of the particular method
  • Link to relevant docs (i.e. more detail in user guides)
  • Use note boxes to hi-light any issues around the particular recipe
  • Add any suggestions to CookbookSuggestions

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r7 < r6 < r5 < r4 < r3 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback