Forum OpenACS Q&A: Composing a 'Getting started with your OACS installation example guide'.

The current OACS 4.5 documentation guided me wonderful through the installation process.
Having finished that I was left with a working OACS site without a single functionality yet.
I found it pretty easy to get a working news page (with the News package), a gallery (photo album package) and a discussion forum (bboard package).
I also did a minor overhaul on the startpage index.adp.

However I didn't manage to create a more advance startpage that includes some of the applications I installed and mounted before (I didn't work my way through the kernel documentation yet).
I want a jumpstart so I looked for a document that will guide my through the process off creating a customised startpage with some advance functionality. Well, I couldn't find such a document.

I am planning to write one myself now that will build on the existing installation guide. As you will understand I need some help of you experts out there.

Here's the scenario. All I want is startpage on which:
- a user can login,
- the latest news is shown
- a user can add comment to the latest news
- a user can click through to the main news page
You can see a hard coded example of that page over here.

Creating the page can be divided in at least [4] steps.
1. Install and mount the News Package.
2. Install and mount the General Comments Package.
3. Modify the index page (startpage). As I understand the startpage is generated through the index.adp en index.tcl files, both residing in the /web/birdnotes/www directory of your system.
3a. Some html for representation.
3b. Adding OACS procedure calls to news en general comment.
4. Probably some scripting is also necessary to be able to show the latest two news items and crop them up as shown on the demo page.

Who wants to join in?
We will be creating a document that aims to give new OACS users a quick introduction to the functions and processes of OACS.
The document should be a "illustrated example", "this is what we want to make, here's how we do it".

I will describe the first to steps in detail.
Starting point will be here. That means right after here "Congratulations, OpenACS 4.5 is now up and running! " (in Using the OpenACS Installer, Chapter 2. Installing on Unix/Linux on https://openacs.org/doc/openacs-4/).
I suggest that we will use this thread as the working space for composing the document.

Greetings.

Jeroen,

The OpenACS 4 documentation needs an overhaul, and so any documentation is tremendously useful to the community, so such initiatives should be incouraged..

Let me suggest another approach to the problem, though. Let's have:

  1. An installation guide. As you pointed out yourself, this part of the documentation seems useful at large already - easy to read and apply.
  2. An OpenACS Getting Started Guide. Take a look at the old one for OpenACS 3. We need this same guide developed for OpenACS 4, only a more examplified version.
  3. A developer's guide for beginners. Basically a guide to the person who wants to to extend OpenACS and build on top of the code that's already there. Whereas the Getting Started Guide focused on giving a more general picture of OpenACS (giving guidance on high level subjects such as web services, OpenACS basic principles and ideas, the look and feel, the structure and other general tips on how to keep your installation running smoothly), the Developer Guide introduces the developer to the system on a more specific level showing everything from how to construct basic SQL queries using the db API to making use of the template system. This documentation should be filled with examples (as opposed to the current documentation), simplistic, yet thorough, teaching the developer what she needs to know to succesfully start developing a website using OpenACS. Such matters as the underlying functioning of the kernel should not be touched upon yet, though (see 5).
  4. An advanced developer guide teaching the developer, who knows how to develop a website using the OpenACS, more thoroughly. The points made in the Beginner Developer Guide are developed further here and topics such as package development, and engineering standards (PL/SQL or PL/pgSQL standards, naming schemes, version numbering etc.), minor subjects such as making european characters work etc.
  5. Kernel Documentation.
  6. Documentation packaged with the individual packages including installation notes (should the package installation process differ from that of the standard one), getting started guide (for an example of this see the docs for the lars-blogger package).
A developer in your situation, wanting for example to customize the front page so it shows the latest news, would first have to read the OpenACS Getting Started Guide for a basic understanding and then read the getting started part of the news package (and if the issue is not addressed, write the queries himself).

Bottomline is that there already is a relatively large quantity of documentation available, only either seems to be poorly structured, not linked from anywhere obvious (i.e. aD docs located on arsdigita.com), outdated, not ported, too simplistic or lacking examples. Writing the example guide you propose would be very useful, but I'd rather see that a more unified attempt towards useful, easy-to-read and updated documentation was made and perhaps your example guide could be incorporated into this as a chapter or part of a chapter.

Both of you - consider your initiative officially encouraged :)  Write, write, write!
Jeroen, Simon-

I am also interested in such things, particularly an idiot proof install guide and a good, very simple getting started guide. My first (incomplete) cut at the install guide is here (MS Word Document ~90k).

I've been trying to stay away from hardware and code lately (not my favorite things) so I'd love to help with editing text, putting in pretty screenshots, that type of thing.
Another little project I am working on is to consoidate documents into one place. I've been extending Musea's documentation pages on the new OACS site at openacs.museatech.net.

I would be interested in hearing what people think is missing from those pages (a lot!).

PS: Even if museatech site does not go live, at least we will have put stuff together for whichever site the community ends up with.