Difference between JavaScript and Perl

Difference between JavaScript and Perl

What is the difference between JavaScript and Perl?

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts including news, tips, and advice to help you do your job more efficiently and effectively. Stay informed on the hottest topics and biggest challenges faced by IT professionals working with iSeries products and services.

    By submitting your registration information to Search400.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of Search400.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Perl is a scripting language used primarily for CGI Web applications. Common in Unix and sometimes Windows -- rare on iSeries. It can be extended with libraries for the specific platform to allow reading database tables etc.

Javascript is a common scripting language for Web pages to add functionality, control data validations etc. dynamically.

The IBM BSF (Bean Scripting Framework) allows you to write server side Javascript that accesses Java beans.

In general this would be a "cleaner" way to develop server side access using the MVC (Model-View-Controller) concept with Java beans accessing server functions. Also for the iSeries, Java beans from IBM in the Java toolkit and WDSC offer a far richer set of options than Perl for integrating iSeries programs and data on the Web.

If you are using CGI and don't need extensive library support on the iSeries, PERL is an option for server side scripting of Web pages. Most of our customers use Javascript in combination with Java beans via servlets, JSPs.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Ask your Web development questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: tips, tutorials and more.

Check out this live Q&A with Dave Slater and Jim Mason, How to best get started with WebSphere Development Tools.


This was first published in October 2002