I think it is a very impressive first attempt.

There's a lot of _javascript_, which appears to be complex. Many users turn _javascript_ off, but if this is an internal application and you can force users to turn it on, then I suppose you can use it. I generally like to keep things clean and simple and use HTML and CSS only.

I didn't like the way a separate full screen window opened when I selected "donor menu - donor inquiry" and I didn't like the removal of browser controls.  The full screen window obscured the desktop, which I find very disturbing and uncomfortable.

After doing a search, I  would prefer that the search criteria be retained, which would allow users to easily fine tune their searches without a lot of redundant selecting/keying.

There are several ways to set the library list. Please search the Easy400Group for them. They include using the DoCmd subprocedure to run the CHGLIBL or ADDLIBLE command, setting the library list in the HTTP server's job description, etc.  The most recent versions of RPG IV allow files to be opened by their qualified names (EXTFILE and EXTMBR file description keywords) without using the library list. This removes most of the need for manipulating the library list.

You shouldn't even think about ending the HTTP server job when the browser session closes.  Ending and starting jobs is a big performance hit. So is ending and starting activation groups.

If you want really good performance, create your CGI programs with named activation groups. There have been many EASY400Group discussions about this too.

Once your CGI programs are fully tested and debugged, you can use subprocedure setNoDebug(*on) to speed up performance even more.

Mel Rothman
Mel Rothman, Inc.



[EMAIL PROTECTED] wrote:

This is my first attempt to write a CGI program.
It took me a while to figure out that I can not have 2 HTML files displayed (separately) by the same program (or maybe is possible, but I don't know how) so I had to write 2 RPG programs.
I've spent 2 weeks to write the 1st program (evenings, after hours) and 2 days for the 2nd one. It was well worth the effort – CGIDEV2 IS GREAT, best think since white bread!!!!.
In my opinion, IBM is making a HUGE mistake NOT promoting it!

Anyhow, I have about 15.000.000 questions to ask, I just don't know what to begin with (maybe what will be a good way to set up the library list and how to end the QHTTPSVR job when the browser session is closed)

Here's the link, (test mode, the programs are not 100% done), any suggestions, dos and don'ts, will be highly appreciated!
(choose "donor menu – donor inquiry" , user name and password is CGITEST)
http://209.10.99.252:8019


SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to