PHP is much better suited to web programming IMO. As one starts using it you
can see all the different "BIFs" that are built right into the language.
RPG was not made for CGI development although it works quite well for it.

I agree that if you have _all_ of your business logic in RPG it is a hard
sell the move to PHP. Especially if you already have the knowledge on how to
code RPG CGI.

Frankly, I would move to Java before PHP and use the nice tools IBM provides
through WDSc (at no additional charge!!). And use Tomcat as your servlet
container to keep your apps running fast. 

The amount of time you spend learning PHP vs. Java will be different, yes,
because you don't have to use OOP in PHP vs. it being inherent in Java. Is
PHP easy to learn, you bet, but it is not enterprise ready if you ask me.
And you still have to do a lot of stuff by hand that should have tooling
around it.

With the advent of JSF I don't think I could ever go back to PHP.

Just my opinion <grin>
Aaron Bartell

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Jon Paris
Sent: Tuesday, May 10, 2005 12:24 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] RE: PHP Support Coming for iSeries!

 >> And using RPGIV as a CGI language? fergiddaboutit!

Don't misunderstand me here - I think the arrival of PHP is a good thing -
all those Net.Data users gotta have somewhere to go!

However - I don't understand this comment.  Having looked at smarty, I can't
see any significant differences between it and CGIDEV2 et al - which I would
call from RPG.  Any language can be used as a scripting language with
appropriate support and CGIDEV2, RPGsp, RSP, Cozzi's xTools, Brad's tools,
etc. etc. supply that.

Turn it around and I might ask, since my existing logic is in RPG why
_wouldn't_ I continue to use it?

Jon Paris
Partner400

www.Partner400.com
www.RPGWorld.com

-- 
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


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.