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



Joe,
I appreciate your work and analysis of Java vs. PHP. And I agree, that
they both have their caveates but are largly equal to each other,
syntatically. But you can say that about any C based language.

The use of Java and PHP boils down to far more than syntax. PHP is a
scripting language where as Java is a compiled language that has to be run
in a virtual machine. This make Java (at least in my opinion) slightly
more complicated to maintain and deploy. If I want to deploy a change for
PHP I just have to plop the new script in place, but if I want to deploy
new Java code I have to restart the web server (at least in the case of
WAS and JSP's... I'm guessing this holds true with other app servers as
well for Java).
Also, I know that Java has made great strides in recent years when it
comes to execution speed. But that hasn't always been the case. PHP was
strictly built for the web. Java is adapted for the web. Both are valid
options. But when it comes to code, there are far more PHP sites out
there than Java.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
02/04/2011 09:29 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: Separate buisness and display logic question






Don't give up, Albert.

Despite the pundits on this thread, the LDA is just as valid as any
other tool. These days it has very limited use but that makes it no
less valid, especially as a band-aid while designing a more complete
solution. The problem with band-aids is that they sometimes tend to
stay in place a lot longer than intended, but that's the nature of the
beast.

But don't get disheartened because some folks here complain that it's
"outdated". Remember, some of these same folks advocate PHP as the
language of the future for the platform. I don't know if it's more
ironic that people push a language originally designed to help extend
Perl as "the future" or that they say to use it because Java is "too
hard". Take a look at my recent article on web languages:

http://www.mcpressonline.com/programming/web-languages/practical-web-how-hard-are-web-languages-anyway.html


You'll see that, done PROPERLY, PHP is syntactically nearly identical to
Java except with none of the productivity benefits of a strongly-typed
language. So take whatever you hear on the list with a grain of salt
and remember, properly implemented and DOCUMENTED, the right tool is the
one that best meets your business goals.

Joe

Okay, I give up.

In all honesty I don't use the LDA for new development either. It just
seemed that in the case presented it would be a reaonable choice since
the OP wanted access to data that was not being returned to his
program and seemed reluctant to change the parameters.

Albert



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.