June 23, 2008

Scripting languages spark new programming era

Newfangled development platforms are dominating the Web. Take a tour of the options

The era of scripting languages is opening up programming to the masses and extending the Web as an application platform.

Even the traditional Java and Microsoft languages have had to make room for scripting languages, which offer developers a quick way to build Web applications and have gained multitudes of adherents. Indeed, programming technology powerhouses Microsoft and Sun both cite their own accommodations for these languages: Sun has opened up the Java Virtual Machine to support scripting languages, and Microsoft offers .Net-based versions of the Ruby and Python languages.

[ Read Paul Krill's Q&A with Mozilla's Brendan Eich on the new version of JavaScript, disputes with Microsoft, and the language's path to the present. ]

There are numerous scripting languages, also called dynamic languages because they are interpreted and compiled at runtime. But a handful of them come to mind as the most prominent: JavaScript, PHP, Perl, Python, and Ruby.

Developers overseeing these languages continue to map out improvements, and each cites benefits of their particular platform. Although all the scripting languages are similar, they do have differences in aesthetics and feel, says David Heinemeier Hansson, creator of the Ruby-based Ruby on Rails Web framework. "For certain people, Ruby is just what fits their brain and for other people, Python is just what fits their brain." But the underlying concepts and capabilities are essentially the same. "I think we're all generally in the same boat," he says.

Ease of use, flexibility are key drivers
The ease of use of scripting languages is a main attraction, says Michael Cote, an analyst at RedMonk. These languages also offer flexibility, he says. "Usually, with the dynamic language, you can change things a lot easier when it's running," Cote says.

Additionally, variables do not have to be defined ahead of time, says Andi Gutmans, co-CTO of Zend Technologies and a core developer of PHP. "You can easily concatenate strings with one another," and run an application without having to compile it, he says.

"The main difference compared to statically typed languages like C, C++, and Java is their dynamic nature, which is also one of the reasons why many people consider them to be more productive," Gutmans says.

Although scripting languages are hardly new, today's powerful computers make them viable platforms, says Joshua McAdams, a representative for the Perl Foundation. "The computers have grown to where they can handle the dynamic languages better," he says.

The flexibility of these languages also could be viewed as a strike against them, according to Cote. Scripting languages could be compared to a lawless society while Java would be authoritarian, he says. He also mentioned issues with maturity. "There's not necessarily the tools and practices," associated with the new languages, Cote says.

Close

On Twitter now

Application development

Powered by Twitter
additional resources
White Paper - How to Improve Delivery of Advanced Web Applications

White Paper

Virtual Workforce: The Key to Expanding The Business While Cutting Costs

Get the independent advice and expertise you need to support a virtual workforce.

Go inside:
The three-step approach to making a virtual workforce a reality.
The four flavors of client virtualization technologies.
The three key initiatives that solve IT challenges.
Download now »
White Paper: Successfully Secure Your Wireless LAN With Wi-Fi firewalls.

White Paper

Addressing Linux Threats Leveraging Fewer Resources

The increase in Linux popularity has increased the frequency and sophistication of malware attacks. Read this 2 page white paper now to learn how you can protect your Linux environment with real-time protection that is certified by all major Linux vendors.

Download now »
White Paper - The 2009 Handbook of Application Delivery

White Paper

The 2009 Handbook of Application Delivery

Ensuring acceptable application delivery will become even more difficult over the next few years. As a result, IT organizations need to ensure that the approach that they take to resolving the current application delivery challenges can scale to support the emerging challenges. This handbook elaborates on the key tasks associated with planning, optimization, management and control and provides decision criteria to help IT organizations choose appropriate solutions.

Download now »
White Paper - Is Your Backup System Outdated?

White Paper

Mid-range Storage Considerations

A common misconception is that mid-range storage requirements are dramatically different than that of a larger enterprise. Mid-range storage users may require less capacity, but they have similar functionality and management requirements. This ESG paper examines mid-range storage needs and reviews a new solution that adjusts size while retaining value, performance and functionality.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2010 Infoworld, Inc.