× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Mon, 12 May 2003 14:00:05 -0400
 Hans Boldt <boldt@xxxxxxxxxx> wrote:

> Brad, there's a big difference between "it's possible"
> and "it's preferable". Clearly, it's *possible* to do web
> programming in RPG in the traditional CGI style, even
> though other tools provide concrete advantages.

There we go again.  "Concrete advantages".  Where are they?
 If they're concrete, why aren't they obvious or easy to
point out?

> OK Brad, I admit it's been a while since I studied
> CGI-RPG programming, so the situation must have improved
> since then. So now please please please tell me that the
> current version of CGIDEV2 contains procedures that the
> RPG programmer can use to avoid those particular bugs,
> and I'll be much happier about RPG programmers doing CGI
> applications. (In case you don't remember, the issues are
> the escaping of text included in an HTML document and the
> proper encoding of special characters in query strings.
> Certainly not rocket science, but can clearly cause
> problems if not done properly.)

Escaping/encoding.. The only "bug" (but listed as "bugs")
that you've brought up for the past 3 years.  :) 

You yourself say it's not rocket science.  It isn't.  So
why not "add that GPS" to our honda civic as a bif?  

Web servers handle a lot of this on their own (escaping qs
text).  As for encoding HTML, well, that I do in most
cases, and those that don't learn and apply it in about 5
seconds (ILE rules!).  Not that difficult and not worth all
the fuss and not proving any point.

I don't know if CGIDEV2 has been updated to include this.
 But updating CGIDEV2 to do this would take less than 10
minutes.  

Certainly you're not basing this one "bug" as to why RPG
shouldn't be used for the web.  It has nothing to do with
the capabilities of RPG itself.  Unless it is because of
the lack of support of this "easy" function not included in
the base RPG package.  As much as you mention this as the
your only real guff with RPG for the web, I would think you
would add a bif.  But then, what would you have to complain
about.  <smirk>

Brad

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.