× 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.



Not a code generator. A compiler...something that takes PHP script and compiles it into an ILE module that runs (as an ILE module) on the IBM i. It would be no different than writing a bit of COBOL or RPG code and then compiling it into an ILE module.

You would always be the one writing the code.

Kelly Cookson
Senior Programmer/Analyst
Dot Foods, Inc.
217-773-4486 x12676
www.dotfoods.com


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of James Perkins
Sent: Tuesday, April 20, 2010 4:10 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Why use PHP? What are the disadvantages?

That (PHP-to-ILE compiler) I would not like to see. I personally can't
stand generated code. It's usually pretty messy. The generated code in
a SQLRPGLE program even drives me crazy.

Also, have you used Facebook :-) It's constantly has issues and I'm
pretty sure it's the code that's the problem and not the server load.

--
James R. Perkins



On Tue, Apr 20, 2010 at 13:43, Kelly Cookson <KCookson@xxxxxxxxxxxx> wrote:

A nice feature of running PHP as an interpreted language is the flexibility in variable typing. Variable type in PHP depends on context. You don't get that when you compile a program. Compiled programs require that you define variable types in advance and they can't change.

I would _love_ to see a PHP-to-ILE compiler on the IBM i. That way, we could use PHP as a scripting language for web apps and as a compiled language for batch apps. We could also mix PHP with RPG, COBOL, C, and CL as ILE modules. We could do something like Facebook is doing with PHP and C++ (except we'd be doing it with PHP and ILE).

Kelly Cookson
Senior Programmer/Analyst
Dot Foods, Inc.
217-773-4486 x12676
www.dotfoods.com

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.