Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create a section with your name and write your suggestions on the Table of Contents (TOC). Let's wiki this! (smile)

Doc Team Suggestions

Documentation Style

Click here to see my suggestion on styles for the doc pagessuggestions on documentation style.

Documentation:

One-paragraph description of what is WebWork. And then, an explanation of how the documentation is divided:

...

(details on each of the above follows)

Overview

  1. What is WebWork
  2. Comparison to Struts (Tapestry, JSF, etc.?) – current material and links to existing articles
  3. Articles and press about WebWork
  4. Projects using WebWork / Testimonials

Project Information

  1. License
  2. Deployment notes
  3. WebWork versions
    • Current release
    • Previous releases
    • Migrating from WebWork 1.x;
  4. Dependencies
  5. WebWork Team
  6. WebWork community
    • Mailing lists / Forum
    • Bug tracker
    • Wiki
    • How to contribute?

FAQ

  1. Category 1
  2. Category 2
  3. Etc.

The questions included in the FAQ should be extracted from the User Forum/Mailing List. Someone could review recent messages and find out which questions are asked the most. After that, separate the questions into categories to form the subsections.

Tutorial

  1. Downloading and installing WebWork
  2. Setting up the test environment (to test tutorial source code)
  3. Basic configuration and your first action (Hello WebWorld)
  4. Understanding actions (includes note on displaying data using Scriptlets)
  5. Understanding results
  6. Meet WebWork tag library (would also explain a little bit of OGNL)
  7. Evaluating other view options: Velocity
  8. Evaluating other view options: FreeMarker
  9. Understanding interceptors
  10. Performing validation
  11. Performing dependency injection (IoC) through components
  12. Going i18n (internationalization)

This should be in conformance to Patrick's example app. Vitor will talk to Patrick to get his opinions on the sequence of lessons suggested above and how to make the tutorial conformant to the example app.

Cookbook

  • Tips and tricks on Application Servers (this was in "Overview")
  • Accessing application, session and request objects;
  • How to format dates and numbers;
  • Other stuff Stuff from the revised current Cookbook...

All the tips in the Cookbook should be revised. Some of them could belong to the tutorial instead (basic stuff). 3rd party integration tips could be separated from the rest. Also, it would be good if all of them also followed the same structure, kind of like a tutorial lesson, but on advanced topics. The differences between the Tutorial and the Cookbook would be:

 

Tutorial

Cookbook

User level required:

Begginner

Intermediate

Availability of Source code:

In the documentation and in the src folder of the distribution (ready for deploy and test).

Only in the documentation, and may not be complete.

Should be read in sequence?

Yes.

No.

Reference

I like Jay Bose's reference TOC (below). On top of it, I'd suggest:

(minus) Remove "What is WebWork" and "Getting Started/Deployment Notes";

(plus) Replace them with "Introduction", in which there would be instructions to read the Overview first and proceed to the tutorial if the reader wants to get started;

(plus) Append "/ Dependency Injection" to "IoC", because some people may know it only by the name "Dependency Injection";

(lightbulb) Group "JSP & Velocity Tags" with "WebWork Freemarker Support" to create a single section that contains everything related to user interface (in subsections);

(minus) "JSP Expression Language Comparison with WebWork 1.x" should be in "Migrating from WebWork 1.x", in the "Project Information" section;

(plus) Add to that same UI topic: JavaScript validation and DWR support (is this in 2.2?);

(minus) WebFlow would be in "Related Projects";

(lightbulb) Have "3rd Party Integration" be links to Cookbook pages that explain how to integrate with SiteMesh, Spring, Pico, Hibernate, JUnit, Quartz, etc.

Related Projects

  1. WebFlow (graphical chart tool)
  2. EclipseWork (Eclipse Plugin)
  3. IDEA Plugin
  4. WebWork Optional
  5. Etc. ?

After today's (07/04/2005) conversation, here are some aciton items:

Overview - What is WW2? Comparison to Struts and others, articles and testimonials.

Project Information - License, Deployment notes, Versions, Dependencies, WebWork Team, Mailing Lists, Forum

FAQ - Tackle later.

Tutorial - Patrick needs to chime in here.

Cookbook - look at Vitor's section above.

Reference -

A question that arised in the TOC discussion was: what's the difference between the Cookbook and the FAQ? Well, some of the items in the Cookbook are also FAQs (people ask about them a lot), so they would also be included in the FAQ, with links to the Cookbook.

Reference

  1. Introduction – Introduction - This will have parts of Overview in it, rather than forwarding them to Overview altogether.
  2. Architecture
  3. Configuration
  4. Interceptors
  5. Action Chaining
  6. IOC / Dependency Injection
  7. UI Components - JSP, Velocity, Freemarker, JavaScript validation and DWR support
  8. Result Types
  9. Type Conversion
  10. Validation
  11. OGNL / Object Graph Navigation Language
  12. Internationalization
  13. 3rd Party Integration - Sitemesh, Spring, Pico, Hibernate, JUnit, Quartz, etc.

...

An important thing about the reference is that it should be written in book-style (or hibernate-reference-style) so a PDF version would be generated and people could print it, pass it around the office or read it while working out or relaxing in bed. (smile) Therefore, Confluence's PDF features play a big part in this. Some questions that came up during the discussions:

  • The reference could link to other pages in some situations. Links in confluence do not reference URLs, but the page's names. Does Confluence convert them to the URL before writing the PDF? If not, should the Reference not link to any pages outside it?
  • Can we select which pages are converted into PDF? If we want to convert only the Reference to PDF, can we do that? How does that work?

Related Projects

  1. WebFlow (graphical chart tool)
  2. EclipseWork (Eclipse Plugin)
  3. IDEA Plugin
  4. WebWork Optional
  5. Etc. ?