> From: Brad Stone
>
> I don't know who wrote the rule that having HTML in your RPG
> or any CGI is bad.  It's not.  It's simply an opinion that
> someone gave at one time.  Most likely to sell a product or
> service.

Well, I never said "HTML in RPG is bad", but I did say that mixing
application logic with HTML formatting is architecturally unsound, for any
number of reasons.  But I always say things like that.  Silly me, always
wanting things maintainable and extendable.

Like, for instance, I say that SQL code in your client is architecturally
unsound.  People take this to mean that I say SQL is bad.  It's not.  But
putting direct references to table and column names in a client program is a
bad idea.  Wrappering those references inside an object takes away some of
that problem, using a message-based server eliminates it.

In the HTML case, if your HTML is properly contained in factory objects,
it's not such a bad thing.  Carrying that idea further, if it's completely
abstracted out to a JSP, it's even better.

But hey, that's me and that's my idea.  And since my product is JSP based,
you can add whatever size grain of salt you feel appropriate.

Joe



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.