Aaron,

The main point Joe makes in his analysis is that "with CGI, the templates
have to be reinterpreted over and over again".  He is referring to a
technology like CGIDEV2, which searches replacement variables in templates
-- a major performance flaw.  So, CGI is not the cause of performance
issues, it's how CGIDEV2 implements CGI.  If someone wrote raw CGI, it
wouldn't have that problem.

I am used to working with CGI from RPGsp (www.RPGsp.com), which allows you
to embed RPG variables into HTML templates.  However, the templates are not
searched at runtime.  The pages are compiled in a similar way JSP's are
created, and that's why it's fast ... most likely faster than equivalent
JSP's.

In regards to separation of UI and business logic ... again, it all depends
on how implement it.  With RPG/CGI, you have the best of both worlds: You
can separate the UI if it makes sense to do so, or you can keep UI together
with the business logic.  It is just as easy to separate RPG UI from RPG
business logic as it is to separate Java UI from RPG business logic.

In the end, it all depends on your developers' skill sets.

Seth Newton
snewton@xxxxxxxxxxxxxxxxx
Profound Logic Software, Inc.
Toll-Free: (877) 224-7768 x115
Fax: (603) 849-7757

RPGsp - iSeries Web Development has never been this easy!
Watch video demos: http://www.profoundlogic.com/video_demos/



-----Original Message-----
date: Sat, 13 May 2006 16:46:31 -0500
from: "albartell" <albartell@xxxxxxxxx>
subject: Re: [WEB400] CGI vs JSP...

>CGI doesn't always scale well?  Under what conditions?
Joe Pluta did some due diligence on this topic if I am not mistaken.  The
results were published on a website he was hosting but I can't seem to find
the link to it.

Here is one thread you may want to check out:
http://archive.midrange.com/web400/200502/msg00003.html


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.